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

Scott Griepentrog (JIRA) noreply at issues.asterisk.org
Thu Aug 10 09:19:08 CDT 2017


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

Scott Griepentrog reassigned ASTERISK-27193:
--------------------------------------------

    Assignee: Scott Griepentrog

> 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
>
> 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