<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I've found some issue with hanging connections inside asterisk:<br>
<br>
<cut>Hi,<br>
<br>
I have very strange problem, that some calls remain in my asterisk box.
I use sesion timer so call should be dropped after expire time but it
stays.<br>
<br>
My main (I call it Asterisk-IBM) asterisk is 1.6.0.1 stable. Agents
also use same asterisk version. Each agent has installed asterisk on
his PC.<br>
<br>
On Asterisk-IBM I can see hanging calls ie:<br>
<br>
asterisk-IBM*CLI> core show channel SIP/1127-afccc138<br>
-- General --LI><br>
Name: SIP/1127-afccc138<br>
Type: SIP<br>
UniqueID: 1227122591.258108<br>
Caller ID: 1127<br>
Caller ID Name: agent--name<br>
DNID Digits: 0107040300050850522<br>
Language: en<br>
State: Ring (4)<br>
Rings: 0<br>
NativeFormats: 0x8 (alaw)<br>
WriteFormat: 0x8 (alaw)<br>
ReadFormat: 0x8 (alaw)<br>
WriteTranscode: No<br>
ReadTranscode: No<br>
1st File Descriptor: 757<br>
Frames in: 2753<br>
Frames out: 1424<br>
Time to Hangup: 0<br>
Elapsed Time: 1h3m31s<br>
Direct Bridge: <none><br>
Indirect Bridge: <none><br>
-- PBX --<br>
Context: ccig<br>
Extension: 01070403000508505223<br>
Priority: 40<br>
Call Group: 0<br>
Pickup Group: 0<br>
Application: Dial<br>
Data: Local/1010505223@mg<br>
Blocking in: ast_waitfor_nandfds<br>
Variables:<br>
GOSUB_RETVAL=<br>
gw=1010<br>
typ=110<br>
NoUseLCR=1<br>
ProjektOK=1<br>
BiuroOK=1<br>
numer=505223<br>
konsultant=000508<br>
team=03<br>
projektPOD=04<br>
projektGL=07<br>
projekt=0704<br>
biuro=01<br>
SPYGROUP=1127:000508<br>
full=01070403000508505223<br>
<a
href="mailto:SIPCALLID=416663194bb91e142aab98333dadf0d4@192.168.1.127">SIPCALLID=416663194bb91e142aab98333dadf0d4@192.168.1.127</a><br>
SIPDOMAIN=sip.local<br>
SIPURI=sip:<a href="mailto:1127@192.168.1.127">1127@192.168.1.127</a><br>
<br>
CDR Variables:<br>
level 1: godzina=20<br>
level 1: licznik=1<br>
level 1: clid="agent.name" <1127><br>
level 1: src=1127<br>
level 1: dst=01070403000508505223<br>
level 1: dcontext=ccig<br>
level 1: channel=SIP/1127-afccc138<br>
level 1: dstchannel=Local/1010505223@mg-e1d6;1<br>
level 1: lastapp=Dial<br>
level 1: lastdata=Local/1010505223@mg<br>
level 1: start=2008-11-19 20:23:11<br>
level 1: duration=3811<br>
level 1: billsec=0<br>
level 1: disposition=NO ANSWER<br>
level 1: amaflags=DOCUMENTATION<br>
level 1: uniqueid=1227122591.258108<br>
<br>
<br>
when I login to agetnt's asterisk there is no call<br>
CC1127*CLI> core show channels<br>
Channel Location State Application(Data)<br>
0 active channels<br>
0 active calls<br>
584 calls processed<br>
CC1127*CLI><br>
<br>
In Agent's CDR I can see that call had status "no answer"<br>
<br>
CC1127:/var/log/asterisk/cdr-custom# grep 01070403000508505223 *<br>
"","","konsultant","default","Dial","SIP/1127/01070403000508505223","2008-11-19
20:22:56","","2008-11-19 20:22:57","1","0","NO
ANSWER","DOCUMENTATION","","","1227122576.1055","","","","","","Local/konsultant@default-28d9;1"<br>
CC1127:/var/log/asterisk/cdr-custom#<br>
<br>
For today my Asterisk processed "133053 calls processed" and: 172
active channels, 86 active calls hangs in system.<br>
<br>
<br>
On my "master" Asterisk I have following setup for Session-Timer:<br>
rtptimeout = 600<br>
session-timers=accept<br>
session-expires=120<br>
session-minse=90<br>
session-refresher=uas<br>
<br>
rtptimeout=600<br>
<br>
on client:<br>
rtptimeout = 600<br>
session-timers=accept<br>
session-expires=120<br>
session-minse=90<br>
session-refresher=uac<br>
</cut><br>
<br>
I've tried to google for ast_waitfor_nandfds but I did not find
anything interesting. <br>
</body>
</html>