[asterisk-bugs] [JIRA] (ASTERISK-28386) res_pjsip does not follow DNS SRV priority values

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Thu Apr 18 04:25:47 CDT 2019


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

Joshua C. Colp commented on ASTERISK-28386:
-------------------------------------------

Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. Please read over the Asterisk Issue Guidelines [1] which discusses the information necessary for your issue to be resolved and the format that information needs to be in. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected and the location of documentation that led you to that expectation.
3. The behavior you actually encountered.

To demonstrate the issue in detail, please include Asterisk log files generated per the instructions on the wiki [2]. If applicable, please ensure that protocol-level trace debugging is enabled, e.g., 'sip set debug on' if the issue involves chan_sip, and configuration information such as dialplan and channel configuration.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

[2] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

In particular if under Asterisk 16 you could enable debug logging and do tests, that would show what the resolver is doing.

In the case of 13 we have no control over it or can see debug, as PJSIP itself does the resolution so getting data is difficult.

> res_pjsip does not follow DNS SRV priority values
> -------------------------------------------------
>
>                 Key: ASTERISK-28386
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28386
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.25.0, 13.26.0, 16.3.0
>         Environment: Sangoma Linux release 7.5.1805 (Core)
>            Reporter: Andy Chi
>              Labels: pjsip
>
> Using a provider that supports DNS SRV with the following output:
> _sip._udp.testing.st.sip.global. 299 IN   SRV     20 100 6000 dllstx37-access-sbc2.sip.global.
> _sip._udp.testing.st.sip.global. 299 IN   SRV     10 100 6000 plmomn-access-sbc2.sip.global.
> My expectation would be for registration and calls to always use the priority 10 server, however when running a simple channel originate script, I see calls round robin between the two entries.



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



More information about the asterisk-bugs mailing list