[asterisk-dev] [#13935] ast_waitfor_nandfds - channels stuck
Marcin J. Kowalczyk
marcin.kowalczyk at ccig.pl
Fri Nov 21 06:29:58 CST 2008
Hi,
I've found some issue with hanging connections inside asterisk:
<cut>Hi,
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.
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.
On Asterisk-IBM I can see hanging calls ie:
asterisk-IBM*CLI> core show channel SIP/1127-afccc138
-- General --LI>
Name: SIP/1127-afccc138
Type: SIP
UniqueID: 1227122591.258108
Caller ID: 1127
Caller ID Name: agent--name
DNID Digits: 0107040300050850522
Language: en
State: Ring (4)
Rings: 0
NativeFormats: 0x8 (alaw)
WriteFormat: 0x8 (alaw)
ReadFormat: 0x8 (alaw)
WriteTranscode: No
ReadTranscode: No
1st File Descriptor: 757
Frames in: 2753
Frames out: 1424
Time to Hangup: 0
Elapsed Time: 1h3m31s
Direct Bridge: <none>
Indirect Bridge: <none>
-- PBX --
Context: ccig
Extension: 01070403000508505223
Priority: 40
Call Group: 0
Pickup Group: 0
Application: Dial
Data: Local/1010505223 at mg
Blocking in: ast_waitfor_nandfds
Variables:
GOSUB_RETVAL=
gw=1010
typ=110
NoUseLCR=1
ProjektOK=1
BiuroOK=1
numer=505223
konsultant=000508
team=03
projektPOD=04
projektGL=07
projekt=0704
biuro=01
SPYGROUP=1127:000508
full=01070403000508505223
SIPCALLID=416663194bb91e142aab98333dadf0d4 at 192.168.1.127
<mailto:SIPCALLID=416663194bb91e142aab98333dadf0d4 at 192.168.1.127>
SIPDOMAIN=sip.local
SIPURI=sip:1127 at 192.168.1.127 <mailto:1127 at 192.168.1.127>
CDR Variables:
level 1: godzina=20
level 1: licznik=1
level 1: clid="agent.name" <1127>
level 1: src=1127
level 1: dst=01070403000508505223
level 1: dcontext=ccig
level 1: channel=SIP/1127-afccc138
level 1: dstchannel=Local/1010505223 at mg-e1d6;1
level 1: lastapp=Dial
level 1: lastdata=Local/1010505223 at mg
level 1: start=2008-11-19 20:23:11
level 1: duration=3811
level 1: billsec=0
level 1: disposition=NO ANSWER
level 1: amaflags=DOCUMENTATION
level 1: uniqueid=1227122591.258108
when I login to agetnt's asterisk there is no call
CC1127*CLI> core show channels
Channel Location State Application(Data)
0 active channels
0 active calls
584 calls processed
CC1127*CLI>
In Agent's CDR I can see that call had status "no answer"
CC1127:/var/log/asterisk/cdr-custom# grep 01070403000508505223 *
"","","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 at default-28d9;1"
CC1127:/var/log/asterisk/cdr-custom#
For today my Asterisk processed "133053 calls processed" and: 172 active
channels, 86 active calls hangs in system.
On my "master" Asterisk I have following setup for Session-Timer:
rtptimeout = 600
session-timers=accept
session-expires=120
session-minse=90
session-refresher=uas
rtptimeout=600
on client:
rtptimeout = 600
session-timers=accept
session-expires=120
session-minse=90
session-refresher=uac
</cut>
I've tried to google for ast_waitfor_nandfds but I did not find anything
interesting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20081121/deb48d0c/attachment-0001.htm
More information about the asterisk-dev
mailing list