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
On Fri, Sep 12, 2008 at 3:52 PM, Pedro Gonçalves pedro.pandre@gmail.comwrote:
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?
If I recall correctly that's not suported.
-benny
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@gmail.comwrote:
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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org