Summary: | ASTERISK-28782: Add support for Content-Disposition header in multi-part INVITES | ||
Reporter: | Torrey Searle (tsearle) | Labels: | |
Date Opened: | 2020-03-19 04:29:57 | Date Closed: | 2020-03-31 11:07:25 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Resources/res_pjsip_session |
Versions: | 13.28.1 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | A certain carrier interconnect test requires us to reject certain invites containing content that is not currently supported by asterisk
This patch tries to implement the correct behavior as according to RFC5261 RFC 5621 says the following 8.1. Background on Content and Disposition Types in SIP The Content-Disposition header field, defined in [RFC2183] and extended by [RFC3261], describes how to handle a SIP message's body or an individual body part. Examples of disposition types used in SIP in the Content-Disposition header field are 'session' and 'render'. [RFC3204] and [RFC3459] define the 'handling' parameter for the Content-Disposition header field. This parameter describes how a UAS reacts if it receives a message body whose content type or disposition type it does not understand. If the parameter has the value 'optional', the UAS ignores the message body; if the parameter has the value 'required', the UAS returns a 415 (Unsupported Media Type) response. The default value for the 'handling' parameter is 'required'. The following is an example of a Content-Disposition header field: Content-Disposition: signal; handling=optional | ||
Comments: | By: Asterisk Team (asteriskteam) 2020-03-19 04:30:01.004-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur. By: Ross Beer (rossbeer) 2020-03-19 08:35:22.886-0500 A bit coincidental, but I've just experienced this issue with a UK carrier. I don't suppose you could cherry-pick the patch to version 16 too? By: Torrey Searle (tsearle) 2020-03-19 09:03:56.261-0500 Done [~rossbeer] :-) By: Friendly Automation (friendly-automation) 2020-03-31 11:07:26.514-0500 Change 13952 merged by Friendly Automation: res_pjsip_session: implement processing of Content-Disposition [https://gerrit.asterisk.org/c/asterisk/+/13952|https://gerrit.asterisk.org/c/asterisk/+/13952] By: Friendly Automation (friendly-automation) 2020-03-31 11:09:17.469-0500 Change 13982 merged by Friendly Automation: res_pjsip_session: implement processing of Content-Disposition [https://gerrit.asterisk.org/c/asterisk/+/13982|https://gerrit.asterisk.org/c/asterisk/+/13982] By: Friendly Automation (friendly-automation) 2020-03-31 11:10:27.204-0500 Change 14059 merged by Friendly Automation: res_pjsip_session: implement processing of Content-Disposition [https://gerrit.asterisk.org/c/asterisk/+/14059|https://gerrit.asterisk.org/c/asterisk/+/14059] By: Friendly Automation (friendly-automation) 2020-03-31 11:33:30.188-0500 Change 14060 merged by Friendly Automation: res_pjsip_session: implement processing of Content-Disposition [https://gerrit.asterisk.org/c/asterisk/+/14060|https://gerrit.asterisk.org/c/asterisk/+/14060] |