aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-03-22 15:33:50 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-03-22 15:33:50 +0000
commit964599414183b0cbe1d7b0e78c9f8d6b38b7385c (patch)
tree47e0eb061dc2b86ebd122b8aa5237c733e6bdcba
parent982f9318bb00541476f445f076682586a8debe59 (diff)
Export q850_cause_code_vals as its's used by other dissector(s)
svn path=/trunk/; revision=13860
-rw-r--r--epan/dissectors/packet-etheric.c85
-rw-r--r--epan/dissectors/packet-isup.c4
-rw-r--r--epan/dissectors/packet-isup.h2
3 files changed, 4 insertions, 87 deletions
diff --git a/epan/dissectors/packet-etheric.c b/epan/dissectors/packet-etheric.c
index 7bd124929e..8642e1ff7f 100644
--- a/epan/dissectors/packet-etheric.c
+++ b/epan/dissectors/packet-etheric.c
@@ -636,90 +636,7 @@ dissect_etheric_backward_call_indicators_parameter(tvbuff_t *parameter_tvb,proto
Dissector Parameter Cause Indicators - no detailed dissection since defined in Rec. Q.850
*/
-/*
- * Cause codes for Cause.
- * The decoding of cause indicators parameter field are defined in ITU-T
- * Recommendation Q.850; those are different from the ones in the Q.931
- * dissector, as that has some values not specified by the standard but
- * that appear to be used for purposes other than the ones in Q.850.
- */
-static const value_string q850_cause_code_vals[] = {
- { 0x00, "Valid cause code not yet received" },
- { 0x01, "Unallocated (unassigned) number" },
- { 0x02, "No route to specified transit network" },
- { 0x03, "No route to destination" },
- { 0x04, "Send special information tone" },
- { 0x05, "Misdialled trunk prefix" },
- { 0x06, "Channel unacceptable" },
- { 0x07, "Call awarded and being delivered in an established channel" },
- { 0x08, "Preemption" },
- { 0x09, "Preemption - circuit reserved for reuse" },
- { 0x0E, "QoR: ported number" },
- { 0x10, "Normal call clearing" },
- { 0x11, "User busy" },
- { 0x12, "No user responding" },
- { 0x13, "No answer from user (user alerted)" },
- { 0x14, "Subscriber absent" },
- { 0x15, "Call rejected" },
- { 0x16, "Number changed" },
- { 0x17, "Redirection to new destination" },
- { 0x18, "Call rejected due to feature at the destination" },
- { 0x19, "Exchange routing error" },
- { 0x1A, "Non-selected user clearing" },
- { 0x1B, "Destination out of order" },
- { 0x1C, "Invalid number format (address incomplete)" },
- { 0x1D, "Facility rejected" },
- { 0x1E, "Response to STATUS ENQUIRY" },
- { 0x1F, "Normal unspecified" },
- { 0x21, "Circuit out of order" },
- { 0x22, "No circuit/channel available" },
- { 0x26, "Network out of order" },
- { 0x27, "Permanent frame mode connection out of service" },
- { 0x28, "Permanent frame mode connection operational" },
- { 0x29, "Temporary failure" },
- { 0x2A, "Switching equipment congestion" },
- { 0x2B, "Access information discarded" },
- { 0x2C, "Requested circuit/channel not available" },
- { 0x2E, "Precedence call blocked" },
- { 0x2F, "Resources unavailable, unspecified" },
- { 0x31, "Quality of service unavailable" },
- { 0x32, "Requested facility not subscribed" },
- { 0x35, "Outgoing calls barred within CUG" },
- { 0x37, "Incoming calls barred within CUG" },
- { 0x38, "Call waiting not subscribed" },
- { 0x39, "Bearer capability not authorized" },
- { 0x3A, "Bearer capability not presently available" },
- { 0x3E, "Inconsistency in designated outgoing access information and subscriber class" },
- { 0x3F, "Service or option not available, unspecified" },
- { 0x41, "Bearer capability not implemented" },
- { 0x42, "Channel type not implemented" },
- { 0x45, "Requested facility not implemented" },
- { 0x46, "Only restricted digital information bearer capability is available" },
- { 0x4F, "Service or option not implemented, unspecified" },
- { 0x51, "Invalid call reference value" },
- { 0x52, "Identified channel does not exist" },
- { 0x53, "Call identity does not exist for suspended call" },
- { 0x54, "Call identity in use" },
- { 0x55, "No call suspended" },
- { 0x56, "Call having the requested call identity has been cleared" },
- { 0x57, "Called user not member of CUG" },
- { 0x58, "Incompatible destination" },
- { 0x5A, "Non-existing CUG" },
- { 0x5B, "Invalid transit network selection (national use)" },
- { 0x5F, "Invalid message, unspecified" },
- { 0x60, "Mandatory information element is missing" },
- { 0x61, "Message type non-existent or not implemented" },
- { 0x62, "Message not compatible with call state or message type non-existent or not implemented" },
- { 0x63, "Information element nonexistant or not implemented" },
- { 0x64, "Invalid information element contents" },
- { 0x65, "Message not compatible with call state" },
- { 0x66, "Recovery on timer expiry" },
- { 0x67, "Parameter non-existent or not implemented - passed on" },
- { 0x6E, "Message with unrecognized parameter discarded" },
- { 0x6F, "Protocol error, unspecified" },
- { 0x7F, "Internetworking, unspecified" },
- { 0, NULL }
-};
+
/* ------------------------------------------------------------------
Dissector Message Type release message
diff --git a/epan/dissectors/packet-isup.c b/epan/dissectors/packet-isup.c
index 2a9e1294b9..7df8e98743 100644
--- a/epan/dissectors/packet-isup.c
+++ b/epan/dissectors/packet-isup.c
@@ -1,7 +1,7 @@
/* packet-isup.c
* Routines for ISUP dissection
* Copyright 2001, Martina Obermeier <martina.obermeier@icn.siemens.de>
- * Copyright 2004, Anders Broman <anders.broman@ericsson.com>
+ * Copyright 2004-2005, Anders Broman <anders.broman@ericsson.com>
* Modified 2003-09-10 by Anders Broman
* <anders.broman@ericsson.com>
* Inserted routines for BICC dissection according to Q.765.5 Q.1902 Q.1970 Q.1990,
@@ -1598,7 +1598,7 @@ dissect_isup_backward_call_indicators_parameter(tvbuff_t *parameter_tvb,proto_tr
* dissector, as that has some values not specified by the standard but
* that appear to be used for purposes other than the ones in Q.850.
*/
-static const value_string q850_cause_code_vals[] = {
+const value_string q850_cause_code_vals[] = {
{ 0x00, "Valid cause code not yet received" },
{ 0x01, "Unallocated (unassigned) number" },
{ 0x02, "No route to specified transit network" },
diff --git a/epan/dissectors/packet-isup.h b/epan/dissectors/packet-isup.h
index 5c04e29e9f..7f7015d450 100644
--- a/epan/dissectors/packet-isup.h
+++ b/epan/dissectors/packet-isup.h
@@ -42,7 +42,7 @@ typedef struct _isup_tap_rec_t {
*/
ETH_VAR_IMPORT const value_string isup_message_type_value[];
ETH_VAR_IMPORT const value_string isup_message_type_value_acro[];
-
+ETH_VAR_IMPORT const value_string q850_cause_code_vals[];
/*
* Export some definitions and value_string tables for other dissectors
*/