Hello,
How should reINVITEs be handled in the kamailio script and also in combination with rtpengine? I was reading the RR docs and loose_route function pretty much handles this if I'm correct. We're currently receiving reINVITEs for checking if a session is still active, not for session modifications like SDP changes.
Does kamailio handle reINVITEs correctly out of the box or should extra logic be implemented?
Also, what happens when rtpengine_manage is called for a reINVITE inside WITHNDLG or in onreply_route for 200 OK? Is the module smart enough to ignore port (de-)allocations when the SDP is still the same as the initial INVITE or 200 OK?
Regards,
Grant
You would be correct to assume that it's adequate to call rtpengine_manage() in the loose_route section for the offer, and in the corresponding onreply_route for the answer.
-- Alex
-- Principal, Evariste Systems LLC (www.evaristesys.com)
Sent from my Google Nexus.
Hi Alex,
Thank you!
One more question regarding 200 OK for a ReINVITE: is it possible to detect if a 200 OK is for a ReINVITE?
Regards,
Grant
-----Original Message----- From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Alex Balashov Sent: Wednesday, June 8, 2016 5:30 PM To: Kamailio (SER) - Users Mailing List sr-users@lists.sip-router.org Subject: Re: [SR-Users] Handling ReINVITEs
You would be correct to assume that it's adequate to call rtpengine_manage() in the loose_route section for the offer, and in the corresponding onreply_route for the answer.
-- Alex
-- Principal, Evariste Systems LLC (www.evaristesys.com)
Sent from my Google Nexus.
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users