aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isup.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-05-07 15:13:28 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-05-07 15:13:28 +0000
commit7afe87264d454769d4ff511808dc8c1e594cba8c (patch)
treee77531916255c5b6a3efdc525d9117f2e25d3e18 /epan/dissectors/packet-isup.c
parent82ff1fd754f2f400a697e68978e63f83822a258a (diff)
Decode the Israeli TCM and CAM messages.
svn path=/trunk/; revision=42465
Diffstat (limited to 'epan/dissectors/packet-isup.c')
-rw-r--r--epan/dissectors/packet-isup.c21
1 files changed, 19 insertions, 2 deletions
diff --git a/epan/dissectors/packet-isup.c b/epan/dissectors/packet-isup.c
index 8fb09f77c7..340a733d3c 100644
--- a/epan/dissectors/packet-isup.c
+++ b/epan/dissectors/packet-isup.c
@@ -7406,6 +7406,22 @@ dissect_israeli_backward_charging_message(tvbuff_t *message_tvb, proto_tree *isu
return offset;
}
+static int
+dissect_israeli_traffic_change_message(tvbuff_t *message_tvb, proto_tree *isup_tree)
+{
+ gint offset = 0;
+
+ proto_tree_add_item(isup_tree, hf_isup_israeli_charging_message_indicators_current, message_tvb, offset, 1, ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(isup_tree, hf_isup_israeli_charging_message_indicators_next, message_tvb, offset, 1, ENC_LITTLE_ENDIAN);
+ offset++;
+ proto_tree_add_item(isup_tree, hf_isup_israeli_time_indicator, message_tvb, offset, 1, ENC_LITTLE_ENDIAN);
+ offset++;
+ proto_tree_add_item(isup_tree, hf_isup_israeli_next_rate, message_tvb, offset, 2, ENC_LITTLE_ENDIAN);
+ offset += 2;
+
+ return offset;
+}
+
/* ------------------------------------------------------------------ */
static void
dissect_ansi_isup_message(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *isup_tree)
@@ -7944,9 +7960,10 @@ dissect_isup_message(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *isup
offset += dissect_israeli_backward_charging_message(parameter_tvb, isup_tree);
break;
case ISRAELI_TRAFFIC_CHANGE:
+ offset += dissect_israeli_traffic_change_message(parameter_tvb, isup_tree);
+ break;
case ISRAELI_CHARGE_ACK:
- bufferlength = tvb_length_remaining(message_tvb, offset);
- proto_tree_add_text(isup_tree, parameter_tvb, 0, bufferlength, "Not decoded yet");
+ /* No parameters */
break;
default:
bufferlength = tvb_length_remaining(message_tvb, offset);