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

Hi,

I am facing following issue in Asterisk CLI Debug. I am using Asterisk 13.

[2015-04-06 16:51:35] ERROR[6348] netsock2.c: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-06 16:51:35] WARNING[6348] acl.c: Unable to lookup ‘=’
[2015-04-06 16:51:35] ERROR[22573][C-0000055b] netsock2.c: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-06 16:51:35] WARNING[22573][C-0000055b] acl.c: Unable to lookup ‘=’
[2015-04-06 16:51:40] ERROR[6348] netsock2.c: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-06 16:51:40] WARNING[6348] acl.c: Unable to lookup ‘=’
[2015-04-06 16:51:40] ERROR[22573][C-0000055b] netsock2.c: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-06 16:51:40] WARNING[22573][C-0000055b] acl.c: Unable to lookup ‘=’
[2015-04-06 16:51:45] ERROR[6348] netsock2.c: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-06 16:51:45] WARNING[6348] acl.c: Unable to lookup ‘=’
[2015-04-06 16:51:45] ERROR[22573][C-0000055b] netsock2.c: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-06 16:51:45] WARNING[22573][C-0000055b] acl.c: Unable to lookup ‘=’
[2015-04-06 16:51:50] ERROR[6348] netsock2.c: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-06 16:51:50] WARNING[6348] acl.c: Unable to lookup ‘=’
[2015-04-06 16:51:50] ERROR[22573][C-0000055b] netsock2.c: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-06 16:51:50] WARNING[22573][C-0000055b] acl.c: Unable to lookup ‘=’
[2015-04-06 16:51:55] ERROR[6348] netsock2.c: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-06 16:51:55] WARNING[6348] acl.c: Unable to lookup ‘=’
[2015-04-06 16:51:55] ERROR[22573][C-0000055b] netsock2.c: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-06 16:51:55] WARNING[22573][C-0000055b] acl.c: Unable to lookup ‘=’
[2015-04-06 16:52:00] ERROR[6348] netsock2.c: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-06 16:52:00] WARNING[6348] acl.c: Unable to lookup ‘=’
[2015-04-06 16:52:00] ERROR[22573][C-0000055b] netsock2.c: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-06 16:52:00] WARNING[22573][C-0000055b] acl.c: Unable to lookup ‘=’

Due to this reason, I am getting the silent during call.

Regards,

Ketan

Temporary failure means that there has been a failure to contact a DNS server (possibly when your local server is relaying to a more distant one).

However the parameters given are invalid, which suggests that a VoIP peer has transmitted a malformed request or response. We will probably need to see the protocol level debugging for the VoIP technology driver that you are using.

It might also be an error in the technology driver configuration file, for which we will need to see that file.

Possible technologies include SIP, IAX and H.323.

For future support requests please use Asterisk Support. Asterisk General is for discussion.

Hi David,

Thanks for your reply. Sorry for that. I will sure take care that, I will post next issue on Asterisk Support.

I am using SIP for making call between two Asterisk server. This is happen when I am making call between two Asterisk server extensions.

Can you please tell me how can resolve this ?

Regards,

Ketan

Fix your SIP peer to be SIP client; or
Fix your configuration file to have the correct syntax; or
Fix you DNS server so that it responds with a definitely unknown response.

The last one is likely to change the error, rather than remove it.

To be able to tell what the problem is one would need SIP debugging logs and details of the SIP configuration.

DNS is outside the scope of Asterisk.

Here is the debug log.

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/1147
– SIP/1147-00000b45 is ringing
– SIP/1147-00000b45 answered SIP/branch1-00000b44
– Channel SIP/branch1-00000b44 joined ‘simple_bridge’ basic-bridge <40575078-004d-4a03-8152-ef074a629895>
– Channel SIP/1147-00000b45 joined ‘simple_bridge’ basic-bridge <40575078-004d-4a03-8152-ef074a629895>
> 0x7ff734a8c5a0 – Probation passed - setting RTP source address to 192.xx.xx.xx:11798
> 0x7ff72c447e30 – Probation passed - setting RTP source address to 192.xx.xx.xx:15402
> 0x7ff734a8c5a0 – Probation passed - setting RTP source address to 192.xx.xx.xx:11798
[2015-04-07 07:53:31] ERROR[29926][C-00000567]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:31] ERROR[6348]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:31] ERROR[6348]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:36] ERROR[29926][C-00000567]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:36] ERROR[6348]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:36] ERROR[6348]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:41] ERROR[6348]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:41] ERROR[6348]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:44] ERROR[29926][C-00000567]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:46] ERROR[6348]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:46] ERROR[6348]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:50] ERROR[29926][C-00000567]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:51] ERROR[6348]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
[2015-04-07 07:53:51] ERROR[6348]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("=", “(null)”, …): Temporary failure in name resolution
– Channel SIP/1147-00000b45 left ‘simple_bridge’ basic-bridge <40575078-004d-4a03-8152-ef074a629895>
– Channel SIP/branch1-00000b44 left ‘simple_bridge’ basic-bridge <40575078-004d-4a03-8152-ef074a629895>
== Spawn extension (branch1_incoming, 1147, 1) exited non-zero on ‘SIP/branch1-00000b44’

Below is the SIP configuration file…

[branch1]
type=friend
secret=welcome
qualify=yes
context=branch1_incoming
host=dynamic
canreinvite=no
nat=yes
disallow=all
allow=ulaw

Same context having with different name on other Asterisk PBX.

Regards,

Ketan

No SIP debugging provided.

The timing suggest that the peer sent garbled information in a re-INVITE.

For SIP debugging. Enable the full log in logger.conf. Set debug level to 5. Issue “sip set debug on”. Provide the information from the /var/log/asterisk/full.