How to answer with 100 Trying when receiving a reINVITE?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Pedro,

    You need hack pjsip source code to do this.
     I add a new callback function on_reinvite() for inv session.Inv session
will call this function if have, and don't call on_rx_offer() anymore.
     And then I handle the response myself.


regards,
Gang

On Fri, Sep 12, 2008 at 10:52 PM, Pedro Gon?alves <pedro.pandre at gmail.com>wrote:

> Hi!
>
> I would like to know how to answer a reINVITE (received in on_rx_offer
> callback, whose only parameters are pjsip_inv_session *inv and const
> pjmedia_sdp_session *offer).
> In the initial INVITE (received in on_rx_request), I can answer it using
> pjsip_endpt_respond_stateless(), since on_rx_request receives as
> parameter pjsip_rx_data.
> However, since I don't receive pjsip_rx_data in on_rx_offer callback,
> how can I answer with 100 TRYING?
>
> Best Regards
> Pedro Gon?alves
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080916/7fddab16/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux