AFAIK the variable is checked by the bridge dialplan app, which you aren&#39;t using <div><br></div><div><br>On Friday, February 14, 2014, Jyotshna Cherukuri &lt;<a href="mailto:jcherukuri_necc@yahoo.com">jcherukuri_necc@yahoo.com</a>&gt; 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(&quot;sched_api +10 none uuid_media off &quot;..aleg_uuid); I see Re-INVITES going out . However I was wondering why I cannot use &quot;<span style="font-size:14pt">bypass_media_after_bridge</span><span style="font-size:14pt">&quot; channel variable. </span></div>
<div style="font-style:normal;font-size:14pt;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif"><span style="font-size:14pt"><br></span></div>
<div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,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,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif">
<span style="font-size:14pt"><br></span></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif">
--Jyotshna</div><div style="display:block"> <br> <br> <div style="font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;font-size:14pt"> <div style="font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;font-size:12pt">
 <div dir="ltr"> <font face="Arial"> On Thursday, February 13, 2014 5:41
 PM, Jyotshna Cherukuri &lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;jcherukuri_necc@yahoo.com&#39;);" target="_blank">jcherukuri_necc@yahoo.com</a>&gt; wrote:<br> </font> </div>  <div><div><div><div style="font-size:14pt;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif">
<div>Hi ,</div><div><br></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif"><span style="font-size:14pt">I am setting &quot;bypass_media_after_bridge&quot; on both the channels and&#39;</span>m using intercept app to bridge two sessions which are part of 2 separate LUA scripts . However I don&#39;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,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,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,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif"><span style="background-color:transparent">I even tried calling uuid_media off from LUA script but it didn&#39;t seem to work .</span></div>
<div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif"><span style="background-color:transparent"><br>
</span></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif"><span style="background-color:transparent"><br>
</span></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,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,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif"><span style="background-color:transparent"><br>
</span></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif"><span style="background-color:transparent">session:setVariable(&quot;bypass_media_after_bridge&quot;,&quot;true&quot;);<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(&quot;intercept&quot;, aleg_uuid);<br></div><div style="background-color:transparent">api:execute(&quot;uuid_media off&quot;,aleg_uuid);<br>
</div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif"><br></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif">
<br></div><div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,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,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif"><span style="background-color:transparent">Regards</span></div>
<div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif"><span style="background-color:transparent">Jyotshna</span></div>
<div style="font-style:normal;font-size:19px;background-color:transparent;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif"><br></div></div></div></div><br><br></div>  </div>
 </div>  </div> </div></div></blockquote></div>