<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">May not work with freeswitch.bridge. try doing a uuid_bridge and see if it makes any difference. <br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 31, 2019, at 7:40 AM, Oleg Belousov <<a href="mailto:obelousov@gmail.com" class="">obelousov@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Happy festive season.<br class=""><br class="">Would you please guide me with usage of 'bypass_media_after_bridge' feature?</div><div class=""><br class="">Call flow is as following (running in lua script):<br class="">1. freeswitch preanswer call from UAC, then play some prompts</div><div class=""><div class="">2, create second_session<br class="">3. when second session is ready - assign bypass_media_after_bridge=true and, see var is assigned.<br class=""></div><div class="">EXECUTE [depth=0] sofia/external/XXXXXXXXXX
set(bypass_media_after_bridge=true)<br class="">2019-12-31 14:21:19.253279 [DEBUG] mod_dptools.c:1672 SET sofia/external/XXXXXXXXXX [bypass_media_after_bridge]=[true]<br class="">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.<br class=""></div><div class=""><br class=""></div>extract from script:</div><div class="">----<br class=""><pre style="font-family: Consolas;" class="">ConnectStr <span style="color:rgb(0,0,128);font-weight:bold" class="">=</span> <span style="color:rgb(101,138,186);font-weight:bold" class="">"sofia/gateway/aed8dd2f-202f-4093-9851-436e21bafcf4/"</span><span style="color:rgb(0,0,128);font-weight:bold" class="">..</span>DN<br class="">second_session <span style="color:rgb(0,0,128);font-weight:bold" class="">=</span> freeswitch.Session(ConnectStr)<br class=""><br class=""><span style="color:rgb(0,0,128);font-weight:bold" class="">if</span> (second_session:ready()) <span style="color:rgb(0,0,128);font-weight:bold" class="">then<br class=""></span> second_session:execute(<span style="color:rgb(101,138,186);font-weight:bold" class="">"set"</span>,<span style="color:rgb(101,138,186);font-weight:bold" class="">"bypass_media_after_bridge=true"</span>)<br class=""> freeswitch.bridge(session, second_session)</pre></div><div class="">---</div><div class=""><br class=""></div><div class="">What could be wrong in my script?<br class="">version: FreeSWITCH Version 1.10.1-release-12<br class=""></div></div></div></blockquote></div><br class=""></body></html>