diff options
author | Anders Broman <anders.broman@ericsson.com> | 2005-02-03 21:51:35 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2005-02-03 21:51:35 +0000 |
commit | 72468bb0e5660867873a2febbeca74da83696d3d (patch) | |
tree | f9d72f9a7be3d94de52b9aadf939bdfbdcfbc440 /epan/dissectors/packet-isup.c | |
parent | 4d97ad9eb18d6556f7e78b81ac6ee3edbc29b2aa (diff) |
From Francisco Alcoba:
Patch for graphing ISUP calls. It shows the type of message,
in the first one the calling and called numbers, and in the second the SPs
and CIC; in releases it shows the cause value.
svn path=/trunk/; revision=13263
Diffstat (limited to 'epan/dissectors/packet-isup.c')
-rw-r--r-- | epan/dissectors/packet-isup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-isup.c b/epan/dissectors/packet-isup.c index 63880f559b..79ea708f9c 100644 --- a/epan/dissectors/packet-isup.c +++ b/epan/dissectors/packet-isup.c @@ -1318,6 +1318,7 @@ static dissector_handle_t q931_ie_handle = NULL; /* Info for the tap that must be passed between procedures */ gchar *tap_called_number = NULL; gchar *tap_calling_number = NULL; +guint8 tap_cause_value = 0; /* ------------------------------------------------------------------ Mapping number to ASCII-character @@ -1684,7 +1685,7 @@ dissect_isup_cause_indicators_parameter(tvbuff_t *parameter_tvb, proto_tree *par proto_tree_add_text(parameter_tree, parameter_tvb,0, -1, "Cause indicators (-> Q.850)"); dissect_q931_cause_ie(parameter_tvb,0,length, parameter_tree, - hf_isup_cause_indicator); + hf_isup_cause_indicator, &tap_cause_value); proto_item_set_text(parameter_item, "Cause indicators, see Q.850 (%u byte%s length)", length , plurality(length, "", "s")); } @@ -5368,6 +5369,7 @@ dissect_isup_message(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *isup tap_rec.calling_number=tap_calling_number; tap_rec.called_number=tap_called_number; + tap_rec.cause_value=tap_cause_value; tap_queue_packet(isup_tap, pinfo, &tap_rec); } |