Page 1 of 1

channel lock and drop call

PostPosted: Mon Mar 02, 2009 5:36 am
by arvindsandilya24
Hi Matt,

I have setup vicidialnow-1.0.1 with pri
When call starts, we are facing call drop problem as well as silence problem. I have seen in log this type of warning:-

Mar 12 11:52:51 WARNING[2529]: channel.c:780 channel_find_locked: Avoided deadlock for '0x82a59b8', 9 retries!
Mar 12 11:52:51 WARNING[2529]: channel.c:780 channel_find_locked: Avoided deadlock for '0x83e6568', 9 retries!
Mar 12 11:52:51 WARNING[2529]: channel.c:780 channel_find_locked: Avoided deadlock for '0x838fd68', 9 retries!
Mar 12 11:52:51 WARNING[2529]: channel.c:780 channel_find_locked: Avoided deadlock for '0x81f3218', 9 retries!

Please help me.

Thanks & regards
Arvind

PostPosted: Mon Mar 02, 2009 6:12 am
by mflorell
What are the specs on your server(CPU/RAM/drives)?

What kind of T1/E1 card are you using?

What version of Asterisk and zaptel?

PostPosted: Mon Mar 02, 2009 6:20 pm
by kolucoms6

== Spawn extension (default, 817032561497, 2) exited non-zero on 'Local/817032561497@default-1061,2'
-- Executing DeadAGI("Local/817032561497@default-1061,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/817032561497@default-1061,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----4-----0)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ---4-----0) completed, returning 0
-- Executing AGI("SIP/sip8-084944b0", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AMD("SIP/sip8-084944b0", "3500|1500|300|6000|120|50|5|256") in new stack
-- AMD: SIP/sip8-084944b0 (null) (null) (Fmt: 64)
-- AMD: initialSilence [3500] greeting [1500] afterGreetingSilence [300] totalAnalysisTime [6000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [5] silenceThreshold [256]
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
Mar 2 18:19:07 WARNING[2783]: channel.c:780 channel_find_locked: Avoided deadlock for '0x849aa00', 9 retries!
Mar 2 18:19:07 WARNING[2783]: channel.c:780 channel_find_locked: Avoided deadlock for '0x8409b98', 9 retries!
== Manager 'sendcron' logged off from 127.0.0.1
== Spawn extension (default, 78600052, 1) exited non-zero on 'Local/78600052@default-0b8c,2'
-- Executing DeadAGI("Local/78600052@default-0b8c,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/78600052@default-0b8c,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, 8309, 3) exited non-zero on 'Local/78600052@default-0b8c,1'
-- Executing DeadAGI("Local/78600052@default-0b8c,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/78600052@default-0b8c,1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
-- AMD: Word detected. iWordsCount:1
-- AGI Script agi-VDAD_LB_transfer.agi completed, returning 0
-- Executing MeetMe("SIP/sip8-084bdf10", "8600052") in new stack
== Parsing '/etc/asterisk/manager.conf': Found



We too GET some errors like that ..

PostPosted: Mon Mar 02, 2009 7:04 pm
by David_ONeal
I think we might be having a similar issue here at our office.

channle lock and drop call

PostPosted: Tue Mar 03, 2009 3:57 am
by arvindsandilya24
Hi matt,

Ram:- 2 GB
[root@vicidialnow ~]# free
total used free shared buffers cached
Mem: 2577776 2451868 125908 0 22088 2240064
-/+ buffers/cache: 189716 2388060
Swap: 2096472 1312 2095160


I am using GSM channel bank with pri signalling.
One digium pri card(TE122BF) in my server and another pri card in GSM CHANNEL BANK DEVICE.

Asterisk version:- 1.2.27
zaptel version:- 1.2.24

I am using vicidial now.


Please reply me.

Thanks & regards
Arvind

PostPosted: Tue Mar 03, 2009 6:27 am
by mflorell
Are you recording all calls?

Does this happen with only one agent on the server dialing?

What is the loadavg when this happens?

pri

PostPosted: Wed Mar 04, 2009 5:59 am
by arvindsandilya24
Hi matt,

Are you recording all calls?

Ya, Recording of all calls happening.

What is the loadavg when this happens?

load avg:- 2.3%


Thanks
Arvind

PostPosted: Wed Mar 04, 2009 6:05 am
by mflorell
is that a 2.30 loadavg or 0.23?

pri

PostPosted: Wed Mar 04, 2009 7:08 am
by arvindsandilya24
Hi Matt,

Sorry,

load avg:- 0.23%
but it always change sometimes 0.23 or sometimes 1.6 .

Thanks & regards
Arvind

PostPosted: Wed Mar 04, 2009 9:20 am
by mflorell
What is the CPU on your server?

pri

PostPosted: Thu Mar 05, 2009 12:02 am
by arvindsandilya24
Hi,

Processor is xeon -2.0 GHZ

Thanks & regards
Arvind

PostPosted: Thu Mar 05, 2009 7:38 am
by mflorell
if that is a single core CPU then your problem may be happening when you get up to 1.6 (160% of CPU use) which can cause all sorts of problems.

pri

PostPosted: Fri Mar 06, 2009 12:11 am
by arvindsandilya24
Hi Matt,

It is quad core processor.

Thanks & regards
Arvind

PostPosted: Fri Mar 06, 2009 4:09 am
by mflorell
OK, well load isn't your problem, it could be because you are recording all calls, or it could be an issue with your GSM channelbank. I don't have any firsthand experience with those.

channel.c:780 channel_find_locked

PostPosted: Tue Jun 16, 2009 9:28 pm
by zeroche_rodriguez
good day Sir Mat,

what is the recommended server to avoid this problem.