2 * Routines for IP Device Control (SS7 over IP) dissection
3 * Copyright Lucent Technologies 2004
4 * Josh Bailey <joshbailey@lucent.com> and Ruud Linders <ruud@lucent.com>
6 * Using IPDC spec 0.20.2
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 1998 Gerald Combs
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29 #define TCP_PORT_IPDC 6668
30 #define TRANS_ID_SIZE_IPDC 4
32 #define TEXT_UNDEFINED "UNDEFINED"
34 #define IPDC_STR_LEN 255
49 static const value_string encoding_type_vals[] = {
50 { 0x00, "PCMU (G.711 mu-law)" },
52 { 0x08, "PCMA (G.711 A-law)" },
54 { 0x60, "Transparent data encoding" },
55 { 0x61, "T.38 fax over UPD" },
59 static const value_string line_status_vals[] = {
60 { 0x00, "Not present" },
62 { 0x02, "Red alarm (loss of sync)" },
63 { 0x03, "Yellow alarm" },
64 { 0x04, "Other alarm or error" },
70 static const value_string channel_status_vals[] = {
71 { 0x00, "Not present" },
72 { 0x01, "Out of service" },
73 { 0x03, "Maintenance (continuity test pending/in progress)" },
77 { 0x07, "In use (dialing, ringing, etc.)" },
78 { 0x08, "Connected" },
84 static const value_string message_code_vals[] = {
85 { 0x0082, "SS -> GW: ASUP: Acknowledgment to NSUP" },
86 { 0x0084, "SS -> GW: LNK: Link Active" },
87 { 0x0087, "SS -> GW: RCGST: Request Congestion Status" },
88 { 0x00FF, "SS -> GW: MRJ: Message reject." },
89 { 0x0041, "SS -> GW: RMS: Request module status" },
90 { 0x0043, "SS -> GW: RLS: Request line status" },
91 { 0x0045, "SS -> GW: RCS: Request channel status" },
92 { 0x0051, "SS -> GW: SMS: Set a module to a given state" },
93 { 0x0053, "SS -> GW: SLS: Set a line to a given state" },
94 { 0x0055, "SS -> GW: SCS: Set a group of channels to a given state" },
95 { 0x0047, "SS -> GW: RRS: Request RTP port Status" },
96 { 0x0048, "SS -> GW: RARS: Request All RTP port Status" },
97 { 0x0091, "SS -> GW: RSI: Request system information" },
98 { 0x0001, "SS -> GW: RCSI: Request inbound call setup" },
99 { 0x0009, "SS -> GW: RCST: Request pass-through call setup (TDM connection between two channels)" },
100 { 0x0013, "SS -> GW: RCCP: Request packet call setup" },
101 { 0x0015, "SS -> GW: RMPC: Modify/Query request packet call" },
102 { 0x0011, "SS -> GW: RCR: Release channel request" },
103 { 0x0012, "SS -> GW: ACR: Release channel complete" },
104 { 0x0061, "SS -> GW: PCT: Prepare channel for continuity test" },
105 { 0x0063, "SS -> GW: SCT: Start continuity test procedure with far end as loopback (Generate tone and check for received tone)" },
106 { 0x0073, "SS -> GW: STN: Send tones" },
107 { 0x0071, "SS -> GW: LTN: Listen for tones" },
108 { 0x007D, "SS -> GW: RTE: Request Test Echo" },
109 { 0x007E, "SS -> GW: ARTE: Response to Request Test Echo" },
110 { 0x0079, "SS -> GW: NATV: Native Mode Q.931 Signaling Transport" },
111 { 0x007A, "SS -> GW: TUNL: Tunneled Transport of signaling protocol data units" },
112 { 0x0081, "GW -> SS: NSUP: Notify the soft switch that the GW is coming up" },
113 { 0x0083, "GW -> SS: NSDN: Indication that the GW is going down" },
114 { 0x0085, "GW -> SS: ALNK: Acknowledgement to Link Active" },
115 { 0x0086, "GW -> SS: SLNK: Link Status" },
116 { 0x0088, "GW -> SS: CGST: Congestion Status" },
117 { 0x00FF, "GW -> SS: MRJ: Message reject." },
118 { 0x0042, "GW -> SS: NMS: Notify module status" },
119 { 0x0044, "GW -> SS: NLS: Notify line status" },
120 { 0x0046, "GW -> SS: NCS: Notify channel status" },
121 { 0x0056, "GW -> SS: RSCS: Response to SCS" },
122 { 0x0049, "GW -> SS: NRS: Notify RTP port Status" },
123 { 0x004A, "GW -> SS: NARS: Notify All RTP port Status" },
124 { 0x0092, "GW -> SS: NSI: Notify System Information" },
125 { 0x0002, "GW -> SS: ACSI: Accept inbound call setup" },
126 { 0x0003, "GW -> SS: CONI: Connect inbound call (answer)" },
127 { 0x0014, "GW -> SS: ACCP: Accept packet call setup" },
128 { 0x0016, "GW -> SS: AMPC: Accept modify to packet call" },
129 { 0x000A, "GW -> SS: ACST: Accept pass-through call" },
130 { 0x0011, "GW -> SS: RCR: Release channel request" },
131 { 0x0012, "GW -> SS: ACR: Release channel complete" },
132 { 0x0062, "GW -> SS: APCT: Response to PCT" },
133 { 0x0064, "GW -> SS: ASCT: Continuity test result" },
134 { 0x0074, "GW -> SS: ASTN: Completion result of STN command" },
135 { 0x0072, "GW -> SS: ALTN: Response to Listen for tones" },
136 { 0x00F0, "GW -> SS: NTN: Notify ToNe" },
137 { 0x007D, "GW -> SS: RTE: Request Test Echo" },
138 { 0x007E, "GW -> SS: ARTE: Response to Request Test Echo" },
139 { 0x0079, "GW -> SS: NATV: Native Mode Q.931 Signaling Transport" },
140 { 0x007A, "GW -> SS: TUNL: Tunneled Transport of signaling protocol data units" },
141 { 0x0005, "TD -> SS: RCSO: Request outbound call setup" },
142 { 0x0006, "SS -> TD: ACSO: Accept outbound call setup" },
143 { 0x0007, "SS -> TD: CONO: Outbound call connected" },
147 static const value_string tag_description[] = {
148 { 0x01, "Protocol version" },
149 { 0x02, "System ID/ Serial Number" },
150 { 0x03, "System type" },
151 { 0x04, "Maximum number of modules (slot cards) supported" },
152 { 0x05, "Bay number" },
153 { 0x07, "Module number" },
154 { 0x0A, "Module type" },
155 { 0x0C, "Module status" },
156 { 0x0D, "Line number" },
157 { 0x14, "Line status" },
158 { 0x15, "Channel number" },
159 { 0x17, "Bearer capability" },
160 { 0x18, "Calling party number" },
161 { 0x19, "Dialed number" },
162 { 0x1B, "Primary SS IP address" },
163 { 0x1C, "Primary SS TCP port" },
164 { 0x20, "Number of lines in the Line status array" },
165 { 0x21, "Line status array" },
166 { 0x22, "Number of channels in the Channel status array" },
167 { 0x23, "Channel status array" },
168 { 0x24, "Requested module state" },
169 { 0x25, "Requested line state" },
170 { 0x26, "Requested channel status action" },
171 { 0x27, "Set channel status option" },
172 { 0x28, "Channel number first (for grouping)" },
173 { 0x29, "End Channel Number (for grouping)" },
174 { 0x2A, "Set channel status result" },
175 { 0x2B, "Prepare for continuity check result" },
176 { 0x2C, "Continuity timeout (ms)" },
177 { 0x2D, "Continuity test result" },
178 { 0x31, "Maximum time between digits in digits recognition/ tone" \
179 "detection (inter-digit time-out) (ms)" },
180 { 0x32, "Tone string length" },
181 { 0x33, "Tone string" },
182 { 0x34, "Tone to complete collection" },
183 { 0x35, "Tone listen completion status" },
184 { 0x36, "Tone send completion status" },
185 { 0x37, "TDM destination Module" },
186 { 0x38, "TDM destination Line" },
187 { 0x39, "TDM destination channel" },
188 { 0x3A, "DTMF send IP address" },
189 { 0x3B, "DTMF send RTP port number" },
190 { 0x3C, "DTMF send format" },
191 { 0x3D, "DTMF Named Events to Expect" },
192 { 0x3E, "DTMF Payload Indicator" },
193 { 0x40, "Access server Call identifier" },
194 { 0x46, "Maximum time for digit collection (ms)" },
195 { 0x49, "Tone Type" },
196 { 0x4A, "Apply/Cancel Tone" },
197 { 0x5D, "Destination listen IP address" },
198 { 0x5E, "Destination listen RTP port number" },
199 { 0x5F, "Destination send IP address" },
200 { 0x60, "Destination send RTP port number" },
201 { 0x65, "Source port type" },
202 { 0x66, "Destination port type" },
203 { 0x67, "Start RTP Port Number" },
204 { 0x68, "End RTP Port Number" },
205 { 0x69, "Rogue Session Addresses" },
206 { 0x6A, "RTP Port Status" },
207 { 0x6F, "Receive Encoding Type" },
208 { 0x70, "Send Encoding Type" },
209 { 0x71, "Silence Suppression Activation Timer (ms)" },
210 { 0x72, "Comfort Noise Generation" },
211 { 0x73, "Packet Loading (ms)" },
212 { 0x74, "Echo Cancellation" },
213 { 0x75, "Constant DTMF Tone Detection on/off" },
214 { 0x76, "Constant MF Tone Detection on/off" },
215 { 0x77, "Constant Fax tone detection on/off" },
216 { 0x78, "Constant Modem tone detection on/off" },
217 { 0x7B, "Constant Packet Loss Detection on/off" },
218 { 0x7C, "Packet Loss Threshold" },
219 { 0x7D, "Constant Latency Threshold Detection on/off" },
220 { 0x7E, "Latency Threshold (ms)" },
221 { 0x86, "Announcement treatment" },
222 { 0x90, "Packet Statistics Reset Indicator" },
223 { 0x91, "Number of audio packets sent" },
224 { 0x92, "Number of audio packets dropped" },
225 { 0x93, "Number of audio bytes sent" },
226 { 0x94, "Number of audio bytes dropped" },
227 { 0x95, "Number of signaling packets sent" },
228 { 0x96, "Number of signaling packets dropped" },
229 { 0x97, "Number of signaling bytes sent" },
230 { 0x98, "Number of signaling bytes dropped" },
231 { 0x99, "Estimated average latency (ms)" },
232 { 0x9D, "Number of audio packets received" },
233 { 0x9E, "Number of audio bytes received" },
234 { 0x9F, "Number of signaling packets received" },
235 { 0xA0, "Number of signaling bytes received" },
236 { 0xA1, "Protocol Type" },
237 { 0xA2, "PDU Data Block" },
238 { 0xA3, "Jitter estimated (m ticks)" },
239 { 0xA4, "Global call ID" },
240 { 0xA5, "User information line 1 proto" },
241 { 0xA6, "Congestion level indicator" },
242 { 0xA7, "RADIUS Ascend-auth-type" },
243 { 0xB0, "Link status" },
244 { 0xB1, "Action request" },
245 { 0xB2, "Calling Party Info1" },
246 { 0xB3, "Called Party Info2" },
247 { 0xC1, "Country Code" },
248 { 0xC2, "Number of Operational Universal Ports" },
249 { 0xC3, "Number of Operational HDLC-only (digital) ports" },
250 { 0xFE, "Q.850 Cause code" },
254 typedef struct _ipdc_tag_type_val {
259 static const ipdc_tag_type_val ipdc_tag_types[] = {
261 { 0x02, IPDC_ASCII },
262 { 0x03, IPDC_ASCII },
264 { 0x05, IPDC_ASCII },
272 { 0x18, IPDC_ASCII },
273 { 0x19, IPDC_ASCII },
277 { 0x21, IPDC_LINESTATUS },
279 { 0x23, IPDC_CHANNELSTATUS },
281 { 0x25, IPDC_OCTET }, /* TBD */
292 { 0x33, IPDC_ASCII },
293 { 0x34, IPDC_ASCII },
302 { 0x3D, IPDC_ASCII },
318 { 0x6F, IPDC_ENCTYPE },
319 { 0x70, IPDC_ENCTYPE },
356 { 0xB2, IPDC_OCTET },
357 { 0xB3, IPDC_OCTET },
362 { 0xFFFF, IPDC_UNKNOWN }
365 #define IPDC_TAG(x) (256 * (x))
367 static const value_string tag_enum_type[] = {
368 /* Protocol Version */
369 { IPDC_TAG(0x01) + 0x00, "Version 0 (Xcom NMI 5.0)" },
370 { IPDC_TAG(0x01) + 0x01, "IPDC Version 0.12" },
371 { IPDC_TAG(0x01) + 0x02, "IPDC Version 0.15" },
372 { IPDC_TAG(0x01) + 0x03, "IPDC Version 0.17" },
373 { IPDC_TAG(0x01) + 0x04, "IPDC Version 0.18" },
374 { IPDC_TAG(0x01) + 0x05, "IPDC Version 0.19" },
375 { IPDC_TAG(0x01) + 0x06, "IPDC Version 0.20" },
376 /* Module type, from Annex B. */
377 { IPDC_TAG(0x0a) + 0x01, "Unknown" },
378 { IPDC_TAG(0x0a) + 0x02, "Shelf" },
379 { IPDC_TAG(0x0a) + 0x03, "Router Card" },
380 { IPDC_TAG(0x0a) + 0x04, "8-line Channelized T1" },
381 { IPDC_TAG(0x0a) + 0x05, "8-line Channelized E1" },
382 { IPDC_TAG(0x0a) + 0x06, "48-modem Card" },
383 { IPDC_TAG(0x0a) + 0x07, "192 HDLC Card" },
384 { IPDC_TAG(0x0a) + 0x08, "4-port Ethernet Card" },
385 { IPDC_TAG(0x0a) + 0x09, "Serial WAN Card" },
386 { IPDC_TAG(0x0a) + 0x0A, "HSSI Card" },
387 { IPDC_TAG(0x0a) + 0x0B, "10-line Unchannelized T1" },
388 { IPDC_TAG(0x0a) + 0x0C, "36-modem (Analog) Card" },
389 { IPDC_TAG(0x0a) + 0x0D, "T3 Card" },
390 { IPDC_TAG(0x0a) + 0x0E, "48-modem 56K Card" },
391 { IPDC_TAG(0x0a) + 0x0F, "Forward" },
392 { IPDC_TAG(0x0a) + 0x10, "SDSL Card" },
393 { IPDC_TAG(0x0a) + 0x11, "CAP ADSL Card" },
394 { IPDC_TAG(0x0a) + 0x12, "DMT ADSL Card" },
395 { IPDC_TAG(0x0a) + 0x13, "Standalone Modem Controller" },
396 { IPDC_TAG(0x0a) + 0x14, "32-port IDSL Card" },
397 { IPDC_TAG(0x0a) + 0x15, "10-line Unchannelized E1" },
398 { IPDC_TAG(0x0a) + 0x16, "36-modem (Analog) 2 Card" },
399 { IPDC_TAG(0x0a) + 0x17, "CSMX Modem Card" },
400 { IPDC_TAG(0x0a) + 0x18, "UDS3 Card" },
401 { IPDC_TAG(0x0a) + 0x19, "DS3 ATM Card" },
402 { IPDC_TAG(0x0a) + 0x1A, "4-port Ethernet 2 Card" },
403 { IPDC_TAG(0x0a) + 0x1B, "192 HDLC 2 Card" },
404 { IPDC_TAG(0x0a) + 0x1C, "SDSL 70 Data Card" },
405 { IPDC_TAG(0x0a) + 0x1D, "MADD Card" },
406 { IPDC_TAG(0x0a) + 0x1E, "SDSL 70 Voice Card" },
407 { IPDC_TAG(0x0a) + 0x1F, "OC3 Daughter Card" },
408 { IPDC_TAG(0x0a) + 0x20, "OC3 ATM Card" },
409 { IPDC_TAG(0x0a) + 0x21, "4-port Ethernet 3 Card" },
410 { IPDC_TAG(0x0a) + 0x22, "SRS Ethernet Card" },
411 { IPDC_TAG(0x0a) + 0x23, "SDSL ATM Card" },
412 { IPDC_TAG(0x0a) + 0x24, "AL DADSL ATM Card" },
413 { IPDC_TAG(0x0a) + 0x25, "CSM3V Modem Card" },
414 { IPDC_TAG(0x0a) + 0x26, "HDLC2EC Card" },
415 { IPDC_TAG(0x0a) + 0x27, "DS3 Daughter Card" },
416 { IPDC_TAG(0x0a) + 0x28, "2-port Ethernet Card" },
417 { IPDC_TAG(0x0a) + 0x2A, "STM0 Card" },
418 { IPDC_TAG(0x0a) + 0x2B, "SDSL Ripper Card" },
419 { IPDC_TAG(0x0a) + 0x2F, "Stinger Terminator Card" },
420 { IPDC_TAG(0x0a) + 0x30, "GS DADSL Ripper Card" },
421 { IPDC_TAG(0x0a) + 0x31, "PCTFIT Card" },
422 { IPDC_TAG(0x0a) + 0x32, "PCTFIE Card" },
423 { IPDC_TAG(0x0a) + 0x33, "CT DADSL GLITE Card" },
424 { IPDC_TAG(0x0a) + 0x34, "DS3 ATM 2 Card" },
425 { IPDC_TAG(0x0a) + 0x35, "E3 ATM Card" },
426 { IPDC_TAG(0x0a) + 0x36, "24-line Stinger IMA T1 Card" },
427 { IPDC_TAG(0x0a) + 0x37, "MADD 2 Card" },
428 { IPDC_TAG(0x0a) + 0x38, "GS HDSL 2 Card" },
429 { IPDC_TAG(0x0a) + 0x39, "32-line Stinger IDSL Card" },
430 { IPDC_TAG(0x0a) + 0x3A, "ANNEXB DADSL ATM Card" },
431 { IPDC_TAG(0x0a) + 0x3B, "24-line Stinger IMA E1 Card" },
432 { IPDC_TAG(0x0a) + 0x3C, "40C CT DADSL ATM Card" },
433 { IPDC_TAG(0x0a) + 0x3D, "4-port Ethernet 3+ Card" },
434 { IPDC_TAG(0x0a) + 0x3E, "CLPMT Card" },
435 { IPDC_TAG(0x0a) + 0x3F, "CLPME Card" },
436 { IPDC_TAG(0x0a) + 0x40, "E3 Daughter Card" },
437 { IPDC_TAG(0x0a) + 0x41, "8-line Stinger IMA T1 Card" },
438 { IPDC_TAG(0x0a) + 0x42, "8-line Stinger IMA E1 Card" },
439 { IPDC_TAG(0x0a) + 0x43, "48A GS DADSL ATM Card" },
440 { IPDC_TAG(0x0a) + 0x44, "48B GS DADSL ATM Card" },
441 { IPDC_TAG(0x0a) + 0x45, "48C GS DADSL ATM Card" },
442 { IPDC_TAG(0x0a) + 0x46, "40A CT DADSL ATM Card" },
443 { IPDC_TAG(0x0a) + 0x47, "OC3 ATM 2 Card" },
444 { IPDC_TAG(0x0a) + 0x48, "4-port Serial WAN 2 Card" },
445 { IPDC_TAG(0x0a) + 0x49, "CDS3 LIM Card" },
446 { IPDC_TAG(0x0a) + 0x4A, "R7000 Card" },
447 { IPDC_TAG(0x0a) + 0x4B, "VPN Card" },
448 { IPDC_TAG(0x0a) + 0x4C, "HSE Card" },
449 { IPDC_TAG(0x0a) + 0x4D, "MADD 3 Card" },
450 { IPDC_TAG(0x0a) + 0x4E, "Stinger CM V2 Card" },
451 { IPDC_TAG(0x0a) + 0x4F, "COC3 LIM Card" },
452 { IPDC_TAG(0x0a) + 0x50, "Stinger SHDSL Card" },
453 { IPDC_TAG(0x0a) + 0x51, "2-port OC34-port DS3 Daughter Card" },
454 { IPDC_TAG(0x0a) + 0x52, "72-line DADSL ATM Card" },
455 { IPDC_TAG(0x0a) + 0x53, "36-line DMT MRT Card" },
456 { IPDC_TAG(0x0a) + 0x54, "24-line T1 Card" },
457 { IPDC_TAG(0x0a) + 0x55, "24-line E1 Card" },
458 { IPDC_TAG(0x0a) + 0x56, "Stinger MRT CM Card" },
459 { IPDC_TAG(0x0a) + 0x57, "CSTM1 LIM Card" },
461 { IPDC_TAG(0x0c) + 0x00, "Not present (empty)" },
462 { IPDC_TAG(0x0c) + 0x01, "Out of service (down)" },
463 { IPDC_TAG(0x0c) + 0x02, "Up" },
464 { IPDC_TAG(0x0c) + 0x03, "Error" },
465 { IPDC_TAG(0x0c) + 0x04, "Does not exist" },
467 { IPDC_TAG(0x14) + 0x00, "Not present" },
468 { IPDC_TAG(0x14) + 0x01, "Disabled" },
469 { IPDC_TAG(0x14) + 0x02, "Red alarm (loss of sync)" },
470 { IPDC_TAG(0x14) + 0x03, "Yellow alarm" },
471 { IPDC_TAG(0x14) + 0x04, "Other alarms or errors" },
472 { IPDC_TAG(0x14) + 0x05, "Up" },
473 { IPDC_TAG(0x14) + 0x06, "Loopback" },
474 /* Bearer capability */
475 { IPDC_TAG(0x17) + 0x00, "Voice call" },
476 { IPDC_TAG(0x17) + 0x08, "64K data call" },
477 { IPDC_TAG(0x17) + 0x09, "56K data call" },
478 { IPDC_TAG(0x17) + 0x10,
479 "Modem call (3.1K Audio call) (applies to RCSI for modem call only)" },
480 /* Line status array */
481 /* { IPDC_TAG(0x21) + 0x0, "" }, */
482 /* Channel status array */
483 /* { IPDC_TAG(0x23) + 0x0, "" }, */
484 /* Requested module state */
485 { IPDC_TAG(0x24) + 0x00, "Out of service" },
486 { IPDC_TAG(0x24) + 0x01, "Initialize (bring up)" },
487 /* Requested line state */
488 { IPDC_TAG(0x25) + 0x00, "Disable" },
489 { IPDC_TAG(0x25) + 0x01, "Enable" },
490 { IPDC_TAG(0x25) + 0x02, "Start loopback" },
491 { IPDC_TAG(0x25) + 0x03, "Terminate loopback" },
492 /* Requested channel status action */
493 { IPDC_TAG(0x26) + 0x00, "Reset to idle" },
494 { IPDC_TAG(0x26) + 0x01, "Reset to out of service" },
495 { IPDC_TAG(0x26) + 0x02, "Start loopback" },
496 { IPDC_TAG(0x26) + 0x03, "Terminate loopback" },
497 /* Set channel status option */
498 { IPDC_TAG(0x27) + 0x00,
499 "Do not perform the indicated action if any of the" \
500 "channels is not in the valid initial state" },
501 { IPDC_TAG(0x27) + 0x01,
502 "Perform the indicated action on channels that are on" \
503 "the valid initial state. Other channels are not affected" },
504 /* Set channel status result */
505 { IPDC_TAG(0x2a) + 0x00,
506 "action successfully performed in all channels" },
507 { IPDC_TAG(0x2a) + 0x01, "at least one channel failed" },
508 /* Prepare for continuity check result */
509 { IPDC_TAG(0x2b) + 0x00, "Resources reserved successfully" },
510 { IPDC_TAG(0x2b) + 0x01, "Resource not available" },
511 /* Continuity test result */
512 { IPDC_TAG(0x2d) + 0x00, "Test completed successfully" },
513 { IPDC_TAG(0x2d) + 0x01, "Test failed" },
514 /* Tone listen completion status */
515 { IPDC_TAG(0x35) + 0x00, "Timeout" },
516 { IPDC_TAG(0x35) + 0x01, "No resources available for this operation" },
517 { IPDC_TAG(0x35) + 0x02, "Operation terminated by the SS" },
518 { IPDC_TAG(0x35) + 0x03, "Tone-to-complete-collection received" },
519 { IPDC_TAG(0x35) + 0x04,
520 "The specified maximum number of tones received" },
521 { IPDC_TAG(0x35) + 0x05, "Wait between successive tones too long" },
522 /* Tone send completion status */
523 { IPDC_TAG(0x36) + 0x00, "Operation succeeded" },
524 { IPDC_TAG(0x36) + 0x01, "Operation failed" },
525 { IPDC_TAG(0x36) + 0x02, "Operation terminated by SS" },
526 { IPDC_TAG(0x36) + 0x03, "Operation started" },
527 { IPDC_TAG(0x36) + 0x04,
528 "Operation terminated by administrative action" },
529 /* DTMF send format */
530 { IPDC_TAG(0x3c) + 0x00, "Tone" },
531 { IPDC_TAG(0x3c) + 0x01, "Event" },
532 { IPDC_TAG(0x3c) + 0x02, "Both (default)" },
534 { IPDC_TAG(0x49) + 0x00, "MF Tone" },
535 { IPDC_TAG(0x49) + 0x01, "DTMF Tone" },
536 { IPDC_TAG(0x49) + 0x02, "Analog Test Tone" },
537 { IPDC_TAG(0x49) + 0x03, "Announcement" },
538 { IPDC_TAG(0x49) + 0x04, "Digital Milli-watt tone" },
539 { IPDC_TAG(0x49) + 0x05, "Supplemental tones" },
540 { IPDC_TAG(0x49) + 0x06,
541 "Fax tone (CED, no phase reversal, or V.21 flags)" },
542 { IPDC_TAG(0x49) + 0x07, "Modem tone (CED, phase reversal)" },
543 { IPDC_TAG(0x49) + 0x41, "Ringback tone" },
544 /* Apply/Cancel Tone */
545 { IPDC_TAG(0x4a) + 0x00, "Apply tone" },
546 { IPDC_TAG(0x4a) + 0x01, "Cancel tone" },
547 { IPDC_TAG(0x4a) + 0x02, "Listen for tone" },
548 /* Source port type */
549 { IPDC_TAG(0x65) + 0x00, "SCN channel" },
550 /* Destination port type */
551 { IPDC_TAG(0x66) + 0x01, "RTP port" },
552 /* RTP Port Status */
553 { IPDC_TAG(0x6a) + 0x00, "Idle", },
554 { IPDC_TAG(0x6a) + 0x01, "Active" },
555 /* Receive Encoding Type */
556 { IPDC_TAG(0x6f) + 0x00, "PCMU (G.711 mu-law)" },
557 { IPDC_TAG(0x6f) + 0x04, "G723.1" },
558 { IPDC_TAG(0x6f) + 0x08, "PCMA (G.711 A-law)" },
559 { IPDC_TAG(0x6f) + 0x12, "G729A" },
560 { IPDC_TAG(0x6f) + 0x60, "Transparent data encoding" },
561 { IPDC_TAG(0x6f) + 0x61, "T.38 fax over UPD" },
562 /* Send Encoding Type */
563 { IPDC_TAG(0x70) + 0x00, "PCMU (G.711 mu-law)" },
564 { IPDC_TAG(0x70) + 0x04, "G723.1" },
565 { IPDC_TAG(0x70) + 0x08, "PCMA (G.711 A-law)" },
566 { IPDC_TAG(0x70) + 0x12, "G729A" },
567 { IPDC_TAG(0x70) + 0x60, "Transparent data encoding" },
568 { IPDC_TAG(0x70) + 0x61, "T.38 fax over UPD" },
569 /* Comfort Noise Generation */
570 { IPDC_TAG(0x72) + 0x00, "off" },
571 { IPDC_TAG(0x72) + 0x01, "on" },
572 /* Echo Cancellation */
573 { IPDC_TAG(0x74) + 0x00, "Off" },
574 { IPDC_TAG(0x74) + 0x01, "On, 16 ms tail" },
575 { IPDC_TAG(0x74) + 0x02, "On, 32 ms tail (default)" },
576 { IPDC_TAG(0x74) + 0x03, "On, 64ms tail" },
577 /* Constant DTMF Tone Detection on/off */
578 { IPDC_TAG(0x75) + 0x00, "Off" },
579 { IPDC_TAG(0x75) + 0x01, "On (Default)" },
580 /* Constant MF Tone Detection on/off" */
581 { IPDC_TAG(0x76) + 0x00, "Off (Default)" },
582 { IPDC_TAG(0x76) + 0x01, "On" },
583 /* Constant Fax tone detection on/off */
584 { IPDC_TAG(0x77) + 0x00, "Off" },
585 { IPDC_TAG(0x77) + 0x00, "On (Default)" },
586 /* Constant Modem tone detection on/off */
587 { IPDC_TAG(0x78) + 0x00, "Off" },
588 { IPDC_TAG(0x78) + 0x01, "On (Default)" },
589 /* Constant Packet Loss Detection on/off */
590 { IPDC_TAG(0x7b) + 0x00, "Off" },
591 { IPDC_TAG(0x7b) + 0x01, "On (Default)" },
592 /* Constant Latency Threshold Detection on/off */
593 { IPDC_TAG(0x7d) + 0x00, "Off" },
594 { IPDC_TAG(0x7d) + 0x01, "On (Default)" },
595 /* Announcement treatment */
596 { IPDC_TAG(0x86) + 0x00, "Continuous play" },
597 { IPDC_TAG(0x86) + 0x01, "Play 1 time and terminate the call" },
598 { IPDC_TAG(0x86) + 0x02, "Play 2 times and terminate the call" },
599 { IPDC_TAG(0x86) + 0x03, "Play 3 times and terminate the call" },
600 { IPDC_TAG(0x86) + 0x04, "Play 4 times and terminate the call" },
601 { IPDC_TAG(0x86) + 0x05, "Play 5 times and terminate the call" },
602 /* Packet Statistics Reset Indicator */
603 { IPDC_TAG(0x90) + 0x00, "Do not reset" },
604 { IPDC_TAG(0x90) + 0x01, "Reset (default)" },
606 { IPDC_TAG(0xa1) + 0x01, "ITU-T Q931" },
607 { IPDC_TAG(0xa1) + 0x02, "Nortel-ISDN" },
608 { IPDC_TAG(0xa1) + 0x03, "5ESS-ISDN" },
609 { IPDC_TAG(0xa1) + 0x04, "Euro-ISDN" },
610 /* Global call ID Refer Annex A */
611 /* IPDC_TAG(0xa4) .... */
612 /* User information line 1 proto */
613 /* IPDC_TAG(0xa5) .... */
614 /* Congestion level indicator */
615 { IPDC_TAG(0xa6) + 0x00, "No Congestion" },
616 { IPDC_TAG(0xa6) + 0x01, "Congestion Level 1" },
617 { IPDC_TAG(0xa6) + 0x02, "Congestion Level 2" },
618 /* RADIUS Ascend-auth-type */
619 { IPDC_TAG(0xa7) + 0x00, "None" },
620 { IPDC_TAG(0xa7) + 0x01, "Any" },
621 { IPDC_TAG(0xa7) + 0x02, "PAP (Default)" },
622 { IPDC_TAG(0xa7) + 0x03, "CHAP" },
623 { IPDC_TAG(0xa7) + 0x03, "MS-CHAP" },
625 { IPDC_TAG(0xb0) + 0x00, "Successfully connected" },
626 { IPDC_TAG(0xb0) + 0x01, "Not connected" },
628 { IPDC_TAG(0xb1) + 0x00, "Registration request" },
629 /* Calling Party Info */
630 /* Called Party Info */
632 { IPDC_TAG(0xc1) + 0x00, "Argentina" },
633 { IPDC_TAG(0xc1) + 0x02, "Australia" },
634 { IPDC_TAG(0xc1) + 0x03, "Belgium" },
635 { IPDC_TAG(0xc1) + 0x04, "China" },
636 { IPDC_TAG(0xc1) + 0x05, "Costa Rica" },
637 { IPDC_TAG(0xc1) + 0x06, "Finland" },
638 { IPDC_TAG(0xc1) + 0x07, "France" },
639 { IPDC_TAG(0xc1) + 0x08, "Germany" },
640 { IPDC_TAG(0xc1) + 0x09, "Hong Kong" },
641 { IPDC_TAG(0xc1) + 0x0a, "Italy" },
642 { IPDC_TAG(0xc1) + 0x0b, "Japan" },
643 { IPDC_TAG(0xc1) + 0x0c, "Korea" },
644 { IPDC_TAG(0xc1) + 0x0d, "Mexico" },
645 { IPDC_TAG(0xc1) + 0x0e, "Netherlands" },
646 { IPDC_TAG(0xc1) + 0x0f, "New Zealand" },
647 { IPDC_TAG(0xc1) + 0x10, "Singapore" },
648 { IPDC_TAG(0xc1) + 0x11, "Spain" },
649 { IPDC_TAG(0xc1) + 0x12, "Sweden" },
650 { IPDC_TAG(0xc1) + 0x13, "Switzerland" },
651 { IPDC_TAG(0xc1) + 0x14, "UK" },
652 { IPDC_TAG(0xc1) + 0x15, "US" },
653 { IPDC_TAG(0xc1) + 0x15, "Brazil" },