Re: [asterisk-users] Registering of Asterisk against a SIP provider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday, Feb 18, 2010 at 05:36:41 -0300, Administrator TOOTAI wrote: Hi Hi, Daniel. Daniel Bareiro a écrit : [...] Hours ago the IP changed and the domain was updated satisfactorily, but in spite of this I was obtaining the registering failures that I mentioned above. After to restart Asterisk (1.4.24.1), I no longer had this problem of registering. But there would be some way to solve this problem? [...] It's an old story. Asterisk check DNS when it start that's why it's ok after you have it restarted. When I was running Asterisk using dynamic addresses, I made following: - modify sip.conf to include a file placed where ever you want, contents being externalip/externalhosts and all others info needed related to external IP - restarted myself ADSL line with a cron script each night - this script extract/found the new IP using the method you prefer (eg ping your dyndns host until response and than you have your new IP and insert the IP in the file you include in sip.conf - this script restart asterisk and voila :-) Was working like a charm. As I said to Warren, according to the tests that I was doing, apparently this can be solved with both externip and externhost,restarting Asterisk in either cases. In the case of externhost we would be saving ourselves to have to modify the IP in sip.conf every time, but even so we would have to verify if the IP has changed for restarting Asterisk. I thought that perhaps this could be solved without restarting Asterisk. Thanks for your reply. Regards, Daniel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkt+kkYACgkQZpa/GxTmHTcpxwCfbwAbaYEzEv6rBqZIWQs5kLER STkAn00FEXGzD+berHCZYe20HLBnXZQU =xzIk -END PGP SIGNATURE- -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Registering of Asterisk against a SIP provider
Hi Daniel Bareiro a écrit : [...] Hours ago the IP changed and the domain was updated satisfactorily, but in spite of this I was obtaining the registering failures that I mentioned above. After to restart Asterisk (1.4.24.1), I no longer had this problem of registering. But there would be some way to solve this problem? [...] It's an old story. Asterisk check DNS when it start that's why it's ok after you have it restarted. When I was running Asterisk using dynamic addresses, I made following: - modify sip.conf to include a file placed where ever you want, contents being externalip/externalhosts and all others info needed related to external IP - restarted myself ADSL line with a cron script each night - this script extract/found the new IP using the method you prefer (eg ping your dyndns host until response and than you have your new IP and insert the IP in the file you include in sip.conf - this script restart asterisk and voila :-) Was working like a charm. -- Daniel -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Registering of Asterisk against a SIP provider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Warren. On Thursday, Feb 18, 2010 at 00:01:23 -0300, Warren Selby wrote: ; DGB - 20100211 externip = sysadminhaiku.com.ar localnet = 10.1.0.0/24 If you're using dynamic dns, shouldn't you be using externhost instead of externip? It can be. I was using externip because I found this reference in the Web on the recommendation to use it to somebody having registering problems. But I'm going to test this that you mention to me. Thanks for your reply. Regards, Daniel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkt9lWkACgkQZpa/GxTmHTe5IACfYNjZlblhxaX9tVhWeD8KeTJt //gAnivaaIcpE3a8+Nw5G0sW5cmUduZe =hBTi -END PGP SIGNATURE- -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Registering of Asterisk against a SIP provider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Warren. On Thursday, Feb 18, 2010 at 16:30:40 -0300, Daniel Bareiro wrote: ; DGB - 20100211 externip = sysadminhaiku.com.ar localnet = 10.1.0.0/24 If you're using dynamic dns, shouldn't you be using externhost instead of externip? It can be. I was using externip because I found this reference in the Web on the recommendation to use it to somebody having registering problems. But I'm going to test this that you mention to me. Changing the line of externip by the following one: externhost = sysadminhaiku.com.ar and forcing the router to change the public IP, I'm observing the same message that before I've commented even after to have restarted Asterisk: [Feb 18 17:24:50] NOTICE[20328]: chan_sip.c:7715 sip_reg_timeout:-- Registration for 'dan...@ekiga.net' timed out, trying again (Attempt #17) -- Got SIP response 606 Not Acceptable back from 86.64.162.35 Regards, Daniel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkt9o0AACgkQZpa/GxTmHTeNAwCeOEd3G2JcpH9YN1urIoM5gI9E rLcAn2Z+SiRtMt94rQdXuGSe6MRW0eMd =Jyag -END PGP SIGNATURE- -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Registering of Asterisk against a SIP provider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday, Feb 18, 2010 at 17:29:44 -0300, Daniel Bareiro wrote: ; DGB - 20100211 externip = sysadminhaiku.com.ar localnet = 10.1.0.0/24 If you're using dynamic dns, shouldn't you be using externhost instead of externip? It can be. I was using externip because I found this reference in the Web on the recommendation to use it to somebody having registering problems. But I'm going to test this that you mention to me. Changing the line of externip by the following one: externhost = sysadminhaiku.com.ar and forcing the router to change the public IP, I'm observing the same message that before I've commented even after to have restarted Asterisk Correction: if I restart Asterisk, the registering fails six times but after that it is registered. Then, it as much seems that with both externip and externhost, a restart of Asterisk is required. I thought that perhaps there would be some way to avoid this... Regards, Daniel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkt90DMACgkQZpa/GxTmHTfVSgCghupu+0PhJp159q7MglNjiZ6s //kAn1NaY29MaOLe55BtPgKN+td9KN5M =rGty -END PGP SIGNATURE- -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Registering of Asterisk against a SIP provider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, all! I'm being based on this document [1] to send and to receive calls using ekiga.net. But I'm seeing, in an Asterisk console, several messages of this type: [Feb 17 21:19:15] NOTICE[11875]: chan_sip.c:7715 sip_reg_timeout:-- Registration for 'dan...@ekiga.net' timed out, trying again (Attempt #4775) -- Got SIP response 606 Not Acceptable back from 86.64.162.35 Investigating in Internet I found that it can be due to that the registering is being tried to do with an not public IP. I've dynamic IP whose domain is updated using a dynamic DNS service. The line that I am using in sip.conf is the following one: ; DGB - 20100211 externip = sysadminhaiku.com.ar localnet = 10.1.0.0/24 Hours ago the IP changed and the domain was updated satisfactorily, but in spite of this I was obtaining the registering failures that I mentioned above. After to restart Asterisk (1.4.24.1), I no longer had this problem of registering. But there would be some way to solve this problem? Thanks in advance for your replies. Regards, Daniel [1] http://wiki.ekiga.org/index.php/Connecting_Asterisk_to_ekiga.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkt8j5oACgkQZpa/GxTmHTcV3QCeIyaEg9/1KtT7tOnDTGVLKhXl gvkAn1Cj8c52a30Hf1GX4bWnOyALbwpX =Vl61 -END PGP SIGNATURE- -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Registering of Asterisk against a SIP provider
On Wed, Feb 17, 2010 at 6:53 PM, Daniel Bareiro daniel-lis...@gmx.netwrote: ; DGB - 20100211 externip = sysadminhaiku.com.ar localnet = 10.1.0.0/24 If you're using dynamic dns, shouldn't you be using externhost instead of externip? -- Thanks, --Warren Selby http://www.selbytech.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users