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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Jul 15 13:18:04 CDT 2013


Rusty Newton created ASTERISK-22078:
---------------------------------------

             Summary: Properly handle implied Accept types for SIP event packages
                 Key: ASTERISK-22078
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22078
             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