[asterisk-bugs] [JIRA] (ASTERISK-28648) chan_sip.c copy_via_headers() function not RFC 3261 compliant
Joshua C. Colp (JIRA)
noreply at issues.asterisk.org
Mon Dec 9 09:40:32 CST 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua C. Colp updated ASTERISK-28648:
--------------------------------------
Severity: Minor (was: Major)
> chan_sip.c copy_via_headers() function not RFC 3261 compliant
> -------------------------------------------------------------
>
> Key: ASTERISK-28648
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28648
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/General
> Affects Versions: 16.6.1
> Reporter: Bill Mandra
> Severity: Minor
>
> Per RFC 3261 8.2.6.2 Headers and Tags:
> The Via header field values in the response MUST equal the Via header field values in the request and MUST maintain the same ordering.
> However, the copy_via_headers function inserts "received=" or "received=;rport=" potentially into the middle of the header which does not maintain ordering of the field values.
> To be RFC 3261 compliant, received and rport should always be appended to the end of the via header.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list