[Asterisk-Users] Avoiding initial deadlock on iax?

stevanus step-one-too at bdg.centrin.net.id
Wed Mar 29 02:06:16 MST 2006


Hi,

My asterisk sometimes stop responding to iax calls.

In the log, I've found this:

Mar 29 13:35:45 DEBUG[8386] channel.c: Avoiding initial deadlock for 
'IAX2/trunkjstpcn-3'
Mar 29 13:35:45 DEBUG[13002] chan_sip.c: update_call_counter(1409) - 
decrement call limit counter
Mar 29 13:35:45 DEBUG[8386] channel.c: Avoiding initial deadlock for 
'IAX2/trunkjstpcn-3'
Mar 29 13:35:45 DEBUG[8386] channel.c: Avoiding initial deadlock for 
'IAX2/trunkjstpcn-3'
Mar 29 13:35:45 DEBUG[8386] channel.c: Avoiding initial deadlock for 
'IAX2/trunkjstpcn-3'
Mar 29 13:35:45 DEBUG[8386] channel.c: Avoiding initial deadlock for 
'IAX2/trunkjstpcn-3'
Mar 29 13:35:45 DEBUG[8386] channel.c: Avoiding initial deadlock for 
'IAX2/trunkjstpcn-3'
Mar 29 13:35:45 DEBUG[8386] channel.c: Avoiding initial deadlock for 
'IAX2/trunkjstpcn-3'
Mar 29 13:35:45 DEBUG[8386] channel.c: Avoiding initial deadlock for 
'IAX2/trunkjstpcn-3'
Mar 29 13:35:45 DEBUG[8386] channel.c: Avoiding initial deadlock for 
'IAX2/trunkjstpcn-3'
Mar 29 13:35:45 WARNING[8386] channel.c: Avoided initial deadlock for 
'0x81d9530', 10 retries!

It happens unpredictably and all I can do just killall -9 asterisk :S.

When I execute iax2 show channels on CLI, I got messages that indicate 
many iax channel hung and I cannot do soft hangup to them :(.

Here is my iax.conf:

[general]
bindport = 4569           ; Port to bind to (IAX is 4569)
bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
tos=0x68 ;
bandwidth=low
jitterbuffer=yes
dropcount=2
disallow=all
allow=ilbc
;allow=g723.1
;allow=g729
;allow=ulaw
;allow=alaw
;allow=gsm
mailboxdetail=yes
....
the other settings on iax.conf are just iax2 account for trunk and 
personal use. So I cut them in order to save spaces...

Perhaps it's a bug?

I've found this http://bugs.digium.com/view.php?id=4045 ,  but from the 
link I read that it is just for H323 not for iax. Will that patch cure 
my asterisk problem since the symptom are the same?

Anyone has any ideas?

Thanks

Regards,

Stevanus



More information about the asterisk-users mailing list