[asterisk-bugs] [JIRA] (ASTERISK-21678) IPv6-configured sip channel transmits to (null) for IPv4 register= hosts

Alexander Traud (JIRA) noreply at issues.asterisk.org
Wed Sep 28 09:40:01 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232446#comment-232446 ] 

Alexander Traud commented on ASTERISK-21678:
--------------------------------------------

Olle, I am browsing through the IPv6 issues currently. I am able to confirm your reported issue still today in Asterisk 13.11.2:{noformat}  ERROR: netsock2.c: ast_sockaddr_resolve: getaddrinfo("secure.dus.net", "(null)", ...): Name or service not known
WARNING:      acl.c:        resolve_first: Unable to lookup 'secure.dus.net'
WARNING: chan_sip.c:    transmit_register: Probably a DNS error for registration to user at secure.dus.net, trying REGISTER again (after 20 seconds)
 NOTICE: chan_sip.c:      sip_reg_timeout:    -- Registration for 'user at secure.dus.net' timed out, trying again (Attempt #2){noformat}Asterisk is trying again and again waiting for that register statement to be removed (or the DNS entry of that server to be updated with a Dual Stack configuration). Therefore, please explain which behavior you expect instead and which issues the current behavior cause. Should Asterisk fail and not try again? Or should the time period be longer than 20 seconds?

> IPv6-configured sip channel transmits to (null) for IPv4 register= hosts
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-21678
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21678
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/IPv6
>    Affects Versions: 1.8.21.0, 11.23.1, 13.11.2
>         Environment: OS/X
>            Reporter: Olle Johansson
>
> SIP.conf binds to a specific IPv6 address only.
> One register= line refers to a host that only has IPv4 addresses.
> The SIP channel is trying repeatedly to transmit to (null)
> [Apr 24 18:04:51] WARNING[27634]: acl.c:590 resolve_first: Unable to lookup 'host.example.com'
> is output, but the SIP channel tries to register anyway.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list