[asterisk-users] Peer unreachable after IP change

Guenther Boelter gboelter at gmail.com
Sat Jun 13 22:37:04 CDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 06/08/2015 01:18 PM, 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)
> 
> Could someone help me to understand the problem?

Don't use Port 5061, your SIP-port should be always even like 5060,
5062, 5064 or 5066.

Regards
Guenther

- -- 
DavaoSOFT, the home of ERPel
ERPel, das deutsche Warenwirtschaftssystem fuer LINUX
http://www.davaosoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJVfPbeAAoJEG6MZewV4LQA1i8H/jX0eimgTfWYzdz0yu91eete
MYKIzFByiNlCsBn6boLfcPw/4q4cTOGTGPEfpEh4sqv8B5qh6rR8BnBID2KG53Vr
gMieTlEgMLoKEkOJvnnir3YE1dWshGb/HwE5QPhGRtVD+Qf0qsMQ9KkmcKDZxGPZ
6vTm7iQfiau2kbi6UwY3804mpFA2Ve3cxx5/TJ4BPRuEYQCaS+0QbEMeV9tkv94B
+e6Ogh/+vp1kRqCOI1uZJ+OrOjyFpYLQS0qqaRcnyyEtAmyC5Ji5X3aUOHpzLRRo
3EbAiFSCN/5NdGfHLYjXZtZAWyVmSC5J+azXytMEiTw6KyGQc/7g7wHeL/MsFt4=
=AOBe
-----END PGP SIGNATURE-----



More information about the asterisk-users mailing list