AFAIK the variable is checked by the bridge dialplan app, which you aren't using <div><br></div><div><br>On Friday, February 14, 2014, Jyotshna Cherukuri <<a href="mailto:jcherukuri_necc@yahoo.com">jcherukuri_necc@yahoo.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:14pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><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="font-style:normal;font-size:14pt;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span style="font-size:14pt"><br></span></div>
<div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><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="font-style:normal;font-size:14pt;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span style="font-size:14pt"><br></span></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
--Jyotshna</div><div 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 face="Arial"> On Thursday, February 13, 2014 5:41
PM, Jyotshna Cherukuri <<a href="javascript:_e(%7B%7D,'cvml','jcherukuri_necc@yahoo.com');" target="_blank">jcherukuri_necc@yahoo.com</a>> wrote:<br> </font> </div> <div><div><div><div style="font-size:14pt;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<div>Hi ,</div><div><br></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><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><br></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><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="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><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="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span style="background-color:transparent"><br>
</span></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span style="background-color:transparent"><br>
</span></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span style="background-color:transparent">B-leg side of the script:</span></div>
<div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span style="background-color:transparent"><br>
</span></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><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="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><br></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<br></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span style="background-color:transparent">Thanks in advance</span></div>
<div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span style="background-color:transparent">Regards</span></div>
<div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span style="background-color:transparent">Jyotshna</span></div>
<div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><br></div></div></div></div><br><br></div> </div>
</div> </div> </div></div></blockquote></div>