[asterisk-bugs] [JIRA] (ASTERISK-27193) IPv6 receive address in message doesn't include brackets

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Oct 13 13:01:22 CDT 2017


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

Asterisk Team updated ASTERISK-27193:
-------------------------------------

    Target Release Version/s: 14.7.0

> IPv6 receive address in message doesn't include brackets
> --------------------------------------------------------
>
>                 Key: ASTERISK-27193
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27193
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_messaging
>    Affects Versions: 13.0.0
>            Reporter: Scott Griepentrog
>            Assignee: Scott Griepentrog
>            Severity: Minor
>      Target Release: 14.7.0, 13.18.0
>
>
> When processing an incoming SIP MESSAGE, PJSIP attaches the IP address that the message was received from to the message in the variable PJSIP_RECVADDR.  When that IP address is in IPv6 format, the appending of a :PORT without also encapsulating the IPv6 address in brackets []'s results in an unparseable mess.  By setting an additional bit flag on the pj_sockaddr_print call, the brackets are added and this issue is avoided.



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



More information about the asterisk-bugs mailing list