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

Peter Olsson POlsson at enghouse.com
Tue Mar 26 00:06:06 MSK 2013


What does that code look like? Maybe you are using a locate to get a channel reference, and not releasing it again?

Please provide your changes (simplified version), and a simple description about what the dialplan looks like.

/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 21:04
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] show channels/calls shows unexisting(destroyed) sip channels

Thanks for the info. Is there any way to check what is keeping open the info. I modified the code to send out a notify (using an event). That is all that is different. A 200 OK comes back, but I didn't know that that would create an open reference .. (possibly)

Thanks,

Michel

On Mon, Mar 25, 2013 at 6:07 PM, Peter Olsson <POlsson at enghouse.com<mailto:POlsson at enghouse.com>> wrote:
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<mailto:freeswitch-users-bounces at lists.freeswitch.org> [freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>] för Michel Brabants [michel.brabants at gmail.com<mailto: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><mailto: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><mailto:sip%3A10000 at 172.16.102.187<mailto:sip%253A10000 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><mailto: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




_________________________________________________________________________
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://www.freeswitch.org

!DSPAM:5150aa8132765708521470!



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