[SR-Users] rtpengine rewrite sdp for second time

2015-08-18 Thread Virmantas Variakojis
onreply_route (after I get for example SIP 500 message) it doesn't work and my SDP remains unchanged. Thanks! > > *From: *Carsten Bock > *Subject: **Re: [SR-Users] rtpengine rewrite sdp for second time* > *Date: *17 Aug 2015 09:49:12 EEST > *To: *"Kamailio (SER) - Users Mai

Re: [SR-Users] rtpengine rewrite sdp for second time

2015-08-16 Thread Carsten Bock
Hi Virmantas, you could try to one or a combination of the following: - explicitly delete the first session by calling rtpengine_manage() in the failure route - call msg_apply_changes() from Textops before calling rtpengine_manage() the second time (so the already made changes are applied and the

[SR-Users] rtpengine rewrite sdp for second time

2015-08-16 Thread Virmantas Variakojis
Hi, I have a situation like this: I have kamailio with 3 NIC's. I'm sending INVITE to first provider over NIC1. Before sending INVITE I use rtpengine_manage to rewrite sdp body with IP that is on NIC1: rtpengine_manage ("replace-origin replace-session-connection direction=intvlan direction=prov1 I