Summary: | ASTERISK-22067: Properly handle implied Accept types for SIP event packages | ||
Reporter: | Mark Michelson (mmichelson) | Labels: | |
Date Opened: | 2013-07-11 13:27:38 | Date Closed: | 2013-08-22 12:50:01 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_pjsip |
Versions: | 12 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Currently, our handling of inbound SUBSCRIBE requests is too strict. We require that at least one Accept header is present in the SUBSCRIBE, otherwise we respond with an error condition.
As it turns out, event packages are required to define a default body type to be used if no Accept header is present in the SUBSCRIBE. This has been observed when using Counterpath's Bria softphone. Bria will send an MWI SUBSCRIBE to Asterisk that contains no Accept header. We reject the subscription, even though we should accept the subscription assuming that Bria will accept simple-message-summary bodies. | ||
Comments: |