<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><br><div>See uuid_bridge note most of the time you shouldnt be doing things like this in scripts as it leaves an interpreter running per call</div><div><br></div><div>Proxy mode is not really worth it.. If you are just avoiding trancoding normal mode is just as efficient</div><div><br><div>Sent from my iPhone</div></div><div><br>On Jun 26, 2016, at 10:32 PM, happy.neko &lt;<a href="mailto:happy.neko@gmail.com">happy.neko@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-06-27 4:13 GMT+03:00 Ken Rice <span dir="ltr">&lt;<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Bypass media is a special mode, not all commands work with it. Pretty much any command that works with media does not work with it. </div></div></blockquote><div><br>Does the same stands for Proxy Media mode ("inbound-proxy-media=true")?<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>You need to bring the media back to fs first<br></div></div></blockquote><div><br></div><div>Please correct me if I am wrong: I should answer both legs first, than bridge them with "intercept" command and move FreeSwitch out of the media path with "uuid_media off uuid"?<br>However I thinks intercept is blocking command, how can I queue "uuid_media of" from LUA script to be executed right after the call is intercepted?<br></div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="h5"><div>On Jun 26, 2016, at 7:46 PM, happy.neko &lt;<a href="mailto:happy.neko@gmail.com" target="_blank">happy.neko@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><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>&nbsp;&nbsp;&nbsp; &lt;param name="inbound-late-negotiation" value="true" /&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param name="inbound-bypass-media" value="true" /&gt;<br><br></div>Dialplan for leg A:<br></div><div>&nbsp;&nbsp;&nbsp; &lt;!-- Somehow save leg A UUID.--&gt;<br></div><div>&nbsp;&nbsp;&nbsp; &lt;action application="park" /&gt;<br><br></div>LUA script for leg B:<br>&nbsp;&nbsp;&nbsp; leg_a_uuid = ...<br>&nbsp;&nbsp;&nbsp; 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 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>
</div></blockquote></div></div><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services: </span><br><span><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span></div></blockquote></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services: </span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></body></html>