From Alfred Alinazar:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Dec 2006 22:24:33 +0000 (22:24 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Dec 2006 22:24:33 +0000 (22:24 +0000)
The patch is to dissect unknown information element when an Avaya PBX
use codeset = 6 to send display.

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

epan/dissectors/packet-q931.c

index 9ef88e8bf7ffebbf809006af1977e8a017b89a1f..a15b419a49f14bdb0fca6c8569da63f7a608800d 100644 (file)
@@ -427,6 +427,7 @@ static const value_string q931_info_element_vals6[] = {
        { Q931_IE_REDIRECTING_NUMBER,           "Redirecting number" },
        { Q931_IE_REDIRECTING_SUBADDR,          "Redirecting subaddress" },
        { Q931_IE_CALL_APPEARANCE,              "Call appearance" },
+        { Q931_IE_DISPLAY,                     "Avaya Display" }, /* if Avaya codeset to send display = 6 */
        { 0,                                    NULL }
 };
 /* Codeset 7 */
@@ -2978,6 +2979,14 @@ dissect_q931_IEs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *root_tree,
                                        }
                                        break;
 
+                                case CS6 | Q931_IE_DISPLAY:
+                                        if (q931_tree != NULL) {
+                                                dissect_q931_ia5_ie(tvb, offset + 2,
+                                                        info_element_len, ie_tree,
+                                                        "Avaya Display");
+                                        }
+                                        break;
+
                                default:
                                        if (q931_tree != NULL) {
                                                proto_tree_add_text(ie_tree, tvb,