3 * Defines for RFC 2833 RTP Events dissection
4 * Copyright 2003, Kevin A. Noll <knoll[AT]poss.com>
6 * $Id: packet-rtp-events.h,v 1.1 2003/09/19 04:16:23 guy Exp $
8 * Ethereal - Network traffic analyzer
9 * By Gerald Combs <gerald@ethereal.com>
10 * Copyright 1998 Gerald Combs
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
38 #define RTP_DTMF_STAR 10
39 #define RTP_DTMF_POUND 11
44 #define RTP_DTMF_FLASH 16
49 #define RTP_ANSAMREV 35
51 #define RTP_V21C1B0 37
52 #define RTP_V21C1B1 38
53 #define RTP_V21C2B0 39
54 #define RTP_V21C2B1 40
65 #define RTP_OFFHOOK 64
67 #define RTP_DIALTONE 66
72 #define RTP_SPRGTONE 71
73 #define RTP_BUSYTONE 72
74 #define RTP_CNGTONE 73
75 #define RTP_SPINFOTN 74
76 #define RTP_CMFTTONE 75
77 #define RTP_HOLDTONE 76
78 #define RTP_RECTONE 77
79 #define RTP_CLRWTTONE 78
81 #define RTP_PAYTONE 80
82 #define RTP_POSINDTONE 81
83 #define RTP_NEGINDTONE 82
84 #define RTP_WARNTONE 83
85 #define RTP_INTRTONE 84
86 #define RTP_CALLCDTONE 85
87 #define RTP_PAYPHONE 86
89 #define RTP_OFFHKWARN 88
92 #define RTP_ACCPTTONE 96
93 #define RTP_CONFIRMTN 97
94 #define RTP_DLTNRECALL 98
95 #define RTP_END3WAYTN 99
96 #define RTP_FACTONE 100
97 #define RTP_LNLOCKTN 101
98 #define RTP_NUMUNOBT 102
99 #define RTP_OFFERGTONE 103
100 #define RTP_PERMSIGTN 104
101 #define RTP_PREEMPTTN 105
102 #define RTP_QUETONE 106
103 #define RTP_REFUSALTN 107
104 #define RTP_ROUTETONE 108
105 #define RTP_VALIDTONE 109
106 #define RTP_WAITGTONE 110
107 #define RTP_WARNEOPTN 111
108 #define RTP_WARNPIPTN 112
128 #define RTP_WINKOFF 161
129 #define RTP_INCSEIZ 162
130 #define RTP_SEIZURE 163
131 #define RTP_UNSEIZE 164
133 #define RTP_DEFCOT 166
134 #define RTP_COTTONE 167
135 #define RTP_COTSEND 168
137 #define RTP_COTVERFD 170
138 #define RTP_LOOPBACK 171
139 #define RTP_MWATTTONE 172
140 #define RTP_NEWMWATTTN 173
142 static const value_string rtp_event_type_values[] =
145 { RTP_DTMF_0, "DTMF Zero 0" },
146 { RTP_DTMF_1, "DTMF One 1" },
147 { RTP_DTMF_2, "DTMF Two 2" },
148 { RTP_DTMF_3, "DTMF Three 3" },
149 { RTP_DTMF_4, "DTMF Four 4" },
150 { RTP_DTMF_5, "DTMF Five 5" },
151 { RTP_DTMF_6, "DTMF Six 6" },
152 { RTP_DTMF_7, "DTMF Seven 7" },
153 { RTP_DTMF_8, "DTMF Eight 8" },
154 { RTP_DTMF_9, "DTMF Nine 9" },
155 { RTP_DTMF_STAR, "DTMF Star *" },
156 { RTP_DTMF_POUND, "DTMF Pound #" },
157 { RTP_DTMF_A, "DTMF A" },
158 { RTP_DTMF_B, "DTMF B" },
159 { RTP_DTMF_C, "DTMF C" },
160 { RTP_DTMF_D, "DTMF D" },
161 { RTP_DTMF_FLASH, "Flash" },
162 { RTP_ANS, "Fax ANS"},
163 { RTP_ANSREV, "Fax /ANS"},
164 { RTP_ANSAM, "Fax ANSam"},
165 { RTP_ANSAMREV, "Fax /ANSam"},
166 { RTP_CNG, "Fax CNG"},
167 { RTP_V21C1B0, "V.21 channel 1, 0 bit"},
168 { RTP_V21C1B1, "V.21 channel 1, 1 bit"},
169 { RTP_V21C2B0, "V.21 channel 2, 0 bit"},
170 { RTP_V21C2B1, "V.21 channel 2, 1 bit"},
171 { RTP_CRDI, "Fax CRdi"},
172 { RTP_CRDR, "Fax CRdr"},
173 { RTP_CRE, "Fax CRe"},
174 { RTP_ESI, "Fax ESi"},
175 { RTP_ESR, "Fax ESr"},
176 { RTP_MRDI, "Fax MRdi"},
177 { RTP_MRDR, "Fax MRdr"},
178 { RTP_MRE, "Fax MRe"},
180 { RTP_OFFHOOK, "Off Hook"},
181 { RTP_ONHOOK, "On Hook"},
182 { RTP_DIALTONE, "Dial tone"},
183 { RTP_INTDT, "PABX internal dial tone"},
184 { RTP_SPCDT, "Special dial tone"},
185 { RTP_2NDDT, "Second dial tone"},
186 { RTP_RGTONE, "Ringing tone"},
187 { RTP_SPRGTONE, "Special ringing tone"},
188 { RTP_BUSYTONE, "Busy tone"},
189 { RTP_CNGTONE, "Congestion tone"},
190 { RTP_SPINFOTN, "Special information tone"},
191 { RTP_CMFTTONE, "Comfort tone"},
192 { RTP_HOLDTONE, "Hold tone"},
193 { RTP_RECTONE, "Record tone"},
194 { RTP_CLRWTTONE, "Caller waiting tone"},
195 { RTP_CWTONE, "Call waiting tone"},
196 { RTP_PAYTONE, "Pay tone"},
197 { RTP_POSINDTONE, "Positive indication tone"},
198 { RTP_NEGINDTONE, "Negative indication tone"},
199 { RTP_WARNTONE, "Warning tone"},
200 { RTP_INTRTONE, "Intrusion tone"},
201 { RTP_CALLCDTONE, "Calling card service tone"},
202 { RTP_PAYPHONE, "Payphone recognition tone"},
203 { RTP_CAS, "CPE alerting signal (CAS)"},
204 { RTP_OFFHKWARN, "Off-hook warning tone"},
206 { RTP_ACCPTTONE, "Acceptance tone"},
207 { RTP_CONFIRMTN, "Confirmation tone"},
208 { RTP_DLTNRECALL, "Dial tone, recall"},
209 { RTP_END3WAYTN, "End of three party service tone"},
210 { RTP_FACTONE, "Facilities tone"},
211 { RTP_LNLOCKTN, "Line lockout tone"},
212 { RTP_NUMUNOBT, "Number unobtainable tone"},
213 { RTP_OFFERGTONE, "Offering tone"},
214 { RTP_PERMSIGTN, "Permanent signal tone"},
215 { RTP_PREEMPTTN, "Preemption tone"},
216 { RTP_QUETONE, "Queue tone"},
217 { RTP_REFUSALTN, "Refusal tone"},
218 { RTP_ROUTETONE, "Route tone"},
219 { RTP_VALIDTONE, "Valid tone"},
220 { RTP_WAITGTONE, "Waiting tone"},
221 { RTP_WARNEOPTN, "Warning tone (end of period)"},
222 { RTP_WARNPIPTN, "Warning Tone (PIP tone)"},
233 { RTP_K0, "MF K0 or KP (start-of-pulsing)"},
236 { RTP_S0, "MF S0 to ST (end-of-pulsing)"},
240 { RTP_WINKOFF, "Wink off"},
241 { RTP_INCSEIZ, "Incoming seizure"},
242 { RTP_SEIZURE, "Seizure"},
243 { RTP_UNSEIZE, "Unseize circuit"},
244 { RTP_COT, "Continuity test"},
245 { RTP_DEFCOT, "Default continuity tone"},
246 { RTP_COTTONE, "Continuity tone (single tone)"},
247 { RTP_COTSEND, "Continuity test send"},
248 { RTP_COTVERFD, "Continuity verified"},
249 { RTP_LOOPBACK, "Loopback"},
250 { RTP_MWATTTONE, "Old milliwatt tone (1000 Hz)"},
251 { RTP_NEWMWATTTN, "New milliwatt tone (1004 Hz)"},