From Horaci Macias:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 13 Oct 2011 05:15:50 +0000 (05:15 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 13 Oct 2011 05:15:50 +0000 (05:15 +0000)
Parse User-to-User header
http://tools.ietf.org/html/draft-ietf-cuss-sip-uui-02

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6432

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39402 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-sip.c

index a362918023cc979423b4676875e8c58ca241cf8b..4f20934f612689f64f7f7b52c5f0f8298f06f770 100644 (file)
@@ -446,6 +446,8 @@ static const sip_header_t sip_headers[] = {
 #define POS_WWW_AUTHENTICATE            104
        { "Diversion",                      NULL },  /* 105 RFC5806  */
 #define POS_DIVERSION                   105
+       { "User-to-User",                   NULL },  /* 106 draft-johnston-sipping-cc-uui-09  */
+#define POS_USER_TO_USER                   106
 };
 
 
@@ -558,6 +560,7 @@ static gint hf_header_array[] = {
        -1, /* 103"Warning",                        RFC3261 */
        -1, /* 104"WWW-Authenticate",               RFC3261 */
        -1, /* 105"Diversion",                      RFC5806 */
+       -1, /* 106"User-to-User",  draft-johnston-sipping-cc-uui-09 */
 
 };
 
@@ -4323,6 +4326,11 @@ void proto_register_sip(void)
                       FT_STRING, BASE_NONE,NULL,0x0,
                        "RFC 5806: Diversion Header", HFILL }
                },
+               { &hf_header_array[POS_USER_TO_USER],
+                       { "User-to-User",       "sip.uui",
+                      FT_STRING, BASE_NONE,NULL,0x0,
+                       "draft-johnston-sipping-cc-uui-09: User-to-User header", HFILL }
+               },
                { &hf_sip_resend,
                        { "Resent Packet", "sip.resend",
                        FT_BOOLEAN, BASE_NONE, NULL, 0x0,