[Freeswitch-users] Connecting RTP between leg A and B directly
Regis M
regis.freeswitch.org at tornad.net
Thu Nov 8 10:53:39 MSK 2012
Hi,
IMHO, variables are used only in bridge in dialplan.
When doing bridge manualy via JS, you must call api* uuid_media off
<uuid> *after
the bridge of the call, maybe with an execute_on_brigde variable.
Take care that your A and B legs can "see" each other without funky nat,
uuid_media not renegociate RTP port.
Hope i'm right and it helps you ;)
regards
2012/11/7 Víctor Vladimir Chávez Gallardo <vivlachaga at gmail.com>
> 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
>
> i tried:
> lega_session.setVariable('bypass_media', 'true');
> bridge(lega_session,legb_session);
>
> also
>
> lega_session.setVariable('bypass_media', 'true');
> legb_session.setVariable('bypass_media', 'true');
> bridge(lega_session,legb_session);
>
> and also setting another variable bypass_media_after_bridge
>
> lega_session.setVariable('bypass_media_after_bridge', 'true');
> legb_session.setVariable('bypass_media_after_bridge', 'true');
> lega_session.setVariable('bypass_media', 'true');
> legb_session.setVariable('bypass_media', 'true');
> bridge(lega_session,legb_session);
>
>
> but i dont have the RTP in the correct way, instead my freeswitch it's
> behind, the rtp flow: LEG-A -----> FREESWITCH -------> LEG-B
>
> any idea?
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121108/62ed0129/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list