<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14pt"><div>Thanks for your input Brian. In issuing</div><div>api:executeString("sched_api +10 none uuid_media off "..aleg_uuid); I see Re-INVITES going out . However I was wondering why I cannot use "<span style="font-size: 14pt;">bypass_media_after_bridge</span><span style="font-size: 14pt;">" channel variable. </span></div><div style="color: rgb(0, 0, 0); font-size: 14pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 14pt;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 14pt;">My goal is
to bridge 2 incoming calls into Freeswitch and have the calls go peer-to-peer once the call is bridged . </span></div><div style="color: rgb(0, 0, 0); font-size: 14pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 14pt;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">--Jyotshna</div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Thursday, February 13, 2014 5:41
PM, Jyotshna Cherukuri <jcherukuri_necc@yahoo.com> wrote:<br> </font> </div> <div class="y_msg_container"><div id="yiv6961910466"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14pt;"><div>Hi ,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="font-size:14pt;">I am setting "bypass_media_after_bridge" on both the channels and'</span>m using intercept app to bridge two sessions which are part of 2 separate LUA scripts . However I don't see FreeSWITCH issuing Re-Invites once the calls are bridged together . </div><div style="color: rgb(0, 0, 0); font-size: 14pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida
Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color:transparent;">Just wondering if there is any other way to go peer-to-peer once the intercept app is called from LUA script? </span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color:transparent;">I even tried calling uuid_media off from LUA script but it didn't seem to work .</span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style:
normal;"><span style="background-color:transparent;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color:transparent;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color:transparent;">B-leg side of the script:</span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color:transparent;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="
background-color:transparent;">session:setVariable("bypass_media_after_bridge","true");<br></span></div><div style="background-color:transparent;">if ( session:ready() ) then</div><div style="background-color:transparent;"> session:answer();</div><div style="background-color:transparent;"><span style="background-color:transparent;"></span></div><div style="background-color:transparent;">end</div><div style="background-color:transparent;">session:execute("intercept", aleg_uuid);<br></div><div style="background-color:transparent;">api:execute("uuid_media off",aleg_uuid);<br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color:transparent;">Thanks in advance</span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color:transparent;">Regards</span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color:transparent;">Jyotshna</span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; background-color: transparent; font-style: normal;"><br></div></div></div></div><br><br></div> </div> </div> </div> </div></body></html>