[Freeswitch-users] getting rid of hanging sessions?
Wes
wes-fs at 499x.com
Mon Jun 27 20:20:55 MSD 2011
Ok, I think they're getting stuck if I hang up while recording the call,
line 54 in the pastebin source. When I hang up, I see the message
logged in line 55, but then I think it enters the "while (listen)" loop,
and never gets out. Because if I uncomment line 58, it scrolls
endlessly in the log saying: "flushing digits 2" "flushing digits 2"
"flushing digits 2" ...
script
http://pastebin.freeswitch.org/16601
log:
http://pastebin.freeswitch.org/16602
so is the trick to check something else in the while loop like: while
(listen and not hung up) ?
On 6/24/2011 6:15 PM, Michael Collins wrote:
> The key is in knowing why those are stuck. Do a "show channels" when
> you see these so-called phantom sessions, then put it on pastebin so
> we can take a look.
> -MC
>
> On Fri, Jun 24, 2011 at 2:37 PM, Wes <wes-fs at 499x.com
> <mailto:wes-fs at 499x.com>> wrote:
>
> in my testing, I'm getting some sessions that are, hung, I guess.
>
> Status shows:
>
> UP 0 years, 0 days, 2 hours, 7 minutes, 37 seconds, 752 milliseconds,
> 720 microseconds
> 23 session(s) since startup
> 5 session(s) 0/30
> 1000 session(s) max
> min idle cpu 0.00/0.00
>
>
> if I do a shutdown, it waits on them for a while, then eventually
> shuts
> down.
>
> Is there any way to "clean" these up periodically? Or, what am I
> doing
> to leave them out there?
>
> thanks!
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> 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
>
>
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> FreeSWITCH-users mailing list
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110627/25bfdf8a/attachment.html
More information about the FreeSWITCH-users
mailing list