[Freeswitch-users] Cannot Kill stale channels

Peter Olsson peter.olsson at visionutveckling.se
Mon Dec 10 19:40:31 MSK 2012


Are you exiting the lua script? Usually when this happens it means you have not
released all references to the call session object.

/Peter

10 dec 2012 kl. 16:28 skrev "Marc de Corny" <marcdecorny at gmail.com<mailto:marcdecorny at gmail.com>>:

Hi

I have calls that come into a queue and then get pulled out by a lua script in background and transfered to a destination. all works fine except that it looks like the sessions a not clearing from FS when all the parties clear the calls.

When I do show channels, I get this for example:
uuid    direction       created created_epoch   name    state   cid_name        cid_num ip_addr dest    presence_id     presence_data   callstate       callee_name     callee_num      callee_direction        call_uuid       hostname        sent_callee_name        sent_callee_num
5e8215e7-b036-4cce-9b96-e57db92f13ee    outbound        03/12/2012 09:32        1.35E+09        sofia/external/02031950164      CS_HANGUP       Outbound Call   2031950164      135.196.144.32  agent_to_queue_paymentsense_queue_service                       ACTIVE                  SEND    5e8215e7-b036-4cce-9b96-e57db92f13ee    freeswitch2     4.4209E+11      2089623100

But when I try to get kill or query it, I get a message that the call is not anywhere in the FS.

/usr/local/freeswitch/bin/fs_cli -H 10.5.2.105 -x "uuid_kill 5e8215e7-b036-4cce-9b96-e57db92f13ee"
-ERR No Such Channel!

/usr/local/freeswitch/bin/fs_cli -H 10.5.2.105 -x "uuid_exists 5e8215e7-b036-4cce-9b96-e57db92f13ee"
false

Does anyone have an idea how I can kill that call. If I restart the FS, they clear, but the problem is that they are hitting my limit on number of simultaneous calls.

Any help much appreciated.

Thansk
marc






!DSPAM:50c5fb8c32767955115405!
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org


!DSPAM:50c5fb8c32767955115405!



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list