[Asterisk-Users] Avoiding deadlock... Problem

manish mvaishnani at adiance.com
Wed Apr 26 02:14:35 MST 2006


Hi

I have 3FXO trunks called ZAP-25,ZAP-26 and ZAP-28 and T1 Channnel bank I 
get this deadlock problem when 2 incoming call from FXO(Here ZAP-28 and then 
ZAP-26) wants to dial same channel (Here ZAP-1).

In this senario ZAP-1 first answer ZAP-28 and thne ZAP-26 wants to call 
ZAP-1 but it time out and goto voicemail after that ZAP-1 try to reach 
ZAP-26 call by puting ZAP-28 on HOLD  During this period this this "Notice " 
is generates. And sometimes because of this Lines goes to dead. and need to 
restart asterisk.

Please help me.

Here is my LOG

---------------------------------------------------------------------------
Apr 25 16:39:53 VERBOSE[3514] logger.c: -- Starting simple switch on 
'Zap/28-1'
Apr 25 16:39:54 VERBOSE[3514] logger.c: -- Executing Set("Zap/28-1", 
"FROM=s") in new stack

Apr 25 16:39:54 VERBOSE[3514] logger.c: -- Executing Goto("Zap/28-1", 
"incoming-ivr|s|1") in new stack

Apr 25 16:39:54 VERBOSE[3514] logger.c: -- Goto (incoming-ivr,s,1)

Apr 25 16:39:54 VERBOSE[3514] logger.c: -- Executing GotoIf("Zap/28-1", 
"1?3") in new stack

Apr 25 16:39:54 VERBOSE[3514] logger.c: -- Goto (incoming-ivr,s,3)

Apr 25 16:39:54 VERBOSE[3514] logger.c: -- Executing Answer("Zap/28-1", "") 
in new stack

Apr 25 16:39:54 VERBOSE[3514] logger.c: -- Executing Set("Zap/28-1", 
"TIMEOUT(digit)=5") in new stack

Apr 25 16:39:54 VERBOSE[3514] logger.c: -- Digit timeout set to 5

Apr 25 16:39:54 VERBOSE[3514] logger.c: -- Executing Set("Zap/28-1", 
"TIMEOUT(response)=7") in new stack

Apr 25 16:39:54 VERBOSE[3514] logger.c: -- Response timeout set to 7

Apr 25 16:39:54 VERBOSE[3514] logger.c: -- Executing BackGround("Zap/28-1", 
"silence/1") in new stack

Apr 25 16:39:54 VERBOSE[3514] logger.c: -- Playing 'silence/1' (language 
'en')

Apr 25 16:39:55 VERBOSE[3514] logger.c: -- Executing BackGround("Zap/28-1", 
"maingreeting") in new stack

Apr 25 16:39:55 VERBOSE[3514] logger.c: -- Playing 'maingreeting' (language 
'en')

Apr 25 16:40:03 VERBOSE[3530] logger.c: -- Starting simple switch on 
'Zap/26-1'

Apr 25 16:40:04 VERBOSE[3530] logger.c: -- Executing Set("Zap/26-1", 
"FROM=s") in new stack

Apr 25 16:40:04 VERBOSE[3530] logger.c: -- Executing Goto("Zap/26-1", 
"incoming-ivr|s|1") in new stack

Apr 25 16:40:04 VERBOSE[3530] logger.c: -- Goto (incoming-ivr,s,1)

Apr 25 16:40:04 VERBOSE[3530] logger.c: -- Executing GotoIf("Zap/26-1", 
"1?3") in new stack

Apr 25 16:40:04 VERBOSE[3530] logger.c: -- Goto (incoming-ivr,s,3)

Apr 25 16:40:04 VERBOSE[3530] logger.c: -- Executing Answer("Zap/26-1", "") 
in new stack

Apr 25 16:40:04 VERBOSE[3530] logger.c: -- Executing Set("Zap/26-1", 
"TIMEOUT(digit)=5") in new stack

Apr 25 16:40:04 VERBOSE[3530] logger.c: -- Digit timeout set to 5

Apr 25 16:40:04 VERBOSE[3530] logger.c: -- Executing Set("Zap/26-1", 
"TIMEOUT(response)=7") in new stack

Apr 25 16:40:04 VERBOSE[3530] logger.c: -- Response timeout set to 7

Apr 25 16:40:04 VERBOSE[3530] logger.c: -- Executing BackGround("Zap/26-1", 
"silence/1") in new stack

Apr 25 16:40:04 VERBOSE[3530] logger.c: -- Playing 'silence/1' (language 
'en')

Apr 25 16:40:05 VERBOSE[3530] logger.c: -- Executing BackGround("Zap/26-1", 
"maingreeting") in new stack

Apr 25 16:40:05 VERBOSE[3530] logger.c: -- Playing 'maingreeting' (language 
'en')

