<div dir="ltr"><div><div><div><div><div><div><div><div>Hi,<br><br></div>I need to implement this scenario: <br>inbound SIP call A is waiting indefinitely for inbound call B and then they are bridged together. RTP media should flow directly from A to B and vice versa while FreeSwitch should control SIP signaling.<br></div></div></div><br></div>I made some progress but I could not make media bypass mode to work.<br></div><div><br><div>My SIP profile settings:<br> <param name="inbound-late-negotiation" value="true" /><br> <param name="inbound-bypass-media" value="true" /><br><br></div>Dialplan for leg A:<br></div><div> <!-- Somehow save leg A UUID.--><br></div><div> <action application="park" /><br><br></div>LUA script for leg B:<br> leg_a_uuid = ...<br> session:execute("intercept", leg_a_uuid)<br><br></div>This works but FreeSwitch is still in RTP media path with following error in the log:<br>[ERR] switch_ivr.c:1718 Can't re-establsh media on sofia/myprofile/xyz<br></div>It worth mentioning that I do not answer or send early media before executing intercept command so there is no prior media on both channel A and B.<br><div><br><div></div><div>Any ideas what needs to be done to make this scenario work without RTP proxying?<br></div><div><br clear="all"><div><div><div><div><div><div><div><div><div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><font color="#888888"><div data-smartmail="gmail_signature">Best regards,<br></div><div data-smartmail="gmail_signature">I. Sokolov</div></font><br><br></div>
</div></div></div></div></div></div></div></div></div></div></div></div>