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)
-----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-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Guenther Boelter <gboelter at gmail.com> schrieb:> Don't use Port 5061, your SIP-port should be always even like 5060, > 5062, 5064 or 5066.Could you please explain why? I see in /etc/services, that 5060 is the port for SIP and 5061 for SIP-TLS, but I don't find anything for the other ports... Thanks Luca Bertoncello (lucabert at lucabert.de) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlV9FZMACgkQ8Ggznj+1EDgLiQCfdeeRUuERnrJyAB0BMk1d+nF6 UIEAoIxq2SLdanDobMQ20FioqW3H/Z3G =CEgn -----END PGP SIGNATURE-----
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