Hey Peter,<br><br>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.<br>
<br>Michel<br><br><div class="gmail_quote">On Mon, Mar 25, 2013 at 10:06 PM, Peter Olsson <span dir="ltr"><<a href="mailto:POlsson@enghouse.com" target="_blank">POlsson@enghouse.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What does that code look like? Maybe you are using a locate to get a channel reference, and not releasing it again?<br>
<br>
Please provide your changes (simplified version), and a simple description about what the dialplan looks like.<br>
<div class="im"><br>
/Peter<br>
<br>
________________________________<br>
Från: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] för Michel Brabants [<a href="mailto:michel.brabants@gmail.com">michel.brabants@gmail.com</a>]<br>
</div>Skickat: den 25 mars 2013 21:04<br>
<div class="im">Till: FreeSWITCH Users Help<br>
Ämne: Re: [Freeswitch-users] show channels/calls shows unexisting(destroyed) sip channels<br>
<br>
</div><div class="im">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)<br>
<br>
Thanks,<br>
<br>
Michel<br>
<br>
</div><div class="im">On Mon, Mar 25, 2013 at 6:07 PM, Peter Olsson <<a href="mailto:POlsson@enghouse.com">POlsson@enghouse.com</a><mailto:<a href="mailto:POlsson@enghouse.com">POlsson@enghouse.com</a>>> wrote:<br>
There is something still holding a reference to the call, so it can't be destroyed.<br>
<br>
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.<br>
<br>
/Peter<br>
________________________________<br>
</div>Från: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>>] för Michel Brabants [<a href="mailto:michel.brabants@gmail.com">michel.brabants@gmail.com</a><mailto:<a href="mailto:michel.brabants@gmail.com">michel.brabants@gmail.com</a>>]<br>
<div class="im">Skickat: den 25 mars 2013 17:40<br>
Till: FreeSWITCH Users Help<br>
Ämne: Re: [Freeswitch-users] show channels/calls shows unexisting(destroyed) sip channels<br>
<br>
So,<br>
<br>
it never seems to get to<br>
<br>
<br>
switch_core_session_rwunlock(session);<br>
<br>
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_NOTICE, "Session %" SWITCH_SIZE_T_FMT " (%s) Ended\n",<br>
session->id, switch_channel_get_name(session->channel));<br>
<br>
<br>
Michel<br>
<br>
</div><div class="im">On Mon, Mar 25, 2013 at 5:37 PM, Michel Brabants <<a href="mailto:michel.brabants@gmail.com">michel.brabants@gmail.com</a><mailto:<a href="mailto:michel.brabants@gmail.com">michel.brabants@gmail.com</a>><mailto:<a href="mailto:michel.brabants@gmail.com">michel.brabants@gmail.com</a><mailto:<a href="mailto:michel.brabants@gmail.com">michel.brabants@gmail.com</a>>>> wrote:<br>
The last thing I can see regarding the state change, is the following:<br>
<br>
</div>switch_core_session.c:1518 Session 52 (sofia/sbc-external-2/<a href="mailto:sip%3A10000@172.16.102.187">sip:10000@172.16.102.187</a><mailto:<a href="mailto:sip%253A10000@172.16.102.187">sip%3A10000@172.16.102.187</a>><mailto:<a href="mailto:sip%253A10000@172.16.102.187">sip%3A10000@172.16.102.187</a><mailto:<a href="mailto:sip%25253A10000@172.16.102.187">sip%253A10000@172.16.102.187</a>>>) Locked, Waiting on external entities<br>
<div class="im"><br>
After this, I receive a 200 OK, for the BYE that was send before this ...<br>
<br>
Michel<br>
<br>
Nothing really happens after that<br>
<br>
</div><div class="im">On Mon, Mar 25, 2013 at 4:43 PM, Michel Brabants <<a href="mailto:michel.brabants@gmail.com">michel.brabants@gmail.com</a><mailto:<a href="mailto:michel.brabants@gmail.com">michel.brabants@gmail.com</a>><mailto:<a href="mailto:michel.brabants@gmail.com">michel.brabants@gmail.com</a><mailto:<a href="mailto:michel.brabants@gmail.com">michel.brabants@gmail.com</a>>>> wrote:<br>
Hello,<br>
<br>
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).<br>
<br>
So, I was wondering if show channels has a different view on the exisiting channels in comparison to the internal freeswitch memory.<br>
<br>
Thank you and kind regards,<br>
<br>
Michel<br>
<br>
<br>
<br>
<br>
</div><div class="im">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
</div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>><br>
<div class="im"><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
</div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>><br>
<div class="im"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</div>!DSPAM:5150aa8132765708521470!<br>
<div class="HOEnZb"><div class="h5"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>