I use cdr_xml only. If the call fails before entering ESL script, seems there are no stuck records, but they appear after some actions in ESL even if there was no bridge attempt.<br><br><div class="gmail_quote">2011/3/11 Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">that looks like they are all stuck in the CDR module.<br>
What module are you using?<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Fri, Mar 11, 2011 at 5:58 AM, Dmitry Sytchev &lt;<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>&gt; wrote:<br>
&gt; I think this is not the case, but anyway, what to do with these hung<br>
&gt; channels?<br>
&gt; Maybe I&#39;m doing something wrong while bridging or processing events? Maybe<br>
&gt; unprocessed events can affect channel destroy procedure?<br>
&gt; 2011/3/11 Avi Marcus &lt;<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Regarding ram usage, I&#39;d imagine this is the case:<br>
&gt;&gt; <a href="http://www.linuxatemyram.com/" target="_blank">http://www.linuxatemyram.com/</a><br>
&gt;&gt; -Avi<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Mar 11, 2011 at 12:33 PM, Dmitry Sytchev &lt;<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; BTW, uuid_dumpĀ 7ae28028-4bc2-11e0-a92f-452f3d3d66ea returns with -ERR No<br>
&gt;&gt;&gt; such channel.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2011/3/11 Dmitry Sytchev &lt;<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi All<br>
&gt;&gt;&gt;&gt; I&#39;m using Perl ESL outbound script to bridge incoming call to sip<br>
&gt;&gt;&gt;&gt; endpoint. I&#39;m doing execute(&quot;bridge&quot;,&quot;sofia/user/somebody&quot;), then processing<br>
&gt;&gt;&gt;&gt; events like CHANNEL_HANGUP and EXECUTE_COMPLETE to determine bridge result.<br>
&gt;&gt;&gt;&gt; Everything works fine, but original incoming call channel is never removed<br>
&gt;&gt;&gt;&gt; from list:<br>
&gt;&gt;&gt;&gt; After few calls I see original incoming channels in &#39;show channels&#39;<br>
&gt;&gt;&gt;&gt; output:<br>
&gt;&gt;&gt;&gt; 7ae28028-4bc2-11e0-a92f-452f3d3d66ea,inbound,2011-03-11<br>
&gt;&gt;&gt;&gt; 12:32:27,1299835947,sofia/external/xxxx@85.x.x.199,CS_REPORTING,622xxxx,622xxxx,85.114.x.x,622xxxx,hangup,USER_BUSY,XML,route_in,,,,,,,,<a href="http://xxx.xxx.ru" target="_blank">xxx.xxx.ru</a>,,,HANGUP,,,,<br>

&gt;&gt;&gt;&gt; 883c9eb6-4bc2-11e0-a935-452f3d3d66ea,inbound,2011-03-11<br>
&gt;&gt;&gt;&gt; 12:32:50,1299835970,sofia/external/xxxx@85.x.x.199,CS_REPORTING,622xxxx,622xxxx,85.114.x.x,622xxxx,hangup,USER_BUSY,XML,route_in,,,,,,,,<a href="http://xxx.xxx.ru" target="_blank">xxx.xxx.ru</a>,,,HANGUP,,,,<br>

&gt;&gt;&gt;&gt; 9f6a0f92-4bc2-11e0-a93b-452f3d3d66ea,inbound,2011-03-11<br>
&gt;&gt;&gt;&gt; 12:33:29,1299836009,sofia/external/xxxx@85.x.x.199,CS_REPORTING,622xxxx,622xxxx,85.114.x.x,622xxxx,hangup,USER_BUSY,XML,route_in,,,,,,,,<a href="http://xxx.xxx.ru" target="_blank">xxx.xxx.ru</a>,,,HANGUP,,,<br>

&gt;&gt;&gt;&gt; Also, when I try to stop freeswitch i see these messages on console:<br>
&gt;&gt;&gt;&gt; 2011-03-11 15:28:22.517063 [CRIT] sofia.c:1632 Waiting for 13 session(s)<br>
&gt;&gt;&gt;&gt; 2011-03-11 15:28:22.701034 [CRIT] sofia.c:1632 Waiting for 3 session(s)<br>
&gt;&gt;&gt;&gt; 2011-03-11 15:28:23.517064 [CRIT] sofia.c:1632 Waiting for 13 session(s)<br>
&gt;&gt;&gt;&gt; 2011-03-11 15:28:23.701033 [CRIT] sofia.c:1632 Waiting for 3 session(s)<br>
&gt;&gt;&gt;&gt; 2011-03-11 15:28:24.517062 [CRIT] sofia.c:1632 Waiting for 13 session(s)<br>
&gt;&gt;&gt;&gt; 2011-03-11 15:28:24.705036 [CRIT] sofia.c:1632 Waiting for 3 session(s)<br>
&gt;&gt;&gt;&gt; 2011-03-11 15:28:25.517064 [CRIT] sofia.c:1632 Waiting for 13 session(s)<br>
&gt;&gt;&gt;&gt; 2011-03-11 15:28:25.709031 [CRIT] sofia.c:1632 Waiting for 3 session(s)<br>
&gt;&gt;&gt;&gt; 2011-03-11 15:28:26.517065 [CRIT] sofia.c:1632 Waiting for 13 session(s)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Why these channels are not removed from list? I also noticed that memory<br>
&gt;&gt;&gt;&gt; consumption by freeswitch process constantly grows call by call.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; Best regards,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Dmitry Sytchev,<br>
&gt;&gt;&gt;&gt; IT Engineer<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Best regards,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Dmitry Sytchev,<br>
&gt;&gt;&gt; IT Engineer<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Best regards,<br>
&gt;<br>
&gt; Dmitry Sytchev,<br>
&gt; IT Engineer<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<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">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" target="_blank">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></div><div class="h5"><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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer<br>