[Asterisk-Users] stuck call on asterisk

rristroph at airlink.net rristroph at airlink.net
Fri Jun 2 08:31:22 MST 2006


Hi,

      I have an asterisk machine for which the calls reach it via IAX2.

      It appears to have a stuck call on it -- there are no channels open, but one call is active:

linux77*CLI> show channels
Channel              Location             State   Application(Data)             
0 active channels
1 active call
linux77*CLI>

      In addition, the /var/log/asterisk/fulllog is showing this continually:

Jun  2 10:20:34 NOTICE[4157] chan_iax2.c: Avoiding IAX destroy deadlock
Jun  2 10:20:34 NOTICE[4158] chan_iax2.c: Avoiding IAX destroy deadlock
Jun  2 10:20:34 NOTICE[4157] chan_iax2.c: Avoiding IAX destroy deadlock
Jun  2 10:20:34 NOTICE[4158] chan_iax2.c: Avoiding IAX destroy deadlock
Jun  2 10:20:34 NOTICE[4157] chan_iax2.c: Avoiding IAX destroy deadlock
Jun  2 10:20:34 NOTICE[4158] chan_iax2.c: Avoiding IAX destroy deadlock

      Calls to the specific DID that got "stuck" are never answered by this asterisk, although other calls coming in over the IAX2 get handled normally.

      I suspect the situation may have started when a call ran through a special contect that runs a shell script with System( ) and that script got stuck, but I am not sure.

      How can I kill the call to clear that DID ?  I tried doing "soft hangup" but that needs a channel, and there are no channels open just a call.

      Thanks in advance for any suggestions -- I have asked on IRC and done google searches and have not found anything, so any suggestions at all are welcome.  I know I can probably fix the problem by restarting asterisk, but I want to know the "right" way to do this in case it happens again.

--Rob
      



More information about the asterisk-users mailing list