aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-q931.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2006-12-21 22:24:33 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2006-12-21 22:24:33 +0000
commit14cafb271f1cadf90abbb0ad9b8f202cd0aada6c (patch)
tree83e75b161d8e3dedfbf9f1529829da521f8fc009 /epan/dissectors/packet-q931.c
parent686b41801c7e4fb1dd071b4f775f9448b5bf4e0c (diff)
From Alfred Alinazar:
The patch is to dissect unknown information element when an Avaya PBX use codeset = 6 to send display. svn path=/trunk/; revision=20189
Diffstat (limited to 'epan/dissectors/packet-q931.c')
-rw-r--r--epan/dissectors/packet-q931.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/packet-q931.c b/epan/dissectors/packet-q931.c
index 9ef88e8bf7..a15b419a49 100644
--- a/epan/dissectors/packet-q931.c
+++ b/epan/dissectors/packet-q931.c
@@ -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,