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 <uuid> </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 "see" each other without funky nat, uuid_media not renegociate RTP port.<br><br>Hope i'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"><<a href="mailto:vivlachaga@gmail.com" target="_blank">vivlachaga@gmail.com</a>></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('bypass_media', 'true');<br>
bridge(lega_session,legb_session);<br>
<br>
also<br>
<br>
lega_session.setVariable('bypass_media', 'true');<br>
legb_session.setVariable('bypass_media', 'true');<br>
bridge(lega_session,legb_session);<br>
<br>
and also setting another variable bypass_media_after_bridge<br>
<br>
lega_session.setVariable('bypass_media_after_bridge', 'true');<br>
legb_session.setVariable('bypass_media_after_bridge', 'true');<br>
lega_session.setVariable('bypass_media', 'true');<br>
legb_session.setVariable('bypass_media', 'true');<br>
bridge(lega_session,legb_session);<br>
<br>
<br>
but i dont have the RTP in the correct way, instead my freeswitch it's behind, the rtp flow: LEG-A -----> FREESWITCH -------> 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>