[Freeswitch-users] bypass_media_after_bridge
Oleg Belousov
obelousov at gmail.com
Tue Dec 31 14:40:03 UTC 2019
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
--
Regards,
Oleg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191231/6d42565d/attachment.html>
More information about the FreeSWITCH-users
mailing list