Hey Peter,
I hope you saw my last mail. I indeed did a locate and didn't know that created a lock on the session. I'm unlocking it now and it seems a whole lot better already, although I've still some problems with the refer. Anyway, thanks for your help! It pointed me in the right direction and it is solved now.
Michel
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.
Skickat: den 25 mars 2013 21:04
/Peter
________________________________
Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Michel Brabants [michel.brabants@gmail.com]
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@enghouse.com<mailto:POlsson@enghouse.com>> wrote:Från: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] för Michel Brabants [michel.brabants@gmail.com<mailto:michel.brabants@gmail.com>]
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
________________________________
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@gmail.com<mailto:michel.brabants@gmail.com><mailto:michel.brabants@gmail.com<mailto:michel.brabants@gmail.com>>> wrote:switch_core_session.c:1518 Session 52 (sofia/sbc-external-2/sip:10000@172.16.102.187<mailto:sip%3A10000@172.16.102.187><mailto:sip%3A10000@172.16.102.187<mailto:sip%253A10000@172.16.102.187>>) Locked, Waiting on external entities
The last thing I can see regarding the state change, is the following:
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@gmail.com<mailto:michel.brabants@gmail.com><mailto:michel.brabants@gmail.com<mailto:michel.brabants@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
_________________________________________________________________________consulting@freeswitch.org<mailto:consulting@freeswitch.org>
Professional FreeSWITCH Consulting Services:
http://www.freeswitchsolutions.comFreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users!DSPAM:5150aa8132765708521470!
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org