[Freeswitch-users] Connecting RTP between leg A and B directly
Víctor Vladimir Chávez Gallardo
vivlachaga at gmail.com
Wed Nov 7 22:25:20 MSK 2012
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?
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list