[asterisk-bugs] [JIRA] (ASTERISK-21752) Asterisk peers with host=<dnsname> do not accept calls from all hosts in dnsname's multiple host SRV record set

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sat Jul 20 18:02:03 CDT 2013


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

Matt Jordan commented on ASTERISK-21752:
----------------------------------------

So, depending on how you squint at this, this could be a bug or it could be an improvement. Most likely, we'd treat it as an improvement to the existing DNS support.

There's no question that the current DNS support is lacking. However, inserting support for multiple hosts into DNS handling would probably be quite a large change - particularly if it was done correctly.

What does correctly mean?

Well, if your DNS handling supports multiple hosts, then every things that uses the DNS stack should get the benefit - that is, {{chan_sip}} and {{chan_iax}} and anyone else. Unfortunately, the channel drivers often don't expect requests to come from multiple IP addresses - so semantics changes in the DNS handling are bound to have a ripple effect up the stack.

As such, I'm concerned that this change would be difficult to do properly and not break existing deployments.

So will we do it in a new release?

12 is already pretty much feature frozen. The new SIP stack uses a different DNS handler, so it won't run into this problem and *should* support multiple host names. Because it uses a different DNS handler, that unfortunately means that other channel drivers and entities don't take advantage of it - so this is still a problem.

The best we could do would be to treat it as something to do for a future version of Asterisk. Whether or not it's still worthwhile to do *if* the new SIP stack takes off and it doesn't suffer from this problem becomes a real point of debate however.
                
> Asterisk peers with host=<dnsname> do not accept calls from all hosts in dnsname's multiple host SRV record set
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21752
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21752
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.3.0
>            Reporter: David Brillert
>
> When host=<dnsname> and the name is a SRV record set with multiple hosts, Asterisk does not accept incoming calls for all hosts in that SRV revcord set.
> Asterisk locks on the first host and ignores the rest in the list.

--
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