[asterisk-bugs] [JIRA] (ASTERISK-21694) Peer with outbound proxy is resolved in DNS

Joshua Colp (JIRA) noreply at issues.asterisk.org
Wed Nov 27 18:30:03 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-21694:
-----------------------------------

    Attachment: ASTERISK-21694.diff

I've attached a patch which resolves this issue but due to lack of feedback/testing and potential regressions I am not going to commit it. If the situation changes and we become more comfortable then we can re-visit this.
                
> Peer with outbound proxy is resolved in DNS
> -------------------------------------------
>
>                 Key: ASTERISK-21694
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21694
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 1.8.21.0
>         Environment: OS/X
>            Reporter: Olle Johansson
>            Assignee: Joshua Colp
>         Attachments: ASTERISK-21694.diff
>
>
> Defining a peer with
> [mypeer]
> type=peer
> host=oej.digium.com
> outboundproxy=edvina.net
> Asterisk still tries to resolve "oej.digium.com" - it should not. This is just a domain to use as text when creating messages, it should not be resolved. This is something I fixed a long time ago.
> [Apr 25 21:08:20] ERROR[48717]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("oej.digium.com", "(null)", ...): nodename nor servname provided, or not known
> [Apr 25 21:08:20] WARNING[48717]: acl.c:590 resolve_first: Unable to lookup 'oej.digium.com'
> [Apr 25 21:08:20] DEBUG[48717]: chan_sip.c:28565 build_peer: Not an IPv4 nor IPv6 address, cannot get port.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list