AWAITING FEEDBACK Unable to register trunk to vitelity hostname

nelsonfirst

New Member
Joined
Nov 17, 2010
Messages
3
Reaction score
0
Incredible PBX 13-12.2 for Scientific Linux 6.7.

System has been installed and working for months, registering to inbound41.vitelity.net. Now getting this error registering to that hostname;


ERROR[2785] netsock2.c: getaddrinfo("inbound41.vitelity.net", "(null)", ...): Temporary failure in name resolution

ERROR[2785] netsock2.c: getaddrinfo("inbound41.vitelity.net", "(null)", ...): Temporary failure in name resolution

I am able to register to Vitelity's IP so I was thinking DNS issue but the strange thing is I can ping, traceroute the same hostname fine. The weird thing is this is happening on two different servers within hours in different towns on different ISP's and different DNS servers. Any clues would be appreciated.
 

nelsonfirst

New Member
Joined
Nov 17, 2010
Messages
3
Reaction score
0
# Generated by NetworkManager

search local

nameserver 172.16.1.11

nameserver 172.16.1.20
 

vic peters

New Member
Joined
Dec 4, 2011
Messages
23
Reaction score
6
Source: whois.arin.net
IP Address: 172.16.1.20
Name: PRIVATE-ADDRESS-BBLK-RFC1918-IANA-RESERVED
Handle: NET-172-16-0-0-1
Registration Date: 3/15/94
Range: 172.16.0.0-172.31.255.255
Org: Internet Assigned Numbers Authority
Org Handle: IANA
Address: 12025 Waterfront Drive
Suite 300
City: Los Angeles
State/Province: CA
Postal Code: 90292
Country: UNITED STATES

don't know who those nameservers are provided by, but you might try 8.8.8.8 (google) and 4.2.2.2 (Level 3) and see if you can get resolution.
 

ostridge

Guru
Joined
Jan 22, 2015
Messages
1,636
Reaction score
523
nameserver 172.16.1.11

nameserver 172.16.1.20
@nelsonfirst You are clearly aware that those nameservers are located in <your.nelsonfirst.local> lan implying that your network has two (internet) nameservers running locally. You do not say how those nameservers are getting to connect with servers on the wwweb
- so - shouldn't there be at least a couple of internet dns nameservers configured in the list or somewhere, for resolution of any non local url.

I presume that you may be using systemd if so you will have configured /etc/dhcpcd.conf
something along the lines of see here
 
Last edited:

nelsonfirst

New Member
Joined
Nov 17, 2010
Messages
3
Reaction score
0
I have tried setting resolv.conf to google dns of 8.8.8.8 & changed it in /etc/sysconfig/network-scripts/ifcfg-eth0. But does not seem to fix asterisk.....remember I can still ping successfully from command line with all of these dns servers But Asterisk itself seems to have issue with name resolution. Here is a successful ping;


ping inbound41.vitelity.net
PING inbound41.vitelity.net (66.241.96.109) 56(84) bytes of data.
64 bytes from 66.241.96.109: icmp_seq=1 ttl=55 time=217 ms
64 bytes from 66.241.96.109: icmp_seq=2 ttl=55 time=172 ms
64 bytes from 66.241.96.109: icmp_seq=3 ttl=55 time=43.8 ms
64 bytes from 66.241.96.109: icmp_seq=4 ttl=55 time=79.8 ms

Then this is what I see in asterisk -rvvvvvvv

Connected to Asterisk 13.6.0 currently running on IncrediblePBX (pid = 2715)
[2017-03-24 15:39:51] WARNING[2785]: chan_sip.c:3740 __sip_xmit: sip_xmit of 0xb41ed1d0 (len 437) to (null) returned -1: Invalid argument
[2017-03-24 15:39:55] WARNING[2785]: chan_sip.c:3740 __sip_xmit: sip_xmit of 0xb41ed1d0 (len 437) to (null) returned -1: Invalid argument
[2017-03-24 15:39:55] ERROR[2785]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("inbound41.vitelity.net", "(null)", ...): Temporary failure in name resolution
[2017-03-24 15:39:55] WARNING[2785]: acl.c:800 resolve_first: Unable to lookup 'inbound41.vitelity.net'
 

ostridge

Guru
Joined
Jan 22, 2015
Messages
1,636
Reaction score
523
WARNING[2785]: chan_sip.c:3740 __sip_xmit: sip_xmit of 0xb41ed1d0 (len 437) to (null) returned -1
The warning says it is an invalid argument because the IPaddress and port is set to (null) so it seems to be going nowhere.
getaddrinfo("inbound41.vitelity.net", "(null)", ...): Temporary failure in name resolution
No idea why it doesn't resolve. Maybe there will be clues in the full log ???

A quick google brought up the following link:

netsock2.c: getaddrinfo("=", "(null)", ...): Temporary fail
 

Members online

No members online now.

Forum statistics

Threads
25,825
Messages
167,856
Members
19,250
Latest member
mark-curtis
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top