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"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></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 <<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>> wrote:<br>
> I think this is not the case, but anyway, what to do with these hung<br>
> channels?<br>
> Maybe I'm doing something wrong while bridging or processing events? Maybe<br>
> unprocessed events can affect channel destroy procedure?<br>
> 2011/3/11 Avi Marcus <<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>><br>
>><br>
>> Regarding ram usage, I'd imagine this is the case:<br>
>> <a href="http://www.linuxatemyram.com/" target="_blank">http://www.linuxatemyram.com/</a><br>
>> -Avi<br>
>><br>
>> On Fri, Mar 11, 2011 at 12:33 PM, Dmitry Sytchev <<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>> wrote:<br>
>>><br>
>>> BTW, uuid_dumpĀ 7ae28028-4bc2-11e0-a92f-452f3d3d66ea returns with -ERR No<br>
>>> such channel.<br>
>>><br>
>>> 2011/3/11 Dmitry Sytchev <<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>><br>
>>>><br>
>>>> Hi All<br>
>>>> I'm using Perl ESL outbound script to bridge incoming call to sip<br>
>>>> endpoint. I'm doing execute("bridge","sofia/user/somebody"), then processing<br>
>>>> events like CHANNEL_HANGUP and EXECUTE_COMPLETE to determine bridge result.<br>
>>>> Everything works fine, but original incoming call channel is never removed<br>
>>>> from list:<br>
>>>> After few calls I see original incoming channels in 'show channels'<br>
>>>> output:<br>
>>>> 7ae28028-4bc2-11e0-a92f-452f3d3d66ea,inbound,2011-03-11<br>
>>>> 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>
>>>> 883c9eb6-4bc2-11e0-a935-452f3d3d66ea,inbound,2011-03-11<br>
>>>> 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>
>>>> 9f6a0f92-4bc2-11e0-a93b-452f3d3d66ea,inbound,2011-03-11<br>
>>>> 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>
>>>> Also, when I try to stop freeswitch i see these messages on console:<br>
>>>> 2011-03-11 15:28:22.517063 [CRIT] sofia.c:1632 Waiting for 13 session(s)<br>
>>>> 2011-03-11 15:28:22.701034 [CRIT] sofia.c:1632 Waiting for 3 session(s)<br>
>>>> 2011-03-11 15:28:23.517064 [CRIT] sofia.c:1632 Waiting for 13 session(s)<br>
>>>> 2011-03-11 15:28:23.701033 [CRIT] sofia.c:1632 Waiting for 3 session(s)<br>
>>>> 2011-03-11 15:28:24.517062 [CRIT] sofia.c:1632 Waiting for 13 session(s)<br>
>>>> 2011-03-11 15:28:24.705036 [CRIT] sofia.c:1632 Waiting for 3 session(s)<br>
>>>> 2011-03-11 15:28:25.517064 [CRIT] sofia.c:1632 Waiting for 13 session(s)<br>
>>>> 2011-03-11 15:28:25.709031 [CRIT] sofia.c:1632 Waiting for 3 session(s)<br>
>>>> 2011-03-11 15:28:26.517065 [CRIT] sofia.c:1632 Waiting for 13 session(s)<br>
>>>><br>
>>>> Why these channels are not removed from list? I also noticed that memory<br>
>>>> consumption by freeswitch process constantly grows call by call.<br>
>>>><br>
>>>> --<br>
>>>> Best regards,<br>
>>>><br>
>>>> Dmitry Sytchev,<br>
>>>> IT Engineer<br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Best regards,<br>
>>><br>
>>> Dmitry Sytchev,<br>
>>> IT Engineer<br>
>>><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>
>><br>
>><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>
><br>
><br>
><br>
> --<br>
> Best regards,<br>
><br>
> Dmitry Sytchev,<br>
> IT Engineer<br>
><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>
><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>