Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-isup.h
1/* packet-isup.h
2 *
3 * Copyright 2003, Michael Lum <mlum [AT] telostech.com>,
4 * In association with Telos Technology Inc.
5 *
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <[email protected]>
8 * Copyright 1998 Gerald Combs
9 *
10 * SPDX-License-Identifier: GPL-2.0-or-later
11 */
12
13#ifndef PACKET_ISUP_H
14#define PACKET_ISUP_H
15
16#include "ws_symbol_export.h"
17
18#define ISUP_MAX_NUM_MESSAGE_TYPES 256
19
20typedef struct _isup_tap_rec_t {
21 uint8_t message_type;
22 uint8_t itu_isup_variant;
23 /* added for VoIP calls analysis, see ui/voip_calls.c*/
24 char *called_number;
25 char *calling_number;
26 uint8_t cause_value;
27 uint32_t circuit_id;
29
30
31/*
32 * the following allows TAP code access to the messages
33 * without having to duplicate it. With MSVC and a
34 * libwireshark.dll, we need a special declaration.
35 */
36WS_DLL_PUBLIC value_string_ext isup_message_type_value_acro_ext;
37WS_DLL_PUBLIC value_string_ext q850_cause_code_vals_ext;
38/*
39 * Export some definitions and value_string tables for other dissectors
40 */
41
42/* Definition of Parameter Types */
43#define PARAM_TYPE_END_OF_OPT_PARAMS 0
44#define PARAM_TYPE_CALL_REF 1
45#define PARAM_TYPE_TRANSM_MEDIUM_REQU 2
46#define PARAM_TYPE_ACC_TRANSP 3
47#define PARAM_TYPE_CALLED_PARTY_NR 4
48#define PARAM_TYPE_SUBSQT_NR 5
49#define PARAM_TYPE_NATURE_OF_CONN_IND 6
50#define PARAM_TYPE_FORW_CALL_IND 7
51#define PARAM_TYPE_OPT_FORW_CALL_IND 8
52#define PARAM_TYPE_CALLING_PRTY_CATEG 9
53#define PARAM_TYPE_CALLING_PARTY_NR 10
54#define PARAM_TYPE_REDIRECTING_NR 11
55#define PARAM_TYPE_REDIRECTION_NR 12
56#define PARAM_TYPE_CONNECTION_REQ 13
57#define PARAM_TYPE_INFO_REQ_IND 14
58#define PARAM_TYPE_INFO_IND 15
59#define PARAM_TYPE_CONTINUITY_IND 16
60#define PARAM_TYPE_BACKW_CALL_IND 17
61#define PARAM_TYPE_CAUSE_INDICATORS 18
62#define PARAM_TYPE_REDIRECTION_INFO 19
63#define PARAM_TYPE_CIRC_GRP_SV_MSG_TYPE 21
64#define PARAM_TYPE_RANGE_AND_STATUS 22
65#define PARAM_TYPE_FACILITY_IND 24
66#define PARAM_TYPE_CLSD_USR_GRP_ILOCK_CD 26
67#define PARAM_TYPE_USER_SERVICE_INFO 29
68#define PARAM_TYPE_SIGNALLING_POINT_CODE 30
69#define PARAM_TYPE_USER_TO_USER_INFO 32
70#define PARAM_TYPE_CONNECTED_NR 33
71#define PARAM_TYPE_SUSP_RESUME_IND 34
72#define PARAM_TYPE_TRANSIT_NETW_SELECT 35
73#define PARAM_TYPE_EVENT_INFO 36
74#define PARAM_TYPE_CIRC_ASSIGN_MAP 37
75#define PARAM_TYPE_CIRC_STATE_IND 38
76#define PARAM_TYPE_AUTO_CONG_LEVEL 39
77#define PARAM_TYPE_ORIG_CALLED_NR 40
78#define PARAM_TYPE_OPT_BACKW_CALL_IND 41
79#define PARAM_TYPE_USER_TO_USER_IND 42
80#define PARAM_TYPE_ORIG_ISC_POINT_CODE 43
81#define PARAM_TYPE_GENERIC_NOTIF_IND 44
82#define PARAM_TYPE_CALL_HIST_INFO 45
83#define PARAM_TYPE_ACC_DELIV_INFO 46
84#define PARAM_TYPE_NETW_SPECIFIC_FACLTY 47
85#define PARAM_TYPE_USER_SERVICE_INFO_PR 48
86#define PARAM_TYPE_PROPAG_DELAY_COUNTER 49
87#define PARAM_TYPE_REMOTE_OPERATIONS 50
88#define PARAM_TYPE_SERVICE_ACTIVATION 51
89#define PARAM_TYPE_USER_TELESERV_INFO 52
90#define PARAM_TYPE_TRANSM_MEDIUM_USED 53
91#define PARAM_TYPE_CALL_DIV_INFO 54
92#define PARAM_TYPE_ECHO_CTRL_INFO 55
93#define PARAM_TYPE_MSG_COMPAT_INFO 56
94#define PARAM_TYPE_PARAM_COMPAT_INFO 57
95#define PARAM_TYPE_MLPP_PRECEDENCE 58
96#define PARAM_TYPE_MCID_REQ_IND 59
97#define PARAM_TYPE_MCID_RSP_IND 60
98#define PARAM_TYPE_HOP_COUNTER 61
99#define PARAM_TYPE_TRANSM_MEDIUM_RQUR_PR 62
100#define PARAM_TYPE_LOCATION_NR 63
101#define PARAM_TYPE_REDIR_NR_RSTRCT 64
102#define PARAM_TYPE_CALL_TRANS_REF 67
103#define PARAM_TYPE_LOOP_PREV_IND 68
104#define PARAM_TYPE_CALL_TRANS_NR 69
105#define PARAM_TYPE_CCSS 75
106#define PARAM_TYPE_FORW_GVNS 76
107#define PARAM_TYPE_BACKW_GVNS 77
108#define PARAM_TYPE_REDIRECT_CAPAB 78
109#define PARAM_TYPE_NETW_MGMT_CTRL 91
110#define PARAM_TYPE_CORRELATION_ID 101
111#define PARAM_TYPE_SCF_ID 102
112#define PARAM_TYPE_CALL_DIV_TREAT_IND 110
113#define PARAM_TYPE_CALLED_IN_NR 111
114#define PARAM_TYPE_CALL_OFF_TREAT_IND 112
115#define PARAM_TYPE_CHARGED_PARTY_IDENT 113
116#define PARAM_TYPE_CONF_TREAT_IND 114
117#define PARAM_TYPE_DISPLAY_INFO 115
118#define PARAM_TYPE_UID_ACTION_IND 116
119#define PARAM_TYPE_UID_CAPAB_IND 117
120#define PARAM_TYPE_REDIRECT_COUNTER 119
121#define PARAM_TYPE_APPLICATON_TRANS 120
122#define PARAM_TYPE_COLLECT_CALL_REQ 121
123#define PARAM_TYPE_CALLING_GEODETIC_LOCATION 129 /* ANSI is the same */
124#define PARAM_TYPE_GENERIC_NR 192
125#define PARAM_TYPE_GENERIC_DIGITS 193
126#define PARAM_TYPE_JURISDICTION 196
127#define PARAM_TYPE_GENERIC_NAME 199
128#define PARAM_TYPE_ORIG_LINE_INFO 234
129#define PARAM_TYPE_CHARGE_NR 235
130
131#define ANSI_ISUP_PARAM_TYPE_OPER_SERV_INF 0xC2 /* 194 */
132#define ANSI_ISUP_PARAM_TYPE_EGRESS 0xC3 /* 195 */
133#define ANSI_ISUP_PARAM_TYPE_JURISDICTION 0xC4 /* 196 */
134#define ANSI_ISUP_PARAM_TYPE_CARRIER_ID 0xC5 /* 197 */
135#define ANSI_ISUP_PARAM_TYPE_BUSINESS_GRP 0xC6 /* 198 */
136#define ANSI_ISUP_PARAM_TYPE_GENERIC_NAME 0xC7 /* 199*/
137#define ANSI_ISUP_PARAM_TYPE_NOTIF_IND 0xE1 /* 225 */
138
139#define ANSI_ISUP_PARAM_TYPE_CG_CHAR_IND 229
140#define ANSI_ISUP_PARAM_TYPE_CVR_RESP_IND 230
141#define ANSI_ISUP_PARAM_TYPE_OUT_TRK_GRP_NM 231
142#define ANSI_ISUP_PARAM_TYPE_CI_NAME_IND 232
143#define ANSI_ISUP_PARAM_CLLI_CODE 233
144
145#define ANSI_ISUP_PARAM_ORIG_LINE_INF 0xEA /* 234 */
146#define ANSI_ISUP_PARAM_CHRG_NO 0xEB /* 235 */
147#define ANSI_ISUP_PARAM_SERV_CODE_IND 0xEC /* 236 */
148#define ANSI_ISUP_PARAM_SPEC_PROC_REQ 0xED /* 237 */
149#define ANSI_ISUP_PARAM_CARRIER_SEL_INF 0xEE /* 238 */
150#define ANSI_ISUP_PARAM_NET_TRANS 0xEF /* 239 */
151
152extern const value_string isup_parameter_type_value[];
153
154extern value_string_ext isup_transmission_medium_requirement_value_ext;
155extern value_string_ext bearer_network_connection_characteristics_vals_ext;
156extern value_string_ext x213_afi_value_ext;
157
158WS_DLL_PUBLIC value_string_ext isup_calling_partys_category_value_ext;
159/*
160 * Export dissection of some parameters
161 */
162void dissect_nsap(tvbuff_t *parameter_tvb,int offset,int len, proto_tree *parameter_tree);
163WS_DLL_PUBLIC
164void dissect_isup_called_party_number_parameter(tvbuff_t *parameter_tvb, packet_info *pinfo, proto_tree *parameter_tree, proto_item *parameter_item);
165WS_DLL_PUBLIC
166void dissect_isup_calling_party_number_parameter(tvbuff_t *parameter_tvb, packet_info *pinfo, proto_tree *parameter_tree, proto_item *parameter_item);
167WS_DLL_PUBLIC
168void dissect_isup_calling_geodetic_location_parameter(tvbuff_t *parameter_tvb, packet_info *pinfo, proto_tree *parameter_tree, proto_item *parameter_item _U_);
169void dissect_isup_cause_indicators_parameter(tvbuff_t *parameter_tvb, proto_tree *parameter_tree, proto_item *parameter_item);
170WS_DLL_PUBLIC
171void dissect_isup_redirection_information_parameter(tvbuff_t *parameter_tvb, proto_tree *parameter_tree, proto_item *parameter_item);
172WS_DLL_PUBLIC
173void dissect_isup_original_called_number_parameter(tvbuff_t *parameter_tvb, packet_info *pinfo, proto_tree *parameter_tree, proto_item *parameter_item);
174WS_DLL_PUBLIC
175void dissect_isup_redirecting_number_parameter(tvbuff_t *parameter_tvb, packet_info *pinfo, proto_tree *parameter_tree, proto_item *parameter_item);
176
177void dissect_isup_location_number_parameter(tvbuff_t *parameter_tvb, packet_info *pinfo, proto_tree *parameter_tree, proto_item *parameter_item);
178
179void dissect_isup_generic_number_parameter(tvbuff_t *parameter_tvb, packet_info *pinfo, proto_tree *parameter_tree, proto_item *parameter_item);
180void dissect_isup_generic_digits_parameter(tvbuff_t *parameter_tvb, proto_tree *parameter_tree, proto_item *parameter_item _U_);
181
182void dissect_japan_isup_additonal_user_cat(tvbuff_t *parameter_tvb, packet_info *pinfo, proto_tree *parameter_tree, proto_item *parameter_item);
183extern int dissect_codec_mode(proto_tree *tree, tvbuff_t *tvb, int offset, int len);
184
185#endif /* PACKET_ISUP_H */
Definition packet-isup.h:20
Definition packet_info.h:43
Definition proto.h:901
Definition value_string.h:169
Definition value_string.h:25
Definition tvbuff-int.h:35