It&#39;s a bug but it&#39;s and edge case triggered by this:<div><span class="Apple-style-span" style="font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 11px; color: rgb(51, 51, 51); "><span class="nu0"><br>
</span></span></div><div><span class="Apple-style-span" style="font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 11px; color: rgb(51, 51, 51); "><span class="nu0">2010</span><span class="nu0">-06</span><span class="nu0">-08</span> <span class="nu0">16</span>:<span class="nu0">30</span>:<span class="nu0">45.979138</span> <span class="br0">[</span>ERR<span class="br0">]</span> switch_ivr.c:<span class="nu0">1208</span> Can&#39;t re-establsh media on sofia/internal/<span class="nu0">1018</span>@<span class="nu0">192.168</span><span class="nu0">.72</span><span class="nu0">.138</span>:<span class="nu0">5060</span></span></div>
<div><font class="Apple-style-span" color="#333333" face="&#39;Courier New&#39;, Courier, monospace" size="3"><span class="Apple-style-span" style="font-size: 11px;"><br></span></font></div><div><span class="nu0"></span><div>
This is because you appear to have bypass media enabled and you also are trying to record.</div><div>When you do something that needs media on an unanswered channel it will try to establish media.</div><div>But since the call is not answered the attempt will fail.</div>
<div><br></div><div>You should not mix bypass media and recording in this way but I committed a fix for the stuck channel.</div><div><br></div><div><font class="Apple-style-span" color="#333333" face="&#39;Courier New&#39;, Courier, monospace" size="3"><span class="Apple-style-span" style="font-size: 11px; "><br>
</span></font><br><div class="gmail_quote">On Wed, Jun 9, 2010 at 10:24 AM, 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" 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 class="im">

<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 class="im">

<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"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
<br>
</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<span> </span>sofia<span> </span>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:<span> </span><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>


<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></div>