Hello, all, I have a Linksys 3102 from a VoIP provider. It use SRV record to register to the provider's SIP server. When I configure this line into my Asterisk, the register doesn't work if I use their domain name. So it like this: If I use register => user:pwd at proxy.provider.com then I got: [2010-05-17 11:47:19] WARNING[2366] chan_sip.c: No such host: proxy.provider.com [2010-05-17 11:47:19] WARNING[2366] chan_sip.c: Probably a DNS error for registration to 8723472 at proxy.provider.com, trying REGISTER again (after 60 seconds) But if I use IP address instead, register => user:pwd at 123.122.12.12, it works. I am using Asterisk 1.4 on Centos 5.4. I am sure the network part is working because I can use "dig" to find our their A record and IP address of the SIP proxy. Also, I do have srvlookup=yes in my sip.conf. But that doesn't help. Did I missing something here? -- Jian Gao IT Technician SJ Geophysics Ltd. <http://www.sjgeophysics.com> jian.gao at sjgeophysics.com <mailto:jian.gao at sjgeophysics.com> Tel: (604)582-1100
This is another error msg from CLI: [2010-05-17 11:48:50] WARNING[10957]: acl.c:400 ast_get_ip_or_srv: Unable to lookup 'proxy.provider.com' Jian Gao wrote:> Hello, all, > > I have a Linksys 3102 from a VoIP provider. It use SRV record to > register to the provider's SIP server. > > When I configure this line into my Asterisk, the register doesn't work > if I use their domain name. > > So it like this: > If I use register => user:pwd at proxy.provider.com > then I got: > [2010-05-17 11:47:19] WARNING[2366] chan_sip.c: No such host: > proxy.provider.com > [2010-05-17 11:47:19] WARNING[2366] chan_sip.c: Probably a DNS error for > registration to 8723472 at proxy.provider.com, trying REGISTER again (after > 60 seconds) > > But if I use IP address instead, register => user:pwd at 123.122.12.12, it > works. > > I am using Asterisk 1.4 on Centos 5.4. I am sure the network part is > working because I can use "dig" to find our their A record and IP > address of the SIP proxy. > > Also, I do have srvlookup=yes in my sip.conf. But that doesn't help. > > Did I missing something here? > >-- Jian Gao IT Technician SJ Geophysics Ltd. <http://www.sjgeophysics.com> jian.gao at sjgeophysics.com <mailto:jian.gao at sjgeophysics.com> Tel: (604)582-1100