Wireshark-bugs: [Wireshark-bugs] [Bug 6432] SIP protocol: parse User-to-User header

Date: Wed, 5 Oct 2011 12:54:03 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6432

--- Comment #5 from Horaci Macias <horacimacias@xxxxxxxxx> 2011-10-05 12:54:02 PDT ---
sure; I've taken the following from
http://tools.ietf.org/html/draft-ietf-cuss-sip-uui-02:

INVITE sips:alice@xxxxxxxxxxx SIP/2.0
Via: SIP/2.0/TLS lab.example.com:5061;branch=z9hG4bKnashds9
To: Bob <sips:bob@xxxxxxxxxxx>
From: Carol <sips:carol@xxxxxxxxxxx>;tag=323sf33k2
Call-ID: dfaosidfoiwe83ifkdf
Max-Forwards: 70
Contact: <sips:carol@xxxxxxxxxxxxxxx>
Supported: histinfo
User-to-User: 342342ef34;encoding=hex
History-Info: <sips:bob@xxxxxxxxxxx>;index=1

and here's the BNF syntax, also from the same link:

        UUI         = "User-to-User" HCOLON uui-data *(SEMI uui-param)
        uui-data    = token
        uui-param   = enc-param / cont-param / app-param / generic-param
        enc-param   = "encoding" EQUAL ("hex" / token)
        cont-param  = "content" EQUAL token
        app-param   = "app" EQUAL token

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