[Freeswitch-users] show channels/calls shows unexisting(destroyed) sip channels

Peter Olsson POlsson at enghouse.com
Mon Mar 25 20:07:59 MSK 2013


There is something still holding a reference to the call, so it can't be destroyed.

Are you using any scripts for this call - Lua, Javascript etc? A common misstake is to have a loop inside these scripts that doesn't exit when it should.

/Peter
________________________________
Från: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] för Michel Brabants [michel.brabants at gmail.com]
Skickat: den 25 mars 2013 17:40
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] show channels/calls shows unexisting(destroyed) sip channels

So,

it never seems to get to


    switch_core_session_rwunlock(session);

    switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_NOTICE, "Session %" SWITCH_SIZE_T_FMT " (%s) Ended\n",
                      session->id, switch_channel_get_name(session->channel));


Michel

On Mon, Mar 25, 2013 at 5:37 PM, Michel Brabants <michel.brabants at gmail.com<mailto:michel.brabants at gmail.com>> wrote:
The last thing I can see regarding the state change, is the following:

switch_core_session.c:1518 Session 52 (sofia/sbc-external-2/sip:10000 at 172.16.102.187<mailto:sip%3A10000 at 172.16.102.187>) Locked, Waiting on external         entities

After this, I receive a 200 OK, for the BYE that was send before this ...

Michel

Nothing really happens after that

On Mon, Mar 25, 2013 at 4:43 PM, Michel Brabants <michel.brabants at gmail.com<mailto:michel.brabants at gmail.com>> wrote:
Hello,

I was wondering where "show channels" gets its info from. I can see channels that don't exist anymore (freeswitch v1.2.7). All these channels got reinvites (which were processed ok) en they also seem to have entered the hangup-state (in the logfile, not in the channel-overview).

So, I was wondering if show channels has a different view on the exisiting channels in comparison to the internal freeswitch memory.

Thank you and kind regards,

Michel


!DSPAM:51507a3b32761546519956!



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