Apr 25 16:40:06 VERBOSE[3514] logger.c: == CDR updated on Zap/28-1

Apr 25 16:40:06 VERBOSE[3514] logger.c: -- Executing Macro("Zap/28-1", 
"dial|ZAP/1|101") in new stack

Apr 25 16:40:06 VERBOSE[3514] logger.c: -- Executing Dial("Zap/28-1", 
"ZAP/1|15|") in new stack

Apr 25 16:40:06 VERBOSE[3514] logger.c: -- Called 1

Apr 25 16:40:06 VERBOSE[3514] logger.c: -- Zap/1-1 is ringing

Apr 25 16:40:08 VERBOSE[3514] logger.c: -- Zap/1-1 is ringing

Apr 25 16:40:12 VERBOSE[3514] logger.c: -- Zap/1-1 answered Zap/28-1

Apr 25 16:40:12 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:18 VERBOSE[3530] logger.c: == CDR updated on Zap/26-1

Apr 25 16:40:18 VERBOSE[3530] logger.c: -- Executing Macro("Zap/26-1", 
"dial|ZAP/1|101") in new stack

Apr 25 16:40:18 VERBOSE[3530] logger.c: -- Executing Dial("Zap/26-1", 
"ZAP/1|15|") in new stack

Apr 25 16:40:18 VERBOSE[3530] logger.c: -- Called 1

Apr 25 16:40:19 VERBOSE[3530] logger.c: -- Zap/1-2 is ringing

Apr 25 16:40:19 VERBOSE[3514] logger.c: -- CPE does not support Call Waiting 
Caller*ID.

Apr 25 16:40:34 VERBOSE[3530] logger.c: -- Nobody picked up in 15000 ms

Apr 25 16:40:34 VERBOSE[3530] logger.c: -- Hungup 'Zap/1-2'

Apr 25 16:40:34 VERBOSE[3530] logger.c: -- Executing GotoIf("Zap/26-1", 
"0?s-NOANSWER|1") in new stack

Apr 25 16:40:34 VERBOSE[3530] logger.c: -- Executing Macro("Zap/26-1", 
"vm|101|NOANSWER") in new stack

Apr 25 16:40:34 VERBOSE[3530] logger.c: -- Executing Goto("Zap/26-1", 
"s-NOANSWER|1") in new stack

Apr 25 16:40:34 VERBOSE[3530] logger.c: -- Goto (macro-vm,s-NOANSWER,1)

Apr 25 16:40:34 VERBOSE[3530] logger.c: -- Executing VoiceMail("Zap/26-1", 
"u101") in new stack

Apr 25 16:40:34 VERBOSE[3530] logger.c: -- Playing 
'/var/spool/asterisk/voicemail/default/101/unavail' (language 'en')

Apr 25 16:40:35 VERBOSE[3514] logger.c: -- Started three way call on channel 
1

Apr 25 16:40:35 VERBOSE[3514] logger.c: -- Started music on hold, class 
'default', on channel 'Zap/28-1'

Apr 25 16:40:35 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:35 VERBOSE[3544] logger.c: -- Starting simple switch on 
'Zap/1-2'

Apr 25 16:40:36 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:38 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:38 NOTICE[3514] chan_zap.c: Avoiding deadlock...

Apr 25 16:40:38 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:38 NOTICE[3514] chan_zap.c: Avoiding deadlock...

Apr 25 16:40:38 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:38 NOTICE[3514] chan_zap.c: Avoiding deadlock...

Apr 25 16:40:38 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:38 NOTICE[3514] chan_zap.c: Avoiding deadlock...

Apr 25 16:40:38 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:38 NOTICE[3514] chan_zap.c: Avoiding deadlock...

Apr 25 16:40:38 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:38 NOTICE[3514] chan_zap.c: Avoiding deadlock...

Apr 25 16:40:38 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:38 NOTICE[3514] chan_zap.c: Avoiding deadlock...

Apr 25 16:40:38 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:38 NOTICE[3514] chan_zap.c: Avoiding deadlock...

Apr 25 16:40:38 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:38 NOTICE[3514] chan_zap.c: Avoiding deadlock...

Apr 25 16:40:38 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:38 NOTICE[3514] chan_zap.c: Avoiding deadlock...

..............continue

Apr 25 16:40:38 VERBOSE[3514] logger.c: -- Attempting native bridge of 
Zap/28-1 and Zap/1-1

Apr 25 16:40:38 VERBOSE[3544] logger.c: -- Stopped music on hold on Zap/28-1

Apr 25 16:40:38 VERBOSE[3544] logger.c: -- Hungup 'Zap/1-2'

Apr 25 16:40:38 VERBOSE[3511] logger.c: -- Playing 'vm-intro' (language 
'en')

Apr 25 16:40:40 VERBOSE[3514] logger.c: -- Hungup 'Zap/1-1'

-----------------------------------------





Thanks

Manish








More information about the asterisk-users mailing list