diff options
author | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-12-21 22:24:33 +0000 |
---|---|---|
committer | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-12-21 22:24:33 +0000 |
commit | 0c2f4e15e6efcf45edf1088f0b1314a5100e9b0c (patch) | |
tree | 83e75b161d8e3dedfbf9f1529829da521f8fc009 /epan/dissectors/packet-q931.c | |
parent | 2c1836e47a056857be4e4ad9cfe8a654b239040c (diff) |
From Alfred Alinazar:
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
Diffstat (limited to 'epan/dissectors/packet-q931.c')
-rw-r--r-- | epan/dissectors/packet-q931.c | 9 |
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, |