Wireshark-bugs: [Wireshark-bugs] [Bug 3463] New: SIP Patch to include support for Max-Breadth, A

Date: Thu, 14 May 2009 12:09:09 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3463

           Summary: SIP Patch to include support for Max-Breadth, Answer-
                    Mode, Priv-Answer-Mode, Trigger-Consent and Permission
                    Missing headers
           Product: Wireshark
           Version: 1.1.x (Experimental)
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: carunach@xxxxxxxxx


Created an attachment (id=2996)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2996)
packet-sip.c.patch

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
This patch adds support for the following SIP headers :

1) Max-Breadth 
   http://www.ietf.org/rfc/rfc5393.txt

   Max-Breadth  =  "Max-Breadth" HCOLON 1*DIGIT


2) Answer-Mode and Priv-Answer-Mode 

   http://www.ietf.org/rfc/rfc5373.txt


     Answer-Mode = "Answer-Mode" HCOLON answer-mode-value
       *(SEMI answer-mode-param)

     Priv-Answer-Mode = "Priv-Answer-Mode" HCOLON answer-mode-value
       *(SEMI answer-mode-param)

     answer-mode-value = "Manual" / "Auto" / token

     answer-mode-param= "require" / generic-param

3) Trigger-Consent 

   http://www.ietf.org/rfc/rfc5360.txt

    Trigger-Consent     =  "Trigger-Consent" HCOLON trigger-cons-spec
                             *( COMMA trigger-cons-spec )
    trigger-cons-spec   =  ( SIP-URI / SIPS-URI )
                             *( SEMI trigger-param )
    trigger-param       =  target-uri / generic-param
    target-uri          =  "target-uri" EQUAL
                                 LDQUOT *( qdtext / quoted-pair ) RDQUOT



4) Permission-Missing

   http://www.ietf.org/rfc/rfc5360.txt

   Permission-Missing  =  "Permission-Missing" HCOLON per-miss-spec
                             *( COMMA per-miss-spec )
   per-miss-spec       =  ( name-addr / addr-spec )
                            *( SEMI generic-param )


It also fixes a bug in dissect_sip_uri to correctly set uri_offsets->uri_end 
when a comma is present.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.