[asterisk-bugs] [JIRA] (ASTERISK-28544) Wrong contact representation in ipv6 mode

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Thu Sep 26 09:22:47 CDT 2019


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

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

That would mean the inconsistency is in res_pjsip_transport_websocket and isn't producing the value without the brackets as it should like the other transports.

> Wrong contact representation in ipv6 mode
> -----------------------------------------
>
>                 Key: ASTERISK-28544
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28544
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 16.6.0
>         Environment: Linux x64
>            Reporter: Jørgen H
>            Assignee: Jørgen H
>              Labels: pjsip
>
> res/res_pjsip.c and ast_sip_create_dialog_uas quotes ipv6 addresses with brackets [] when generating the contact address.
> The IP address is taken from transport local_name.host-variable which is already quoted with brackets by pjsip's pj_addr_str_print function. This result in Invalid URI and hangup errors when making a call in ipv6 mode



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



More information about the asterisk-bugs mailing list