Hi,<br><br>IMHO, variables are used only in bridge in dialplan.<br>When doing bridge manualy via JS, you must call api<b> uuid_media off &lt;uuid&gt; </b>after the bridge of the call, maybe with an execute_on_brigde variable.<br>
<br>Take care that your A and B legs can &quot;see&quot; each other without funky nat, uuid_media not renegociate RTP port.<br><br>Hope i&#39;m right and it helps you ;)<br><br>regards<br><br><br><br><div class="gmail_quote">
2012/11/7 Víctor Vladimir Chávez Gallardo <span dir="ltr">&lt;<a href="mailto:vivlachaga@gmail.com" target="_blank">vivlachaga@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, i have an spidermonkey script, the script place two outbound calls, but i need to set the RTP directly between the legs (a-b) but i dont know hoy to set the parameter bypass_media<br>
<br>
i tried:<br>
lega_session.setVariable(&#39;bypass_media&#39;, &#39;true&#39;);<br>
bridge(lega_session,legb_session);<br>
<br>
also<br>
<br>
lega_session.setVariable(&#39;bypass_media&#39;, &#39;true&#39;);<br>
legb_session.setVariable(&#39;bypass_media&#39;, &#39;true&#39;);<br>
bridge(lega_session,legb_session);<br>
<br>
and also setting another variable bypass_media_after_bridge<br>
<br>
lega_session.setVariable(&#39;bypass_media_after_bridge&#39;, &#39;true&#39;);<br>
legb_session.setVariable(&#39;bypass_media_after_bridge&#39;, &#39;true&#39;);<br>
lega_session.setVariable(&#39;bypass_media&#39;, &#39;true&#39;);<br>
legb_session.setVariable(&#39;bypass_media&#39;, &#39;true&#39;);<br>
bridge(lega_session,legb_session);<br>
<br>
<br>
but i dont have the RTP in the correct way, instead my freeswitch it&#39;s behind, the rtp flow:  LEG-A -----&gt; FREESWITCH -------&gt; LEG-B<br>
<br>
any idea?<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>