[asterisk-bugs] [JIRA] (ASTERISK-26780) PJSIP Registration Fails when transport=transport-udp6

Peter Sokolov (JIRA) noreply at issues.asterisk.org
Thu Feb 9 11:30:09 CST 2017


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

Peter Sokolov updated ASTERISK-26780:
-------------------------------------

    Description: 
Probably related to ASTERISK-26309.

When a section "type=registration" in pjsip.conf contains the line
transport=transport-udp6
registration fails even though the registrar hostname resolves to both, IPv4 and IPv6 address.

With "transport=transport-udp" registration is successfull to the IPv4 address of the registrar and without the line "transport=" line, registration is successfull to the IPv6 address of the registrar.

Debug messages show that with "transport=transport-udp6", Asterisk will only lookup DNS names of type 1 (A), 33 (SRV) and 35 (NAPTR), but not type 28 (AAAA), while in other two cases (transport-udp and without transport=) it will lookup DNS types 1, 33, 28 and 35.

I have not checked whether the behavior is similar when transport= is used on type=endpoint.

  was:
Probably related to ASTERISK-26309.

When a section "type=registration" in pjsip.conf contains the line
transport=transport-udp6
registration fails even though the registrar hostname resolves to IPv4 and IPv6 address.

With "transport=transport-udp" registration is successfull to the IPv4 address of the registrar and without the line "transport=" line, registration is successfull to the IPv6 address of the registrar.

Debug messages show that with "transport=transport-udp6", Asterisk will only lookup DNS names of type 1 (A), 33 (SRV) and 35 (NAPTR), but not type 28 (AAAA), while in other two cases (transport-udp and without transport=) it will lookup DNS types 1, 33, 28 and 35.

I have not checked whether the behavior is similar when transport= is used on type=endpoint.


> PJSIP Registration Fails when transport=transport-udp6
> ------------------------------------------------------
>
>                 Key: ASTERISK-26780
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26780
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 14.2.1
>            Reporter: Peter Sokolov
>            Severity: Trivial
>         Attachments: Debug-Log.txt, pjsip.conf
>
>
> Probably related to ASTERISK-26309.
> When a section "type=registration" in pjsip.conf contains the line
> transport=transport-udp6
> registration fails even though the registrar hostname resolves to both, IPv4 and IPv6 address.
> With "transport=transport-udp" registration is successfull to the IPv4 address of the registrar and without the line "transport=" line, registration is successfull to the IPv6 address of the registrar.
> Debug messages show that with "transport=transport-udp6", Asterisk will only lookup DNS names of type 1 (A), 33 (SRV) and 35 (NAPTR), but not type 28 (AAAA), while in other two cases (transport-udp and without transport=) it will lookup DNS types 1, 33, 28 and 35.
> I have not checked whether the behavior is similar when transport= is used on type=endpoint.



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



More information about the asterisk-bugs mailing list