<div>Hi All</div><div>I'm using Perl ESL outbound script to bridge incoming call to sip endpoint. I'm doing execute("bridge","sofia/user/somebody"), then processing events like CHANNEL_HANGUP and EXECUTE_COMPLETE to determine bridge result. Everything works fine, but original incoming call channel is never removed from list:<br clear="all">
</div><div>After few calls I see original incoming channels in 'show channels' output:</div><div><br></div><div>7ae28028-4bc2-11e0-a92f-452f3d3d66ea,inbound,2011-03-11 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">xxx.xxx.ru</a>,,,HANGUP,,,,<br>
883c9eb6-4bc2-11e0-a935-452f3d3d66ea,inbound,2011-03-11 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">xxx.xxx.ru</a>,,,HANGUP,,,,<br>
9f6a0f92-4bc2-11e0-a93b-452f3d3d66ea,inbound,2011-03-11 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">xxx.xxx.ru</a>,,,HANGUP,,,</div>
<div><br></div><div>Also, when I try to stop freeswitch i see these messages on console:</div><div><br></div><div>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></div>Why these channels are not removed from list? I also noticed that memory consumption by freeswitch process constantly grows call by call.<br>
<div><br></div>-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer<br>