diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-11-09 21:13:28 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-11-09 21:13:28 +0000 |
commit | 8ddacbea333d7c348874d107bfe28c720b2d3a7f (patch) | |
tree | 5eefe21741e81e26c3e90b90c41f449d20e1f3cd /epan/dissectors/packet-isup.c | |
parent | 8bcf996fbd3647c29820374a988810450cfdd9e3 (diff) |
Fill th Q.850 tables.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34827 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-isup.c')
-rw-r--r-- | epan/dissectors/packet-isup.c | 113 |
1 files changed, 108 insertions, 5 deletions
diff --git a/epan/dissectors/packet-isup.c b/epan/dissectors/packet-isup.c index 9c4fa53b29..84c86a2863 100644 --- a/epan/dissectors/packet-isup.c +++ b/epan/dissectors/packet-isup.c @@ -2124,6 +2124,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. */ + /* The table is "filed" with "unassigned" to make full use of value_string_ext */ static const value_string q850_cause_code_vals[] = { { 0x00, "Valid cause code not yet received" }, { 0x01, "Unallocated (unassigned) number" }, @@ -2135,7 +2136,12 @@ static const value_string q850_cause_code_vals[] = { { 0x07, "Call awarded and being delivered in an established channel" }, { 0x08, "Preemption" }, { 0x09, "Preemption - circuit reserved for reuse" }, + { 0x0A, "Unassigned" }, + { 0x0B, "Unassigned" }, + { 0x0C, "Unassigned" }, + { 0x0D, "Unassigned" }, { 0x0E, "QoR: ported number" }, + { 0x0F, "Unassigned" }, { 0x10, "Normal call clearing" }, { 0x11, "User busy" }, { 0x12, "No user responding" }, @@ -2152,8 +2158,12 @@ static const value_string q850_cause_code_vals[] = { { 0x1D, "Facility rejected" }, { 0x1E, "Response to STATUS ENQUIRY" }, { 0x1F, "Normal unspecified" }, + { 0x20, "Unassigned" }, { 0x21, "Circuit out of order" }, { 0x22, "No circuit/channel available" }, + { 0x23, "Unassigned" }, + { 0x24, "Unassigned" }, + { 0x25, "Unassigned" }, { 0x26, "Network out of order" }, { 0x27, "Permanent frame mode connection out of service" }, { 0x28, "Permanent frame mode connection operational" }, @@ -2161,22 +2171,41 @@ static const value_string q850_cause_code_vals[] = { { 0x2A, "Switching equipment congestion" }, { 0x2B, "Access information discarded" }, { 0x2C, "Requested circuit/channel not available" }, + { 0x2D, "Unassigned" }, { 0x2E, "Precedence call blocked" }, { 0x2F, "Resources unavailable, unspecified" }, + { 0x30, "Unassigned" }, { 0x31, "Quality of service unavailable" }, { 0x32, "Requested facility not subscribed" }, + { 0x33, "Unassigned" }, + { 0x34, "Unassigned" }, { 0x35, "Outgoing calls barred within CUG" }, + { 0x36, "Unassigned" }, { 0x37, "Incoming calls barred within CUG" }, { 0x38, "Call waiting not subscribed" }, { 0x39, "Bearer capability not authorized" }, { 0x3A, "Bearer capability not presently available" }, + { 0x3B, "Unassigned" }, + { 0x3B, "Unassigned" }, + { 0x3D, "Unassigned" }, { 0x3E, "Inconsistency in designated outgoing access information and subscriber class" }, { 0x3F, "Service or option not available, unspecified" }, + { 0x40, "Unassigned" }, { 0x41, "Bearer capability not implemented" }, { 0x42, "Channel type not implemented" }, + { 0x43, "Unassigned" }, + { 0x44, "Unassigned" }, { 0x45, "Requested facility not implemented" }, { 0x46, "Only restricted digital information bearer capability is available" }, + { 0x47, "Unassigned" }, + { 0x48, "Unassigned" }, + { 0x49, "Unassigned" }, + { 0x4A, "Unassigned" }, + { 0x4B, "Unassigned" }, + { 0x4C, "Unassigned" }, + { 0x4D, "Unassigned" }, { 0x4F, "Service or option not implemented, unspecified" }, + { 0x50, "Unassigned" }, { 0x51, "Invalid call reference value" }, { 0x52, "Identified channel does not exist" }, { 0x53, "Call identity does not exist for suspended call" }, @@ -2185,8 +2214,12 @@ static const value_string q850_cause_code_vals[] = { { 0x56, "Call having the requested call identity has been cleared" }, { 0x57, "Called user not member of CUG" }, { 0x58, "Incompatible destination" }, + { 0x59, "Unassigned" }, { 0x5A, "Non-existing CUG" }, { 0x5B, "Invalid transit network selection (national use)" }, + { 0x5C, "Unassigned" }, + { 0x5D, "Unassigned" }, + { 0x5E, "Unassigned" }, { 0x5F, "Invalid message, unspecified" }, { 0x60, "Mandatory information element is missing" }, { 0x61, "Message type non-existent or not implemented" }, @@ -2196,8 +2229,29 @@ static const value_string q850_cause_code_vals[] = { { 0x65, "Message not compatible with call state" }, { 0x66, "Recovery on timer expiry" }, { 0x67, "Parameter non-existent or not implemented - passed on" }, + { 0x68, "Unassigned" }, + { 0x69, "Unassigned" }, + { 0x6A, "Unassigned" }, + { 0x6B, "Unassigned" }, + { 0x6C, "Unassigned" }, + { 0x6D, "Unassigned" }, { 0x6E, "Message with unrecognized parameter discarded" }, { 0x6F, "Protocol error, unspecified" }, + { 0x70, "Unassigned" }, + { 0x71, "Unassigned" }, + { 0x72, "Unassigned" }, + { 0x73, "Unassigned" }, + { 0x74, "Unassigned" }, + { 0x75, "Unassigned" }, + { 0x76, "Unassigned" }, + { 0x77, "Unassigned" }, + { 0x78, "Unassigned" }, + { 0x79, "Unassigned" }, + { 0x7A, "Unassigned" }, + { 0x7B, "Unassigned" }, + { 0x7C, "Unassigned" }, + { 0x7D, "Unassigned" }, + { 0x7E, "Unassigned" }, { 0x7F, "Internetworking, unspecified" }, { 0, NULL } }; @@ -2214,7 +2268,12 @@ static const value_string ansi_isup_cause_code_vals[] = { { 0x07, "Call awarded and being delivered in an established channel" }, { 0x08, "Preemption" }, { 0x09, "Preemption - circuit reserved for reuse" }, + { 0x0A, "Unassigned" }, + { 0x0B, "Unassigned" }, + { 0x0C, "Unassigned" }, + { 0x0D, "Unassigned" }, { 0x0E, "QoR: ported number" }, + { 0x0F, "Unassigned" }, { 0x10, "Normal call clearing" }, { 0x11, "User busy" }, { 0x12, "No user responding" }, @@ -2222,8 +2281,8 @@ static const value_string ansi_isup_cause_code_vals[] = { { 0x14, "Subscriber absent" }, { 0x15, "Call rejected" }, { 0x16, "Number changed" }, - { 23, "Unallocated destination number" }, - { 24, "Undefined business group" }, + { 0x17, "Unallocated destination number" }, + { 0X18, "Undefined business group" }, { 0x19, "Exchange routing error" }, { 0x1A, "Non-selected user clearing" }, { 0x1B, "Destination out of order" }, @@ -2231,8 +2290,12 @@ static const value_string ansi_isup_cause_code_vals[] = { { 0x1D, "Facility rejected" }, { 0x1E, "Response to STATUS ENQUIRY" }, { 0x1F, "Normal unspecified" }, + { 0x20, "Unassigned" }, { 0x21, "Circuit out of order" }, { 0x22, "No circuit/channel available" }, + { 0x23, "Unassigned" }, + { 0x24, "Unassigned" }, + { 0x25, "Unassigned" }, { 0x26, "Network out of order" }, { 0x27, "Permanent frame mode connection out of service" }, { 0x28, "Permanent frame mode connection operational" }, @@ -2240,25 +2303,40 @@ static const value_string ansi_isup_cause_code_vals[] = { { 0x2A, "Switching equipment congestion" }, { 0x2B, "Access information discarded" }, { 0x2C, "Requested circuit/channel not available" }, - { 45, "Preemption" }, + { 0x2d, "Preemption" }, { 0x2E, "Precedence call blocked" }, { 0x2F, "Resources unavailable, unspecified" }, { 0x31, "Quality of service unavailable" }, { 0x32, "Requested facility not subscribed" }, - { 51, "Call type incompatible with service request" }, + { 0x33, "Call type incompatible with service request" }, + { 0x34, "Unassigned" }, { 0x35, "Outgoing calls barred within CUG" }, { 54, "Call blocked due to group restriction" }, { 0x37, "Incoming calls barred within CUG" }, { 0x38, "Call waiting not subscribed" }, { 0x39, "Bearer capability not authorized" }, { 0x3A, "Bearer capability not presently available" }, + { 0x3B, "Unassigned" }, + { 0x3C, "Unassigned" }, + { 0x3D, "Unassigned" }, { 0x3E, "Inconsistency in designated outgoing access information and subscriber class" }, { 0x3F, "Service or option not available, unspecified" }, + { 0x40, "Unassigned" }, { 0x41, "Bearer capability not implemented" }, { 0x42, "Channel type not implemented" }, + { 0x43, "Unassigned" }, + { 0x44, "Unassigned" }, { 0x45, "Requested facility not implemented" }, { 0x46, "Only restricted digital information bearer capability is available" }, + { 0x47, "Unassigned" }, + { 0x48, "Unassigned" }, + { 0x49, "Unassigned" }, + { 0x4A, "Unassigned" }, + { 0x4B, "Unassigned" }, + { 0x4C, "Unassigned" }, + { 0x4D, "Unassigned" }, { 0x4F, "Service or option not implemented, unspecified" }, + { 0x50, "Unassigned" }, { 0x51, "Invalid call reference value" }, { 0x52, "Identified channel does not exist" }, { 0x53, "Call identity does not exist for suspended call" }, @@ -2267,8 +2345,12 @@ static const value_string ansi_isup_cause_code_vals[] = { { 0x56, "Call having the requested call identity has been cleared" }, { 0x57, "Called user not member of CUG" }, { 0x58, "Incompatible destination" }, + { 0x59, "Unassigned" }, { 0x5A, "Non-existing CUG" }, { 0x5B, "Invalid transit network selection (national use)" }, + { 0x5C, "Unassigned" }, + { 0x5D, "Unassigned" }, + { 0x5E, "Unassigned" }, { 0x5F, "Invalid message, unspecified" }, { 0x60, "Mandatory information element is missing" }, { 0x61, "Message type non-existent or not implemented" }, @@ -2278,9 +2360,30 @@ static const value_string ansi_isup_cause_code_vals[] = { { 0x65, "Message not compatible with call state" }, { 0x66, "Recovery on timer expiry" }, { 0x67, "Parameter non-existent or not implemented - passed on" }, + { 0x68, "Unassigned" }, + { 0x69, "Unassigned" }, + { 0x6A, "Unassigned" }, + { 0x6B, "Unassigned" }, + { 0x6C, "Unassigned" }, + { 0x6D, "Unassigned" }, { 0x6E, "Message with unrecognized parameter discarded" }, { 0x6F, "Protocol error, unspecified" }, - { 0x7F, "Internetworking, unspecified" }, + { 0x70, "Unassigned" }, + { 0x71, "Unassigned" }, + { 0x72, "Unassigned" }, + { 0x73, "Unassigned" }, + { 0x74, "Unassigned" }, + { 0x75, "Unassigned" }, + { 0x76, "Unassigned" }, + { 0x77, "Unassigned" }, + { 0x78, "Unassigned" }, + { 0x79, "Unassigned" }, + { 0x7A, "Unassigned" }, + { 0x7B, "Unassigned" }, + { 0x7C, "Unassigned" }, + { 0x7D, "Unassigned" }, + { 0x7E, "Unassigned" }, + { 0x7F, "Internetworking, unspecified" }, { 0, NULL } }; static value_string_ext ansi_isup_cause_code_vals_ext = VALUE_STRING_EXT_INIT(ansi_isup_cause_code_vals); |