[asterisk-users] Peer unreachable after IP change

Andres andres at telesip.net
Mon Jun 15 19:36:44 CDT 2015


On 6/8/15 1:18 AM, Luca Bertoncello wrote:
> 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)
Since your IP has changed you probably need to do a 'sip reload' so that 
Asterisk learns about the new IP and can build the SIP headers with the 
correct IP.
>
> Could someone help me to understand the problem?
>
> Thanks
> Luca Bertoncello
> (lucabert at lucabert.de)
>


-- 
Technical Support
http://www.cellroute.net




More information about the asterisk-users mailing list