[asterisk-bugs] [JIRA] (ASTERISK-22067) Properly handle implied Accept types for SIP event packages

Mark Michelson (JIRA) noreply at issues.asterisk.org
Thu Jul 11 13:28:03 CDT 2013


Mark Michelson created ASTERISK-22067:
-----------------------------------------

             Summary: Properly handle implied Accept types for SIP event packages
                 Key: ASTERISK-22067
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22067
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_gulp
    Affects Versions: 12
            Reporter: Mark Michelson


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list