[asterisk-users] Help troubleshooting "deadlocked" Asterisk

hugolivude hugolivude at gmail.com
Thu Jul 6 16:35:42 MST 2006


I'm having a heck of a time keeping my Astertisk box up an running:

Redhat 9
Asterisk 1.2.7.1
Digium TDM400 w/ 1 FXO + 2FXS
1 g729 codec

I have my Sip.conf set up to renew registrations every hour:

   maxexpirey=3600
   defaultexpirey=3600


When I look in the /var/log/asterisk/messages tho, I see that _almost_
every hour I get a 401 response:

Jul  6 03:45:45 WARNING[2229] chan_sip.c: Got authentication request
(401) on unknown REGISTER to
'<sip:6477235412 at 64.26.157.251>;tag=b27e1a1d33761e85846fc98f5f3a7e58.ea90'

Most of the time this doesn't cause a problem, I figure that it must
successfuly register on a retry.

I also frequently see messages like this:

Jul  6 04:45:32 WARNING[2229] chan_sip.c: Got 200 OK on REGISTER that
isn't a register

Again, doesn't ususally cause me a problem (although I'd love to
eliminate this).

Eventually tho, I do end up with a problem and I am ASSUMING that they
are related:  BOTH my ZAP and SIP channels will stop working.  The zap
channel reports that it's busy (can't call in or out):

Jul  6 19:09:25 NOTICE[9153]: app_dial.c:1029 dial_exec_full: Unable
to create channel of type 'ZAP' (cause 34 - Circuit/channel
congestion)

and the SIP channel reports that it's out of codecs:

Jul  6 13:59:52 WARNING[9033] codec_g729.c: Out of G.729 Encoder Licenses!

I'd really like to keep my box up and running for more than 2or3
consecutive days, so a few questions:

1) Are the 401 resgstration problems related to my SIP & ZAP dialling
problems?  Obviously if I'm not registered SIP would have a problem
but why would ZAP report busy?

2) Does this appear to be a problem at my end or my VoIP telephone
provider?  The odd thing is I use the same provider at work and don't
have this problem (work is however using an older version of Asterisk
V1.1.?? and a different dial plan),

3) How do I troubleshoot?

A portion of the mesages log leading up to the failure is shown below.
 I know that the system was up and running until Jul 6 12:20pm because
I got a voicemail at that time...

Thanks,
Hugh

Jul  5 21:09:14 NOTICE[8200] app_dial.c: Unable to create channel of
type 'ZAP' (cause 34 - Circuit/channel congestion)
Jul  5 23:56:26 WARNING[2239] chan_zap.c: zt hook failed: Device or
resource busy
Jul  6 02:45:58 WARNING[2229] chan_sip.c: Got 200 OK on REGISTER that
isn't a register
Jul  6 03:45:45 WARNING[2229] chan_sip.c: Got authentication request
(401) on unknown REGISTER to
'<sip:6477235412 at 64.26.157.251>;tag=b27e1a1d33761e85846fc98f5f3a7e58.ea90'
Jul  6 04:45:32 WARNING[2229] chan_sip.c: Got 200 OK on REGISTER that
isn't a register
Jul  6 04:45:33 WARNING[2229] chan_sip.c: Got 200 OK on REGISTER that
isn't a register
Jul  6 05:45:19 WARNING[2229] chan_sip.c: Got authentication request
(401) on unknown REGISTER to
'<sip:6477235412 at 64.26.157.251>;tag=b27e1a1d33761e85846fc98f5f3a7e58.654d'
Jul  6 06:45:06 WARNING[2229] chan_sip.c: Got authentication request
(401) on unknown REGISTER to
'<sip:6477235412 at 64.26.157.251>;tag=b27e1a1d33761e85846fc98f5f3a7e58.68ba'
Jul  6 07:44:53 WARNING[2229] chan_sip.c: Got authentication request
(401) on unknown REGISTER to
'<sip:6477235412 at 64.26.157.251>;tag=b27e1a1d33761e85846fc98f5f3a7e58.8d3b'
Jul  6 08:44:40 WARNING[2229] chan_sip.c: Got 200 OK on REGISTER that
isn't a register
Jul  6 09:38:58 NOTICE[8828] app_dial.c: Unable to create channel of
type 'ZAP' (cause 34 - Circuit/channel congestion)
Jul  6 09:44:26 WARNING[2229] chan_sip.c: Got authentication request
(401) on unknown REGISTER to
'<sip:6477235412 at 64.26.157.251>;tag=b27e1a1d33761e85846fc98f5f3a7e58.a1a2'
Jul  6 10:44:13 WARNING[2229] chan_sip.c: Got authentication request
(401) on unknown REGISTER to
'<sip:6477235412 at 64.26.157.251>;tag=b27e1a1d33761e85846fc98f5f3a7e58.ec80'
Jul  6 11:43:58 WARNING[2229] chan_sip.c: Got 200 OK on REGISTER that
isn't a register
Jul  6 12:20:38 NOTICE[8992] app_dial.c: Unable to create channel of
type 'ZAP' (cause 34 - Circuit/channel congestion)
Jul  6 12:43:45 WARNING[2229] chan_sip.c: Got authentication request
(401) on unknown REGISTER to
'<sip:6477235412 at 64.26.157.251>;tag=b27e1a1d33761e85846fc98f5f3a7e58.99ae'
Jul  6 13:43:31 WARNING[2229] chan_sip.c: Got 200 OK on REGISTER that
isn't a register
Jul  6 13:59:52 WARNING[9033] codec_g729.c: Out of G.729 Encoder Licenses!
Jul  6 13:59:52 WARNING[9033] codec_g729.c: Out of G.729 Encoder Licenses!
Jul  6 13:59:53 WARNING[9033] codec_g729.c: Out of G.729 Encoder Licenses!



More information about the asterisk-users mailing list