Question on error in verbose

FreePBX 2.9.0.7
Distro Version 1.87.29.55

While trouble shooting a sip trunk, on an outgoing call I receive the enclosed log.

I have “googled” it and only get hits on sip_xmit.

Thank you in advance,

Roger

[2011-11-17 14:47:49] ERROR[13609]: netsock2.c:263 ast_sockaddr_resolve: getaddrinfo(“velocity”, “(null)”, …): Name or service not known
[2011-11-17 14:47:49] WARNING[13609]: chan_sip.c:5330 create_addr: No such host: velocity
[2011-11-17 14:47:49] WARNING[13609]: acl.c:708 ast_ouraddrfor: Cannot connect
[2011-11-17 14:47:49] WARNING[13609]: chan_sip.c:3351 __sip_xmit: sip_xmit of 0xb741cdf0 (len 857) to (null) returned -1: Invalid argument
– Called SIP/velocity/18007774873
[2011-11-17 14:47:50] WARNING[3396]: chan_sip.c:3351 __sip_xmit: sip_xmit of 0xb741cdf0 (len 857) to (null) returned -1: Invalid argument
[2011-11-17 14:47:51] WARNING[3396]: chan_sip.c:3351 __sip_xmit: sip_xmit of 0xb741cdf0 (len 857) to (null) returned -1: Invalid argument
[2011-11-17 14:47:53] WARNING[3396]: chan_sip.c:3351 __sip_xmit: sip_xmit of 0xb741cdf0 (len 857) to (null) returned -1: Invalid argument
[2011-11-17 14:47:57] WARNING[3396]: chan_sip.c:3351 __sip_xmit: sip_xmit of 0xb741cdf0 (len 857) to (null) returned -1: Invalid argument
[2011-11-17 14:48:05] WARNING[3396]: chan_sip.c:3351 __sip_xmit: sip_xmit of 0xb741cdf0 (len 857) to (null) returned -1: Invalid argument
[2011-11-17 14:48:21] WARNING[3396]: chan_sip.c:3351 __sip_xmit: sip_xmit of 0xb741cdf0 (len 857) to (null) returned -1: Invalid argument

It appears that the system is doing a DNS lookup of the Trunk Name. Odd that this setup worked on an older FreePBX distro installation.

After changing the Trunk name to the SIP Proxy IP address, the calls are working fine.

Mind you that this is a fresh install, 3 extensions were created, and the sip trunk.