Hi!
I have the following problem (on asterisk 1.8.7.1 and 1.8.8.0 rc2) -
When Register String is specified for a trunk error occurs ( in getaddrinfo function).
Steps to reproduce
- Create new trunk (was created using FreePBX)
- Specify Register String (user:password@hostname e.g. my hostname is sip.zadarma.com)
- Reload configuration
Expected Results - Trunk was activated normally
Actual Results - Following error occurred -
ERROR[24151]: netsock2.c:263 ast_sockaddr_resolve: getaddrinfo(“sip.zadarma.com”, “(null)”, …): No address associated with hostname
WARNING[24151]: acl.c:579 resolve_first: Unable to lookup 'sip.zadarma.com’
WARNING[24151]: acl.c:708 ast_ouraddrfor: Cannot connect
WARNING[24151]: chan_sip.c:3352 __sip_xmit: sip_xmit of 0x8a9d328 (len 398) to (null) returned -1: Invalid argument
What kind of problem is it? Should a report bug?