<div dir="ltr"><div>Happy festive season.<br><br>Would you please guide me with usage of 'bypass_media_after_bridge' feature?</div><div><br>Call flow is as following (running in lua script):<br>1. freeswitch preanswer call from UAC, then play some prompts</div><div><div>2, create second_session<br>3. when second session is ready - assign bypass_media_after_bridge=true and, see var is assigned.<br></div><div>EXECUTE [depth=0] sofia/external/XXXXXXXXXX
set(bypass_media_after_bridge=true)<br>2019-12-31 14:21:19.253279 [DEBUG] mod_dptools.c:1672 SET sofia/external/XXXXXXXXXX [bypass_media_after_bridge]=[true]<br>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></div><div><br></div>extract from script:</div><div>----<br><pre style="color:rgb(0,0,0);font-family:Consolas">ConnectStr <span style="color:rgb(0,0,128);font-weight:bold">=</span> <span style="color:rgb(101,138,186);font-weight:bold">"sofia/gateway/aed8dd2f-202f-4093-9851-436e21bafcf4/"</span><span style="color:rgb(0,0,128);font-weight:bold">..</span>DN<br>second_session <span style="color:rgb(0,0,128);font-weight:bold">=</span> freeswitch.Session(ConnectStr)<br><br><span style="color:rgb(0,0,128);font-weight:bold">if</span> (second_session:ready()) <span style="color:rgb(0,0,128);font-weight:bold">then<br></span> second_session:execute(<span style="color:rgb(101,138,186);font-weight:bold">"set"</span>,<span style="color:rgb(101,138,186);font-weight:bold">"bypass_media_after_bridge=true"</span>)<br> freeswitch.bridge(session, second_session)</pre></div><div>---</div><div><br></div><div>What could be wrong in my script?<br>version: FreeSWITCH Version 1.10.1-release-12<br><div><div class="gmail_signature" data-smartmail="gmail_signature">--<br>Regards,</div></div></div><div class="gmail_signature" data-smartmail="gmail_signature">Oleg</div></div>