[Freeswitch-users] bypass_media_after_bridge

Mike Jerris mike at freeswitch.org
Tue Dec 31 17:54:46 UTC 2019


May not work with freeswitch.bridge.  try doing a uuid_bridge and see if it makes any difference.  

> On Dec 31, 2019, at 7:40 AM, Oleg Belousov <obelousov at gmail.com> wrote:
> 
> Happy festive season.
> 
> Would you please guide me with usage of 'bypass_media_after_bridge' feature?
> 
> Call flow is as following (running in lua script):
> 1. freeswitch preanswer call from UAC, then play some prompts
> 2, create second_session
> 3. when second session is ready - assign bypass_media_after_bridge=true and, see var is assigned.
> EXECUTE [depth=0] sofia/external/XXXXXXXXXX set(bypass_media_after_bridge=true)
> 2019-12-31 14:21:19.253279 [DEBUG] mod_dptools.c:1672 SET sofia/external/XXXXXXXXXX [bypass_media_after_bridge]=[true]
> 4. bridge both calls. At that time expect freeswtch fire re-invite to get out of rtp path, however do not see any re-invites.
> 
> extract from script:
> ----
> ConnectStr = "sofia/gateway/aed8dd2f-202f-4093-9851-436e21bafcf4/"..DN
> second_session = freeswitch.Session(ConnectStr)
> 
> if (second_session:ready()) then
>     second_session:execute("set","bypass_media_after_bridge=true")
>     freeswitch.bridge(session, second_session)
> ---
> 
> What could be wrong in my script?
> version: FreeSWITCH Version 1.10.1-release-12

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191231/cd9495f9/attachment-0001.html>


More information about the FreeSWITCH-users mailing list