[Asterisk-Users] chan_unicall and /dev/zap/channel
Gerardo Perosio
gperosio at lq.com.ar
Tue Jun 21 15:39:11 MST 2005
Hello again :-(
I have a problem with chan_unicall. If I have two simultaneous incoming or
outgoing calls, they sound broken because cpu load goes to 99%. Also with one
call, the cpu load goes to 99%. Seems like device /dev/zap/channel is busy
after 5 or 10 seconds , and chan_unicall does not write to this.
strace with asterisk-1.0.7, zaptel-1.0.7, kernel-2.6.10
================================
3504 open("/dev/zap/channel", O_RDWR|O_NONBLOCK) = 19
3504 open("/usr/lib/unicall/protocols/protocol_mfcr2.so", O_RDONLY) = 20
3504 open("/dev/zap/channel", O_RDWR|O_NONBLOCK) = 20
3504 open("/dev/zap/channel", O_RDWR|O_NONBLOCK) = 21
...
3527 write(1, "EXEC Dial SIP/3551|30|tr \"\"\n", 28 <unfinished ...>
3525 open("/proc/net/route", O_RDONLY) = 57
3525 open("/dev/zap/timer", O_RDWR) = 57
3513 --- SIGURG (Urgent I/O condition) @ 0 (0) ---
3525 write(7, "Jun 21 17:28:35 WARNING[3504]: u"..., 50) = 50
3525 write(1, "Jun 21 17:28:35 WARNING[3504]: c"..., 69) = 69
3525 write(1, "unicall_indicate 3\n", 19) = 19
3527 <... write resumed> ) = 28
3525 write(21,
"\0\0\236\26M*\1778^?\n>\2624\223$\312\17\r\371N\343_\321"..., 320) = 320
...
3513 open("/proc/net/route", O_RDONLY) = 58
3525 write(21, "\324WR]YG at D\\^XDCMIOMIuwqs}rp|}r|~|r"..., 160) = 160
3525 write(21, "]YDZZ at GDMMF@OMG at MMMMKtIOutttv}\177s"..., 160) = 160
3525 write(21, "^YXXX[EDZY[FE[X_^]_YYEY^[Y\\X at KOM"..., 160) = -1 EAGAIN
(Resource temporarily unavailable)
3525 write(21, "^YXXX[EDZY[FE[X_^]_YYEY^[Y\\X at KOM"..., 160) = -1 EAGAIN
(Resource temporarily unavailable)
I've been tested different versions of asterisk and unicall, also fix sound
configuration problem, I been trying zaptel modules in kernel 2.4 and 2.6.
configuration files:
===========
[root at IpPhone asterisk]# cat /etc/zaptel.conf | grep -v "^[;#]"
span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
loadzone = us
defaultzone=us
[root at IpPhone asterisk]# cat /etc/asterisk/unicall.conf | grep -v "^[;#]"
[channels]
language=es
context=default
usecallerid=yes
hidecallerid=no
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
callgroup=1
pickupgroup=1
immediate=no
protocolclass=mfcr2
protocolvariant=ar,20,4,3
protocolend=co
group=1
channel=>1-15
channel=>17-31
busydetect=yes
busycount=4
callprogress=yes
progzone=us
-------------------------------------------------------
--
========================
Gerardo Perosio
Laufquen Internet
tel: 4867 3500
========================
More information about the asterisk-users
mailing list