Bypass media prevents bridge from blocking LUA script execution
10 Jul
2015
10 Jul
'15
9:18 a.m.
I use LUA script to bridge calls but now i have problem with bypass media. Let's say i have this LUA script: session:execute("set", "bypass_media=true"); session:execute("bridge", "sofia/external/123@192.168.0.100:5061"); freeswitch.consoleLog("info", "This is my message\n"); When bypass_media is enabled, log message "This is my message" appears once legB answers call. If bypass_media is disabled then log message appears when call ends. In other words bypass_media prevents "bridge" from blocking script execution. Is there a way to block script execution until call ends when bypass_media is enabled?
4135
Age (days ago)
4135
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ričardas Stoma