[asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com'
Hi, We are using Asterisk 1.6.2 and it is continually failing to resolve Verizon SRV and sending following message, WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com' DNS settings on OS level is working fine. Can anyone have an idea about it? Regards, Faisal Hanif -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com'
On Tue, Jun 15, 2010 at 07:50:36PM +0500, Faisal Hanif wrote: Hi, We are using Asterisk 1.6.2 and it is continually failing to resolve Verizon SRV and sending following message, WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com' DNS settings on OS level is working fine. Can anyone have an idea about it? I think asterisk only does UDP DNS queries. The response here is too long. $ dig _sip._udp.whsvoip.globalipcom.com SRV ;; Warning: Message parser reports malformed message packet. ;; Truncated, retrying in TCP mode. ; DiG 9.3.4 _sip._udp.whsvoip.globalipcom.com SRV ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 63565 ;; flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;_sip._udp.whsvoip.globalipcom.com. IN SRV ;; ANSWER SECTION: _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy20.nl.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy00.de.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy00.nl.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy00.uk.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy10.de.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy10.nl.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy10.uk.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy20.de.whsvoip.globalipcom.com. ;; Query time: 3 msec ;; SERVER: 66.92.213.114#53(66.92.213.114) ;; WHEN: Tue Jun 15 11:28:09 2010 ;; MSG SIZE rcvd: 515 -- Barry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com'
Hi, I am also wonder that same SRV record is working fine on one machine but not on 2nd while both have same asterisk version. It may be some missing OS utilities which asterisk using to resolve SRV? Regards, Faisal Hanif -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Barry Miller Sent: Tuesday, June 15, 2010 8:41 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com' On Tue, Jun 15, 2010 at 07:50:36PM +0500, Faisal Hanif wrote: Hi, We are using Asterisk 1.6.2 and it is continually failing to resolve Verizon SRV and sending following message, WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com' DNS settings on OS level is working fine. Can anyone have an idea about it? I think asterisk only does UDP DNS queries. The response here is too long. $ dig _sip._udp.whsvoip.globalipcom.com SRV ;; Warning: Message parser reports malformed message packet. ;; Truncated, retrying in TCP mode. ; DiG 9.3.4 _sip._udp.whsvoip.globalipcom.com SRV ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 63565 ;; flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;_sip._udp.whsvoip.globalipcom.com. IN SRV ;; ANSWER SECTION: _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy20.nl.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy00.de.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy00.nl.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy00.uk.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy10.de.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy10.nl.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy10.uk.whsvoip.globalipcom.com. _sip._udp.whsvoip.globalipcom.com. 860 IN SRV 0 0 5060 whs-proxy20.de.whsvoip.globalipcom.com. ;; Query time: 3 msec ;; SERVER: 66.92.213.114#53(66.92.213.114) ;; WHEN: Tue Jun 15 11:28:09 2010 ;; MSG SIZE rcvd: 515 -- Barry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com'
On Tue, Jun 15, 2010 at 09:35:37PM +0500, Faisal Hanif wrote: Hi, I am also wonder that same SRV record is working fine on one machine but not on 2nd while both have same asterisk version. It may be some missing OS utilities which asterisk using to resolve SRV? Could be. To test, does replacing whsvoip.globalipcom.com with, say, whs-proxy00.de.whsvoip.globalipcom.com (or whatever is reachable) make it work? What is different about the two machines you've tried? -- Barry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com'
Till now I am not able to find any difference between both machines. Can you please tell me how I can try to resolve it on OS level using some utility like dig? Regards, Faisal Hanif -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Barry Miller Sent: Tuesday, June 15, 2010 10:08 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com' On Tue, Jun 15, 2010 at 09:35:37PM +0500, Faisal Hanif wrote: Hi, I am also wonder that same SRV record is working fine on one machine but not on 2nd while both have same asterisk version. It may be some missing OS utilities which asterisk using to resolve SRV? Could be. To test, does replacing whsvoip.globalipcom.com with, say, whs-proxy00.de.whsvoip.globalipcom.com (or whatever is reachable) make it work? What is different about the two machines you've tried? -- Barry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com'
What OS are you running on the two systems? -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Jun 15, 2010, at 10:40 AM, Faisal Hanif wrote: Till now I am not able to find any difference between both machines. Can you please tell me how I can try to resolve it on OS level using some utility like dig? Regards, Faisal Hanif -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Barry Miller Sent: Tuesday, June 15, 2010 10:08 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com' On Tue, Jun 15, 2010 at 09:35:37PM +0500, Faisal Hanif wrote: Hi, I am also wonder that same SRV record is working fine on one machine but not on 2nd while both have same asterisk version. It may be some missing OS utilities which asterisk using to resolve SRV? Could be. To test, does replacing whsvoip.globalipcom.com with, say, whs-proxy00.de.whsvoip.globalipcom.com (or whatever is reachable) make it work? What is different about the two machines you've tried? -- Barry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com'
On Tue, 15 Jun 2010, Faisal Hanif wrote: Till now I am not able to find any difference between both machines. Can you please tell me how I can try to resolve it on OS level using some utility like dig? I'm not a DNS guru, but this is what I would do... ) Start with whois to determine the names of the authoritative name servers for the domain: whois example.com This shows that A.IANA-SERVERS.NET and B.IANA-SERVERS.NET are the authoritative name servers. ) Query each of the name servers to see who they think are the name servers: dig @A.IANA-SERVERS.NET example.com ns dig @B.IANA-SERVERS.NET example.com ns This shows that a.iana-servers.net and b.iana-servers.net. The difference in case is not significant. ) Query each name server to see if they can resolve the host name: dig @a.iana-servers.net whsvoip.example.com dig @b.iana-servers.net whsvoip.example.com ) If you are trying to use SRV records, use these queries: dig @a.iana-servers.net srv _sip._udp.example.com dig @b.iana-servers.net srv _sip._udp.example.com ) And just for fun, repeat the whole exercise on the other host. You're looking for failures or inconsistencies that may explain why you getting different behaviors. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com'
Both have CentOS 5.2. Regards, Faisal Hanif -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jim Dickenson Sent: Tuesday, June 15, 2010 11:30 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com' What OS are you running on the two systems? -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Jun 15, 2010, at 10:40 AM, Faisal Hanif wrote: Till now I am not able to find any difference between both machines. Can you please tell me how I can try to resolve it on OS level using some utility like dig? Regards, Faisal Hanif -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Barry Miller Sent: Tuesday, June 15, 2010 10:08 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com' On Tue, Jun 15, 2010 at 09:35:37PM +0500, Faisal Hanif wrote: Hi, I am also wonder that same SRV record is working fine on one machine but not on 2nd while both have same asterisk version. It may be some missing OS utilities which asterisk using to resolve SRV? Could be. To test, does replacing whsvoip.globalipcom.com with, say, whs-proxy00.de.whsvoip.globalipcom.com (or whatever is reachable) make it work? What is different about the two machines you've tried? -- Barry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com'
One thing I would do is something like On system one: rpm -qa | sort sys1 On system two: rpm -qa | sort sys2 Then on either system do a diff of these two files. If you only use yum or rpm to install and update software you can tell what is different between the two systems. -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Jun 15, 2010, at 12:23 PM, Faisal Hanif wrote: Both have CentOS 5.2. Regards, Faisal Hanif -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jim Dickenson Sent: Tuesday, June 15, 2010 11:30 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com' What OS are you running on the two systems? -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Jun 15, 2010, at 10:40 AM, Faisal Hanif wrote: Till now I am not able to find any difference between both machines. Can you please tell me how I can try to resolve it on OS level using some utility like dig? Regards, Faisal Hanif -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Barry Miller Sent: Tuesday, June 15, 2010 10:08 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com' On Tue, Jun 15, 2010 at 09:35:37PM +0500, Faisal Hanif wrote: Hi, I am also wonder that same SRV record is working fine on one machine but not on 2nd while both have same asterisk version. It may be some missing OS utilities which asterisk using to resolve SRV? Could be. To test, does replacing whsvoip.globalipcom.com with, say, whs-proxy00.de.whsvoip.globalipcom.com (or whatever is reachable) make it work? What is different about the two machines you've tried? -- Barry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com'
On Tue, Jun 15, 2010 at 10:40:06PM +0500, Faisal Hanif wrote: Till now I am not able to find any difference between both machines. Can you please tell me how I can try to resolve it on OS level using some utility like dig? On Tue, Jun 15, 2010 at 09:35:37PM +0500, Faisal Hanif wrote: Hi, I am also wonder that same SRV record is working fine on one machine but not on 2nd while both have same asterisk version. It may be some missing OS utilities which asterisk using to resolve SRV? Could be. To test, does replacing whsvoip.globalipcom.com with, say, whs-proxy00.de.whsvoip.globalipcom.com (or whatever is reachable) make it work? What is different about the two machines you've tried? Hmm. I see something odd. My initial dig came back with a length of 515 bytes. Then: ; DiG 9.3.4 @auth210.ns.uu.net _sip._udp.whsvoip.globalipcom.com SRV +ignore [lines deleted] ;; SERVER: 195.129.12.74#53(195.129.12.74) ;; WHEN: Tue Jun 15 16:39:09 2010 ;; MSG SIZE rcvd: 457 Then: ; DiG 9.3.4 @auth210.ns.uu.net _sip._udp.whsvoip.globalipcom.com SRV [lines deleted] ;; SERVER: 195.129.12.74#53(195.129.12.74) ;; WHEN: Tue Jun 15 16:39:59 2010 ;; MSG SIZE rcvd: 515 The difference is that sometimes one more server is returned, pushing the response over 512 bytes. Now it's back to 457. I suspect that they know there's a problem, and are trying to figure out what to do about it. (maybe shorten their server names by one or two characters each?) So depending on when each of your boxes happens to issue the SRV query, they could very well be identical but get different results. I doubt it will help, but you can try quoting RFC 2782, Currently there's a practical limit of 512 bytes for DNS replies. Until all resolvers can handle larger responses, domain administrators are strongly advised to keep their SRV replies below 512 bytes. -- Barry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users