Gopalakrishnan N
2013-Jun-23 10:39 UTC
[asterisk-users] IAX2 netsock error with name resolution
Am getting netsock error like this when using IAX2, Connected to Asterisk 11.2.1 currently running on indiaprimaryast01 (pid 4270) == Using SIP RTP CoS mark 5 -- Executing [2001 at Test:1] Dial("SIP/4090-00000005", "SIP/2001 at IAX2/IND-MAN,30") in new stack [Jun 23 06:31:36] NOTICE[4383][C-00000005]: chan_sip.c:29491 sip_request_call: Conflicting extension values given. Using '2001' and not 'IND-MAN' == Using SIP RTP CoS mark 5 [Jun 23 06:31:36] ERROR[4383][C-00000005]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("IAX2", "(null)", ...): Temporary failure in name resolution [Jun 23 06:31:36] WARNING[4383][C-00000005]: chan_sip.c:6191 create_addr: No such host: IAX2 [Jun 23 06:31:36] WARNING[4383][C-00000005]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent) == Everyone is busy/congested at this time (1:0/0/1) My hostname are proper, in /etc/hostname and /etc/sysconfig/network Even then am not able to find why am getting this error. Also am able to ping with my own hostname. Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130623/0e6cf502/attachment.htm>
<snip>> -- Executing [2001 at Test:1] Dial("SIP/4090-00000005","SIP/2001 at IAX2/IND-MAN,30") in new stack> [Jun 23 06:31:36] NOTICE[4383][C-00000005]: chan_sip.c:29491sip_request_call: Conflicting extension values given. Using '2001' and not 'IND-MAN'> == Using SIP RTP CoS mark 5 > [Jun 23 06:31:36] ERROR[4383][C-00000005]: netsock2.c:269ast_sockaddr_resolve: getaddrinfo("IAX2", "(null)", ...): Temporary failure in name resolution> [Jun 23 06:31:36] WARNING[4383][C-00000005]: chan_sip.c:6191 create_addr:No such host: IAX2> [Jun 23 06:31:36] WARNING[4383][C-00000005]: app_dial.c:2437dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)> == Everyone is busy/congested at this time (1:0/0/1)Try this syntax Dial(IAX2/IND-MAN/2001,30) Where IND-MAN is the name of a peer/friend [IND-MAN] defined in iax.conf and 2001 is the extension on the remote system 'IND-MAN' where 2001 dials SIP/2001 Alec Davis