[Asterisk-Users] chan_unicall, bug in 1.0.X - 99% CPU

Gerardo Perosio gperosio at lq.com.ar
Tue Jun 21 12:07:17 MST 2005


I've been debugging and tracing chan_unicall again, and I found the same 
problem reported by Andres Maduro, in Asterisk-Dev list
here is my strace output:

...
22049 write(30, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
320) = 320
22049 write(1, "\r\33[1;30;40m    -- \33[0;37;40mSIP/"..., 64) = 64
22049 write(9, "Jun 21 15:06:07 WARNING[22049]: "..., 52) = 52
22049 write(1, "Jun 21 15:06:07 \33[1;31;40mWARNIN"..., 150) = 150
22049 write(1, "unicall_indicate -1\n", 20) = 20
22049 write(8, "Jun 21 15:06:07 DEBUG[22049]: Sc"..., 69) = 69
22049 write(8, "Jun 21 15:06:07 DEBUG[22049]: Oo"..., 71) = 71
22049 write(30, "*0\6*,\0\341:\25\247\35\224\267\6\t\0k7\0166\231\2007\'"..., 
160) = 160
...
22049 write(30, "\313\361\365\313\365\365\311\317\317\317\302\333\300\307"..., 
160) = 160
22049 write(30, "\366\360\365\300\315\311\311\317\303\333\305\306\322\327"..., 
160) = -1 EAGAIN (Resource temporarily unavailable)
22049 write(30, "\366\360\365\300\315\311\311\317\303\333\305\306\322\327"..., 
160) = -1 EAGAIN (Resource temporarily unavailable)
....

The result is high CPU, and broken call.

El Mar 21 Jun 2005 11:22, Gerardo Perosio escribió:
> I have a problem with inbound and outbound calls in asterisk. I read
> previous thread, and then test new versions of unicall, but I don't have
> success, the problem persist. The system suffers CPU peeks with a single
> conversation, with an interval of 5 or 10 seconds.
> My system has:
> asterisk 1.0.5
> zaptel 1.0.4
> libunicall 0.0.3-pre3
> hardware: E100P
>
> Also, I made traces with strace, but all looked ok.
>
> unicall.conf:
> =======
> [channels]
> language=es
> context=default
> usecallerid=yes
> hidecallerid=no
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancelwhenbridged=yes
> callgroup=1
> pickupgroup=1
> protocolclass=mfcr2
> protocolvariant=ar,20,4,3
> protocolend=co
> channel=>1-15
> channel=>17-31
> busydetect=yes
>
> Thanks.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
========================
Gerardo Perosio

Laufquen Internet
tel: 4867 3500
========================



More information about the asterisk-users mailing list