[asterisk-users] Peer unreachable after IP change

Luca Bertoncello lucabert at lucabert.de
Mon Jun 8 00:18:47 CDT 2015


Hi list!

Another day, another problem...
I'm checking with Nagios my Asterisk at home, and since yesterday I noticed
that, after my IP changes (Deutsche Telekom drop the DSL-line every 24 hours,
so that I have a new IP every day), the peer of an VoIP-provider I use is
UNREACHABLE.
Yesterday I though it was a problem on the line, but today is the same, so I
think it is something other...
Yesterday I solved changing the Port from 5061 to 5060, but I don't want to
change the port every day... :)

On the Asterisk CLI I see:

OpenWrt*CLI> sip show registry 
Host                                    dnsmgr Username       Refresh State                Reg.Time                 
messagenet:5060                         N      5406013068         105 Unregistered         Mon, 08 Jun 2015 00:30:27

and every couple of seconds:

[Jun  8 07:17:52] WARNING[30003]: chan_sip.c:13784 transmit_register: Probably a DNS error for registration to 5406013068 at messagenet, trying REGISTER again (after 20 seconds)
[Jun  8 07:17:52] NOTICE[30003]: chan_sip.c:13656 sip_reg_timeout:    -- Registration for '5406013068 at messagenet' timed out, trying again (Attempt
#1218)

Could someone help me to understand the problem?

Thanks
Luca Bertoncello
(lucabert at lucabert.de)



More information about the asterisk-users mailing list