[asterisk-dev] strange outbound-registration loop

Klaus Darilion klaus.mailinglists at pernau.at
Tue Aug 18 03:24:45 CDT 2009


Hi!

Yesterday I had a strange issue on an Asterisk 1.4.26.1:

[Aug 17 20:06:20] NOTICE[14509]: chan_sip.c:7829 sip_reg_timeout:
-- Registration for '1234567 at sipgate.at' timed out, trying again
(Attempt #272780)
[Aug 17 20:06:20] WARNING[14509]: chan_sip.c:1839 __sip_xmit: sip_xmit
of 0x51808ccc (len 597) to 217.10.79.13:5060 returned -1: Invalid
argument
[Aug 17 20:06:20] NOTICE[14509]: chan_sip.c:7829 sip_reg_timeout:
-- Registration for '1234567 at sipgate.at' timed out, trying again
(Attempt #272781)
.......
[Aug 17 20:06:20] WARNING[14509]: chan_sip.c:1839 __sip_xmit: sip_xmit
of 0x51b4dba4 (len 597) to 217.10.79.13:5060 returned -1: Invalid
argument
[Aug 17 20:06:20] NOTICE[14509]: chan_sip.c:7829 sip_reg_timeout:
-- Registration for '1234567 at sipgate.at' timed out, trying again
(Attempt #273301)


These were at least more than 500 retries within 1 second. Unfortunately 
I do not have a SIP trace, but I suspect that there were no messages 
even sent - it looks like the sendto() function failed with "Invalid
argument" and Asterisk tries to reregister immediately. Maybe some 
timeout should be added in such a case?

regards
Klaus



More information about the asterisk-dev mailing list