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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Oct 1 06:35:48 CDT 2019


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

Friendly Automation commented on ASTERISK-28544:
------------------------------------------------

Change 12986 merged by George Joseph:
res_pjsip_transport_websocket: Don't put brackets around local_name if IPv6

[https://gerrit.asterisk.org/c/asterisk/+/12986|https://gerrit.asterisk.org/c/asterisk/+/12986]

> 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: Unassigned
>              Labels: patch, pjsip, webrtc
>         Attachments: 0001-res_pjsip_transport_websocket-Don-t-put-brackets-aro.patch
>
>
> 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