Summary:ASTERISK-05078: Message-Account needs to be after Messages-Waiting per RFC3842
Reporter:Chris Custine (ccustine)Labels:
Date Opened:2005-09-13 21:52:59Date Closed:2008-01-15 15:48:24.000-0600
Versions:Frequency of
Description:Xten eyeBeam fails to parse MWI notification because it looks like it is expecting the order shown below in the spec.

5.2.  Body Format Syntax

  The formal syntax for the application/simple-message-summary MIME
  type is described below.  The message-context-class production is
  defined in Section 6.2 of RFC 3458 [7].  Note that all productions
  described here are case insensitive.

  message-summary = msg-status-line CRLF
                     [msg-account CRLF]
                     [*(msg-summary-line CRLF)]
                     [ *opt-msg-headers ]

  msg-status-line  = "Messages-Waiting" HCOLON msg-status
  msg-status = "yes" / "no"
  msg-account = "Message-Account" HCOLON Account-URI
  Account-URI = SIP-URI / SIPS-URI / absoluteURI
Comments:By: Michael Jerris (mikej) 2005-09-13 21:56:17

What rfc is that?

By: Chris Custine (ccustine) 2005-09-13 22:00:32

RFC3842 (in title of issue) http://www.ietf.org/rfc/rfc3842.txt

By: Michael Jerris (mikej) 2005-09-13 22:10:57

Oh.. that one.  sorry...

By: Michael Jerris (mikej) 2005-09-13 23:11:22

can you provide a disclaimed patch to correct this?

By: Kevin P. Fleming (kpfleming) 2005-09-14 18:07:38

Fixed in CVS HEAD.

By: Digium Subversion (svnbot) 2008-01-15 15:48:24.000-0600

Repository: asterisk
Revision: 6602

U   trunk/channels/chan_sip.c

r6602 | kpfleming | 2008-01-15 15:48:24 -0600 (Tue, 15 Jan 2008) | 2 lines

put items in RFC-specified order (issue ASTERISK-5078)