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" ...
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@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