the variable can&#39;t reverse the profile param<div>if you want to pick and choose you need to turn it off in the profile and only use the var.</div><div><br><br><div class="gmail_quote">On Wed, Jun 9, 2010 at 3:04 PM, Robert Hadley <span dir="ltr">&lt;<a href="mailto:robert.hadley@teotech.com">robert.hadley@teotech.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">












<div lang="EN-US" link="blue" vlink="blue">

<div>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Thanks Anthony,</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Yes, I have inbound-bypass-media enabled
globally (and late-negotiation).</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">I added &lt;action
application=&quot;set&quot; data=&quot;bypass_media=false&quot;/&gt; to
dialplan when recording but I still get the same error.</span></font></p>

<p class="MsoNormal"><font size="1" color="navy" face="Courier New"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;;color:navy">2010-06-09
12:50:04.877331 [ERR] switch_ivr.c:1208 Can&#39;t re-establsh media on
sofia/internal/<a href="http://1018@192.168.72.138:5060" target="_blank">1018@192.168.72.138:5060</a></span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Is it okay to disable bypass_media on a
per-call basis this way when recording, to override the global setting?</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Thanks,</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Robert</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<div>

<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">

<hr size="3" width="100%" align="center">

</span></font></div>

<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> Anthony
Minessale [mailto:<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>] <br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, June 09, 2010
9:33 AM</span></font></p><font size="2" face="Tahoma"><div><div></div><div class="h5"><br>
<b><span style="font-weight:bold">To:</span></b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users]
application=record_session leaves a&quot;session&quot;around?</div></div></font><p></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">It&#39;s a bug but it&#39;s and edge case triggered by this:</span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

<div>

<p class="MsoNormal"><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">2010-06-08</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333"> </span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">16</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">:</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">30</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">:</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">45.979138</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333"> </span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">[</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">ERR</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">]</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333"> switch_ivr.c:</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">1208</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333"> Can&#39;t
re-establsh media on sofia/internal/</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">1018</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">@</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">192.168.72.138</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">:</span></font></span><span><font size="1" color="#333333" face="Courier New"><span style="font-size:6.5pt;font-family:&quot;Courier New&quot;;color:#333333">5060</span></font></span></p>


</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

<div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">This is because you appear to have bypass media enabled and you also
are trying to record.</span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">When you do something that needs media on an unanswered channel it will
try to establish media.</span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">But since the call is not answered the attempt will fail.</span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">You should not mix bypass media and recording in this way but
I committed a fix for the stuck channel.</span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

<div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Wed, Jun 9, 2010 at 10:24 AM, Robert Hadley &lt;<a href="mailto:robert.hadley@teotech.com" target="_blank">robert.hadley@teotech.com</a>&gt;
wrote:</span></font></p>

<div link="blue" vlink="blue" style="word-wrap:break-word">

<div>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Hi Brian,</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Yes, it was FreeSWITCH Version 1.0.head (git-d888ebc 2010-06-08
14-35-15 -0400)</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">I will ‘git’ it today too.</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Thanks,</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Robert</span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

<div>

<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">

<hr size="3" width="100%" align="center">

</span></font></div>

<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> Brian West [mailto:<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>] <br>

<b><span style="font-weight:bold">Sent:</span></b> Tuesday, June 08, 2010 4:58
PM<br>
<b><span style="font-weight:bold">To:</span></b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users]
application=record_session leaves a&quot;session&quot; around?</span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Have you made sure
you&#39;re on the very latest FreeSWITCH code?</span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">/b</span></font></p>

</div>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

<div>

<div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Jun 8, 2010, at
6:44 PM, Robert Hadley wrote:</span></font></p>

</div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><span style="word-spacing:0px">Using   &lt;action
application=&quot;record_session&quot; data=&quot;filename.wav&quot;/&gt; seems
to leave a “session” around.</span></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">I notice this
repeated message later when I restart sofia internal profile after recording
calls:<br>
</span></font><font size="2" face="Courier New"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">2010-06-08 15:37:56.641151 [CRIT] sofia.c:1459
Waiting for 3 session(s) (Msg repeats 13 times)</span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">The number of
sessions “Waiting for” is the number of calls I have recorded.</span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Pastebin of
console debug log at: <a href="http://pastebin.freeswitch.org/13157" target="_blank">http://pastebin.freeswitch.org/13157</a></span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

</div>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Is this <font color="navy"><span style="color:navy">normal, </span></font>a bug<font color="navy"><span style="color:navy">,</span></font> or is there something I
need to do after recording a call to free the session?</span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Thanks,</span></font></p>

</div>

<div>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Robert</span></font></p>

</div>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

</div>

</div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span></font></p>

</div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
<br clear="all">
<br>
-- <br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900</span></font></p>

</div>

</div>

</div></div></div>

</div>


<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>