Regenerated packet-h245.c (should have been included in SVN #40311: add_new_data_sour...
[obnox/wireshark/wip.git] / epan / dissectors / packet-h245.c
1 /* Do not modify this file.                                                   */
2 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
3 /* packet-h245.c                                                              */
4 /* ../../tools/asn2wrs.py -p h245 -c ./h245.cnf -s ./packet-h245-template -D . -O ../../epan/dissectors MULTIMEDIA-SYSTEM-CONTROL.asn */
5
6 /* Input file: packet-h245-template.c */
7
8 #line 1 "../../asn1/h245/packet-h245-template.c"
9 /* packet-h245_asn1.c
10  * Routines for h245 packet dissection
11  * Copyright 2004, Anders Broman <anders.broman@ericsson.com>
12  *
13  * $Id$
14  *
15  * Wireshark - Network traffic analyzer
16  * By Gerald Combs <gerald@wireshark.org>
17  * Copyright 1998 Gerald Combs
18  *
19  * This program is free software; you can redistribute it and/or
20  * modify it under the terms of the GNU General Public License
21  * as published by the Free Software Foundation; either version 2
22  * of the License, or (at your option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with this program; if not, write to the Free Software
31  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
32  *
33  * To quote the author of the previous H245 dissector:
34  *   "This is a complete replacement of the previous limitied dissector
35  * that Ronnie was crazy enough to write by hand. It was a lot of time
36  * to hack it by hand, but it is incomplete and buggy and it is good when
37  * it will go away."
38  * Ronnie did a great job and all the VoIP users had made good use of it!
39  * Credit to Tomas Kukosa for developing the asn2wrs compiler.
40  *
41  */
42
43 #ifdef HAVE_CONFIG_H
44 # include "config.h"
45 #endif
46
47 #include <glib.h>
48 #include <epan/packet.h>
49 #include <epan/strutil.h>
50
51 #include <string.h>
52
53 #include <epan/prefs.h>
54 #include <epan/t35.h>
55 #include <epan/emem.h>
56 #include <epan/oids.h>
57 #include <epan/asn1.h>
58 #include <epan/tap.h>
59 #include "packet-tpkt.h"
60 #include "packet-per.h"
61 #include "packet-h323.h"
62 #include "packet-h245.h"
63 #include "packet-rtp.h"
64 #include "packet-rtcp.h"
65 #include "packet-t38.h"
66
67 #define PNAME  "MULTIMEDIA-SYSTEM-CONTROL"
68 #define PSNAME "H.245"
69 #define PFNAME "h245"
70
71 static dissector_handle_t rtp_handle=NULL;
72 static dissector_handle_t rtcp_handle=NULL;
73 static dissector_handle_t t38_handle=NULL;
74 static dissector_table_t nsp_object_dissector_table;
75 static dissector_table_t nsp_h221_dissector_table;
76 static dissector_table_t gef_name_dissector_table;
77 static dissector_table_t gef_content_dissector_table;
78 static dissector_handle_t nsp_handle;
79 static dissector_handle_t data_handle;
80 static dissector_handle_t MultimediaSystemControlMessage_handle;
81 static dissector_handle_t h263_handle = NULL;
82 static dissector_handle_t amr_handle = NULL;
83
84 static void init_h245_packet_info(h245_packet_info *pi);
85 static int hf_h245_pdu_type = -1;
86 static int hf_h245Manufacturer = -1;
87 static int hf_h245_subMessageIdentifier_standard = -1;
88 static int h245_tap = -1;
89 static int h245dg_tap = -1;
90 h245_packet_info *h245_pi=NULL;
91
92 static gboolean h245_reassembly = TRUE;
93 static gboolean h245_shorttypes = FALSE;
94
95
96 /*--- Included file: packet-h245-val.h ---*/
97 #line 1 "../../asn1/h245/packet-h245-val.h"
98
99 typedef enum _AudioCapability_enum {
100   AudioCapability_nonStandard =   0,
101   AudioCapability_g711Alaw64k =   1,
102   AudioCapability_g711Alaw56k =   2,
103   AudioCapability_g711Ulaw64k =   3,
104   AudioCapability_g711Ulaw56k =   4,
105   AudioCapability_g722_64k =   5,
106   AudioCapability_g722_56k =   6,
107   AudioCapability_g722_48k =   7,
108   AudioCapability_g7231 =   8,
109   AudioCapability_g728 =   9,
110   AudioCapability_g729 =  10,
111   AudioCapability_g729AnnexA =  11,
112   AudioCapability_is11172AudioCapability =  12,
113   AudioCapability_is13818AudioCapability =  13,
114   AudioCapability_g729wAnnexB =  14,
115   AudioCapability_g729AnnexAwAnnexB =  15,
116   AudioCapability_g7231AnnexCCapability =  16,
117   AudioCapability_gsmFullRate =  17,
118   AudioCapability_gsmHalfRate =  18,
119   AudioCapability_gsmEnhancedFullRate =  19,
120   AudioCapability_genericAudioCapability =  20,
121   AudioCapability_g729Extensions =  21,
122   AudioCapability_vbd =  22,
123   AudioCapability_audioTelephonyEvent =  23,
124   AudioCapability_audioTone =  24
125 } AudioCapability_enum;
126
127 typedef enum _RequestMessage_enum {
128   RequestMessage_nonStandard =   0,
129   RequestMessage_masterSlaveDetermination =   1,
130   RequestMessage_terminalCapabilitySet =   2,
131   RequestMessage_openLogicalChannel =   3,
132   RequestMessage_closeLogicalChannel =   4,
133   RequestMessage_requestChannelClose =   5,
134   RequestMessage_multiplexEntrySend =   6,
135   RequestMessage_requestMultiplexEntry =   7,
136   RequestMessage_requestMode =   8,
137   RequestMessage_roundTripDelayRequest =   9,
138   RequestMessage_maintenanceLoopRequest =  10,
139   RequestMessage_communicationModeRequest =  11,
140   RequestMessage_conferenceRequest =  12,
141   RequestMessage_multilinkRequest =  13,
142   RequestMessage_logicalChannelRateRequest =  14,
143   RequestMessage_genericRequest =  15
144 } RequestMessage_enum;
145
146 typedef enum _ResponseMessage_enum {
147   ResponseMessage_nonStandard =   0,
148   ResponseMessage_masterSlaveDeterminationAck =   1,
149   ResponseMessage_masterSlaveDeterminationReject =   2,
150   ResponseMessage_terminalCapabilitySetAck =   3,
151   ResponseMessage_terminalCapabilitySetReject =   4,
152   ResponseMessage_openLogicalChannelAck =   5,
153   ResponseMessage_openLogicalChannelReject =   6,
154   ResponseMessage_closeLogicalChannelAck =   7,
155   ResponseMessage_requestChannelCloseAck =   8,
156   ResponseMessage_requestChannelCloseReject =   9,
157   ResponseMessage_multiplexEntrySendAck =  10,
158   ResponseMessage_multiplexEntrySendReject =  11,
159   ResponseMessage_requestMultiplexEntryAck =  12,
160   ResponseMessage_requestMultiplexEntryReject =  13,
161   ResponseMessage_requestModeAck =  14,
162   ResponseMessage_requestModeReject =  15,
163   ResponseMessage_roundTripDelayResponse =  16,
164   ResponseMessage_maintenanceLoopAck =  17,
165   ResponseMessage_maintenanceLoopReject =  18,
166   ResponseMessage_communicationModeResponse =  19,
167   ResponseMessage_conferenceResponse =  20,
168   ResponseMessage_multilinkResponse =  21,
169   ResponseMessage_logicalChannelRateAcknowledge =  22,
170   ResponseMessage_logicalChannelRateReject =  23,
171   ResponseMessage_genericResponse =  24
172 } ResponseMessage_enum;
173
174 typedef enum _CommandMessage_enum {
175   CommandMessage_nonStandard =   0,
176   CommandMessage_maintenanceLoopOffCommand =   1,
177   CommandMessage_sendTerminalCapabilitySet =   2,
178   CommandMessage_encryptionCommand =   3,
179   CommandMessage_flowControlCommand =   4,
180   CommandMessage_endSessionCommand =   5,
181   CommandMessage_miscellaneousCommand =   6,
182   CommandMessage_communicationModeCommand =   7,
183   CommandMessage_conferenceCommand =   8,
184   CommandMessage_h223MultiplexReconfiguration =   9,
185   CommandMessage_newATMVCCommand =  10,
186   CommandMessage_mobileMultilinkReconfigurationCommand =  11,
187   CommandMessage_genericCommand =  12
188 } CommandMessage_enum;
189
190 typedef enum _IndicationMessage_enum {
191   IndicationMessage_nonStandard =   0,
192   IndicationMessage_functionNotUnderstood =   1,
193   IndicationMessage_masterSlaveDeterminationRelease =   2,
194   IndicationMessage_terminalCapabilitySetRelease =   3,
195   IndicationMessage_openLogicalChannelConfirm =   4,
196   IndicationMessage_requestChannelCloseRelease =   5,
197   IndicationMessage_multiplexEntrySendRelease =   6,
198   IndicationMessage_requestMultiplexEntryRelease =   7,
199   IndicationMessage_requestModeRelease =   8,
200   IndicationMessage_miscellaneousIndication =   9,
201   IndicationMessage_jitterIndication =  10,
202   IndicationMessage_h223SkewIndication =  11,
203   IndicationMessage_newATMVCIndication =  12,
204   IndicationMessage_userInput =  13,
205   IndicationMessage_h2250MaximumSkewIndication =  14,
206   IndicationMessage_mcLocationIndication =  15,
207   IndicationMessage_conferenceIndication =  16,
208   IndicationMessage_vendorIdentification =  17,
209   IndicationMessage_functionNotSupported =  18,
210   IndicationMessage_multilinkIndication =  19,
211   IndicationMessage_logicalChannelRateRelease =  20,
212   IndicationMessage_flowControlIndication =  21,
213   IndicationMessage_mobileMultilinkReconfigurationIndication =  22,
214   IndicationMessage_genericIndication =  23
215 } IndicationMessage_enum;
216
217 /*--- End of included file: packet-h245-val.h ---*/
218 #line 88 "../../asn1/h245/packet-h245-template.c"
219
220 static const value_string h245_RequestMessage_short_vals[] = {
221         { RequestMessage_nonStandard              ,     "NSM" },
222         { RequestMessage_masterSlaveDetermination ,     "MSD" },
223         { RequestMessage_terminalCapabilitySet    ,     "TCS" },
224         { RequestMessage_openLogicalChannel       ,     "OLC" },
225         { RequestMessage_closeLogicalChannel      ,     "CLC" },
226         { RequestMessage_requestChannelClose      ,     "RCC" },
227         { RequestMessage_multiplexEntrySend       ,     "MES" },
228         { RequestMessage_requestMultiplexEntry    ,     "RME" },
229         { RequestMessage_requestMode              ,     "RM"  },
230         { RequestMessage_roundTripDelayRequest    ,     "RTDR" },
231         { RequestMessage_maintenanceLoopRequest   ,     "MLR" },
232         { RequestMessage_communicationModeRequest ,     "CMR" },
233         { RequestMessage_conferenceRequest        ,     "CR"  },
234         { RequestMessage_multilinkRequest         ,     "MR"  },
235         { RequestMessage_logicalChannelRateRequest,     "LCRR" },
236         { RequestMessage_genericRequest           ,     "GR"  },
237         {  0, NULL }
238 };
239 static const value_string h245_ResponseMessage_short_vals[] = {
240         { ResponseMessage_nonStandard                   ,       "NSM" },
241         { ResponseMessage_masterSlaveDeterminationAck   ,       "MSDAck" },
242         { ResponseMessage_masterSlaveDeterminationReject,       "MSDReject" },
243         { ResponseMessage_terminalCapabilitySetAck      ,       "TCSAck" },
244         { ResponseMessage_terminalCapabilitySetReject   ,       "TCSReject" },
245         { ResponseMessage_openLogicalChannelAck         ,       "OLCAck" },
246         { ResponseMessage_openLogicalChannelReject      ,       "OLCReject" },
247         { ResponseMessage_closeLogicalChannelAck        ,       "CLCAck" },
248         { ResponseMessage_requestChannelCloseAck        ,       "RCCAck" },
249         { ResponseMessage_requestChannelCloseReject     ,       "RCCReject" },
250         { ResponseMessage_multiplexEntrySendAck         ,       "MESAck" },
251         { ResponseMessage_multiplexEntrySendReject      ,       "MESReject" },
252         { ResponseMessage_requestMultiplexEntryAck      ,       "RMEAck" },
253         { ResponseMessage_requestMultiplexEntryReject   ,       "RMEReject" },
254         { ResponseMessage_requestModeAck                ,       "RMAck" },
255         { ResponseMessage_requestModeReject             ,       "RMReject" },
256         { ResponseMessage_roundTripDelayResponse        ,       "RTDResponse" },
257         { ResponseMessage_maintenanceLoopAck            ,       "MLAck" },
258         { ResponseMessage_maintenanceLoopReject         ,       "MLReject" },
259         { ResponseMessage_communicationModeResponse     ,       "CMResponse" },
260         { ResponseMessage_conferenceResponse            ,       "CResponse" },
261         { ResponseMessage_multilinkResponse             ,       "MResponse" },
262         { ResponseMessage_logicalChannelRateAcknowledge ,       "LCRAck" },
263         { ResponseMessage_logicalChannelRateReject      ,       "LCRReject" },
264         { ResponseMessage_genericResponse               ,       "GR" },
265         {  0, NULL }
266 };
267 static const value_string h245_IndicationMessage_short_vals[] = {
268         { IndicationMessage_nonStandard                             ,   "NSM" },
269         { IndicationMessage_functionNotUnderstood                   ,   "FNU" },
270         { IndicationMessage_masterSlaveDeterminationRelease         ,   "MSDRelease" },
271         { IndicationMessage_terminalCapabilitySetRelease            ,   "TCSRelease" },
272         { IndicationMessage_openLogicalChannelConfirm               ,   "OLCConfirm" },
273         { IndicationMessage_requestChannelCloseRelease              ,   "RCCRelease" },
274         { IndicationMessage_multiplexEntrySendRelease               ,   "MESRelease" },
275         { IndicationMessage_requestMultiplexEntryRelease            ,   "RMERelease" },
276         { IndicationMessage_requestModeRelease                      ,   "RMRelease" },
277         { IndicationMessage_miscellaneousIndication                 ,   "MI" },
278         { IndicationMessage_jitterIndication                        ,   "JI" },
279         { IndicationMessage_h223SkewIndication                      ,   "H223SI" },
280         { IndicationMessage_newATMVCIndication                      ,   "NATMVCI" },
281         { IndicationMessage_userInput                               ,   "UII" },
282         { IndicationMessage_h2250MaximumSkewIndication              ,   "H2250MSI" },
283         { IndicationMessage_mcLocationIndication                    ,   "MCLI" },
284         { IndicationMessage_conferenceIndication                    ,   "CI" },
285         { IndicationMessage_vendorIdentification                    ,   "VI" },
286         { IndicationMessage_functionNotSupported                    ,   "FNS" },
287         { IndicationMessage_multilinkIndication                     ,   "MultilinkIndication" },
288         { IndicationMessage_logicalChannelRateRelease               ,   "LCRRelease" },
289         { IndicationMessage_flowControlIndication                   ,   "FCIndication" },
290         { IndicationMessage_mobileMultilinkReconfigurationIndication,   "MMRI" },
291         { IndicationMessage_genericIndication                       ,   "GI" },
292         {  0, NULL }
293 };
294 static const value_string h245_CommandMessage_short_vals[] = {
295         { CommandMessage_nonStandard                          , "NSM" },
296         { CommandMessage_maintenanceLoopOffCommand            , "MLOC" },
297         { CommandMessage_sendTerminalCapabilitySet            , "STCS" },
298         { CommandMessage_encryptionCommand                    , "EC" },
299         { CommandMessage_flowControlCommand                   , "FCC" },
300         { CommandMessage_endSessionCommand                    , "ESC" },
301         { CommandMessage_miscellaneousCommand                 , "MC" },
302         { CommandMessage_communicationModeCommand             , "CMC" },
303         { CommandMessage_conferenceCommand                    , "CC" },
304         { CommandMessage_h223MultiplexReconfiguration         , "H223MR" },
305         { CommandMessage_newATMVCCommand                      , "NATMVCC" },
306         { CommandMessage_mobileMultilinkReconfigurationCommand, "MMRC" },
307         { CommandMessage_genericCommand                       , "GC" },
308         {  0, NULL }
309 };
310
311 static const value_string h245_AudioCapability_short_vals[] = {
312   { AudioCapability_nonStandard           , "nonStd" },
313   { AudioCapability_g711Alaw64k           , "g711A" },
314   { AudioCapability_g711Alaw56k           , "g711A56k" },
315   { AudioCapability_g711Ulaw64k           , "g711U" },
316   { AudioCapability_g711Ulaw56k           , "g711U56k" },
317   { AudioCapability_g722_64k              , "g722-64k" },
318   { AudioCapability_g722_56k              , "g722-56k" },
319   { AudioCapability_g722_48k              , "g722-48k" },
320   { AudioCapability_g7231                 , "g7231" },
321   { AudioCapability_g728                  , "g728" },
322   { AudioCapability_g729                  , "g729" },
323   { AudioCapability_g729AnnexA            , "g729A" },
324   { AudioCapability_is11172AudioCapability, "is11172" },
325   { AudioCapability_is13818AudioCapability, "is13818" },
326   { AudioCapability_g729wAnnexB           , "g729B" },
327   { AudioCapability_g729AnnexAwAnnexB     , "g729AB" },
328   { AudioCapability_g7231AnnexCCapability , "g7231C" },
329   { AudioCapability_gsmFullRate           , "gsmFR" },
330   { AudioCapability_gsmHalfRate           , "gsmHR" },
331   { AudioCapability_gsmEnhancedFullRate   , "gsmEFR" },
332   { AudioCapability_genericAudioCapability, "generic" },
333   { AudioCapability_g729Extensions        , "g729Ext" },
334   { AudioCapability_vbd                   , "vbd" },
335   { AudioCapability_audioTelephonyEvent   , "audioTelEvent" },
336   { AudioCapability_audioTone             , "audioTone" },
337   {  0, NULL }
338 };
339
340 /* To put the codec type only in COL_INFO when
341    an OLC is read */
342 const char* codec_type = NULL;
343 static guint32 rfc_number;
344
345 typedef struct _unicast_addr_t {
346   address addr;
347   guint8 addr_buf[16];
348   guint32 port;
349 } unicast_addr_t;
350
351 typedef struct _channel_info_t {
352   gchar data_type_str[32];
353   unicast_addr_t *upcoming_addr;
354   unicast_addr_t media_addr;
355   unicast_addr_t media_control_addr;
356   unsigned int rfc2198;
357   gboolean srtp_flag;
358   gboolean is_video;
359 } channel_info_t;
360
361 typedef struct _olc_info_t {
362   guint16 fwd_lc_num;
363   channel_info_t fwd_lc;
364   channel_info_t rev_lc;
365 } olc_info_t;
366
367 static GHashTable* h245_pending_olc_reqs = NULL;
368 static gboolean fast_start = FALSE;
369 static olc_info_t *upcoming_olc = NULL;
370 static channel_info_t *upcoming_channel = NULL;
371
372 /* NonStandardParameter */
373 static const char *nsiOID;
374 static guint32 h221NonStandard;
375 static guint32 t35CountryCode;
376 static guint32 t35Extension;
377 static guint32 manufacturerCode;
378
379 static const value_string h245_RFC_number_vals[] = {
380         {  2190,        "RFC 2190 - H.263 Video Streams" },
381         {  2198,        "RFC 2198 - RTP Payload for Redundant Audio Data" },
382         {  2429,        "RFC 2429 - 1998 Version of ITU-T Rec. H.263 Video (H.263+)" },
383         {  3016,        "RFC 3016 - RTP Payload Format for MPEG-4 Audio/Visual Streams" },
384         {  3267,        "RFC 3267 - Adaptive Multi-Rate (AMR) and Adaptive Multi-Rate Wideband (AMR-WB)" },
385         {  3984,        "RFC 3984 - RTP Payload Format for H.264 Video" },
386         {  0, NULL }
387 };
388
389 /* Table 7/H.239 subMessageIdentifier values */
390 static const value_string h245_h239subMessageIdentifier_vals[] = {
391   {   1, "flowControlReleaseRequest" },
392   {   2, "flowControlReleaseResponse" },
393   {   3, "presentationTokenRequest" },
394   {   4, "presentationTokenResponse" },
395   {   5, "presentationTokenRelease" },
396   {   6, "presentationTokenIndicateOwner" },
397   { 0, NULL }
398 };
399
400
401 /* h223 multiplex codes */
402 static h223_set_mc_handle_t h223_set_mc_handle = NULL;
403 h223_mux_element *h223_me=NULL;
404 guint8 h223_mc=0;
405 void h245_set_h223_set_mc_handle( h223_set_mc_handle_t handle )
406 {
407         h223_set_mc_handle = handle;
408 }
409
410 /* h223 logical channels */
411 typedef struct {
412         h223_lc_params *fw_channel_params;
413         h223_lc_params *rev_channel_params;
414 } h223_pending_olc;
415
416 static GHashTable*          h223_pending_olc_reqs[] = { NULL, NULL };
417 static dissector_handle_t   h245_lc_dissector;
418 static guint16              h245_lc_temp;
419 static guint16              h223_fw_lc_num;
420 static guint16              h223_rev_lc_num;
421 static h223_lc_params      *h223_lc_params_temp;
422 static h223_lc_params      *h223_fw_lc_params;
423 static h223_lc_params      *h223_rev_lc_params;
424 static h223_add_lc_handle_t h223_add_lc_handle = NULL;
425
426 static void h223_lc_init_dir( int dir )
427 {
428         if ( h223_pending_olc_reqs[dir] )
429                 g_hash_table_destroy( h223_pending_olc_reqs[dir] );
430         h223_pending_olc_reqs[dir] = g_hash_table_new( g_direct_hash, g_direct_equal );
431 }
432
433 static void h223_lc_init( void )
434 {
435         h223_lc_init_dir( P2P_DIR_SENT );
436         h223_lc_init_dir( P2P_DIR_RECV );
437         h223_lc_params_temp = NULL;
438         h245_lc_dissector = NULL;
439         h223_fw_lc_num = 0;
440 }
441
442 static void h245_init(void)
443 {
444         if ( h245_pending_olc_reqs)
445                 g_hash_table_destroy(h245_pending_olc_reqs);
446         h245_pending_olc_reqs = g_hash_table_new(g_str_hash, g_str_equal);
447
448         h223_lc_init();
449 }
450
451 void h245_set_h223_add_lc_handle( h223_add_lc_handle_t handle )
452 {
453         h223_add_lc_handle = handle;
454 }
455
456 static const gchar *gen_olc_key(guint16 lc_num, address *dst_addr, address *src_addr)
457 {
458   return ep_strdup_printf("%s/%s/%u", ep_address_to_str(dst_addr), ep_address_to_str(src_addr), lc_num);
459 }
460
461 static void update_unicast_addr(unicast_addr_t *req_addr, unicast_addr_t *ack_addr)
462 {
463   if (ack_addr->addr.type!=AT_NONE && ack_addr->port!=0) {
464     memcpy(req_addr->addr_buf, ack_addr->addr_buf, sizeof(req_addr->addr_buf));
465     SET_ADDRESS(&req_addr->addr, ack_addr->addr.type, ack_addr->addr.len, req_addr->addr_buf);
466     req_addr->port = ack_addr->port;
467   }
468 }
469
470 static void free_encoding_name_str (void *ptr)
471 {
472   encoding_name_and_rate_t *encoding_name_and_rate = (encoding_name_and_rate_t *)ptr;
473
474   if (encoding_name_and_rate->encoding_name) {
475     g_free(encoding_name_and_rate->encoding_name);
476   }
477 }
478
479 static void h245_setup_channels(packet_info *pinfo, channel_info_t *upcoming_channel_lcl)
480 {
481         gint *key;
482         GHashTable *rtp_dyn_payload = NULL;
483         struct srtp_info *dummy_srtp_info = NULL;
484
485         if (!upcoming_channel_lcl) return;
486
487         /* T.38 */
488         if (!strcmp(upcoming_channel_lcl->data_type_str, "t38fax")) {
489                 if (upcoming_channel_lcl->media_addr.addr.type!=AT_NONE && upcoming_channel_lcl->media_addr.port!=0 && t38_handle) {
490                         t38_add_address(pinfo, &upcoming_channel_lcl->media_addr.addr,
491                                                         upcoming_channel_lcl->media_addr.port, 0,
492                                                         "H245", pinfo->fd->num);
493                 }
494                 return;
495         }
496
497         /* (S)RTP, (S)RTCP */
498         if (upcoming_channel_lcl->rfc2198 > 0) {
499                 encoding_name_and_rate_t *encoding_name_and_rate = g_malloc( sizeof(encoding_name_and_rate_t));
500                 rtp_dyn_payload = g_hash_table_new_full(g_int_hash, g_int_equal, g_free, free_encoding_name_str);
501                 encoding_name_and_rate->encoding_name = g_strdup("red");
502                 encoding_name_and_rate->sample_rate = 8000;
503                 key = g_malloc(sizeof(gint));
504                 *key = upcoming_channel_lcl->rfc2198;
505                 g_hash_table_insert(rtp_dyn_payload, key, encoding_name_and_rate);
506         }
507
508         if (upcoming_channel_lcl->srtp_flag) {
509                 dummy_srtp_info = se_alloc0(sizeof(struct srtp_info));
510         }
511
512         /* DEBUG        g_warning("h245_setup_channels media_addr.addr.type %u port %u",upcoming_channel_lcl->media_addr.addr.type, upcoming_channel_lcl->media_addr.port );
513         */
514         if (upcoming_channel_lcl->media_addr.addr.type!=AT_NONE && upcoming_channel_lcl->media_addr.port!=0 && rtp_handle) {
515                 srtp_add_address(pinfo, &upcoming_channel_lcl->media_addr.addr,
516                                                 upcoming_channel_lcl->media_addr.port, 0,
517                                                 "H245", pinfo->fd->num, upcoming_channel_lcl->is_video , rtp_dyn_payload, dummy_srtp_info);
518         }
519         if (upcoming_channel_lcl->media_control_addr.addr.type!=AT_NONE && upcoming_channel_lcl->media_control_addr.port!=0 && rtcp_handle) {
520                 srtcp_add_address(pinfo, &upcoming_channel_lcl->media_control_addr.addr,
521                                                 upcoming_channel_lcl->media_control_addr.port, 0,
522                                                 "H245", pinfo->fd->num, dummy_srtp_info);
523         }
524 }
525
526 /* Initialize the protocol and registered fields */
527 static int proto_h245 = -1;
528
529 /*--- Included file: packet-h245-hf.c ---*/
530 #line 1 "../../asn1/h245/packet-h245-hf.c"
531 static int hf_h245_OpenLogicalChannel_PDU = -1;   /* OpenLogicalChannel */
532 static int hf_h245_request = -1;                  /* RequestMessage */
533 static int hf_h245_response = -1;                 /* ResponseMessage */
534 static int hf_h245_command = -1;                  /* CommandMessage */
535 static int hf_h245_indication = -1;               /* IndicationMessage */
536 static int hf_h245_nonStandardMsg = -1;           /* NonStandardMessage */
537 static int hf_h245_masterSlaveDetermination = -1;  /* MasterSlaveDetermination */
538 static int hf_h245_terminalCapabilitySet = -1;    /* TerminalCapabilitySet */
539 static int hf_h245_openLogicalChannel = -1;       /* OpenLogicalChannel */
540 static int hf_h245_closeLogicalChannel = -1;      /* CloseLogicalChannel */
541 static int hf_h245_requestChannelClose = -1;      /* RequestChannelClose */
542 static int hf_h245_multiplexEntrySend = -1;       /* MultiplexEntrySend */
543 static int hf_h245_requestMultiplexEntry = -1;    /* RequestMultiplexEntry */
544 static int hf_h245_requestMode = -1;              /* RequestMode */
545 static int hf_h245_roundTripDelayRequest = -1;    /* RoundTripDelayRequest */
546 static int hf_h245_maintenanceLoopRequest = -1;   /* MaintenanceLoopRequest */
547 static int hf_h245_communicationModeRequest = -1;  /* CommunicationModeRequest */
548 static int hf_h245_conferenceRequest = -1;        /* ConferenceRequest */
549 static int hf_h245_multilinkRequest = -1;         /* MultilinkRequest */
550 static int hf_h245_logicalChannelRateRequest = -1;  /* LogicalChannelRateRequest */
551 static int hf_h245_genericRequest = -1;           /* GenericMessage */
552 static int hf_h245_masterSlaveDeterminationAck = -1;  /* MasterSlaveDeterminationAck */
553 static int hf_h245_masterSlaveDeterminationReject = -1;  /* MasterSlaveDeterminationReject */
554 static int hf_h245_terminalCapabilitySetAck = -1;  /* TerminalCapabilitySetAck */
555 static int hf_h245_terminalCapabilitySetReject = -1;  /* TerminalCapabilitySetReject */
556 static int hf_h245_openLogicalChannelAck = -1;    /* OpenLogicalChannelAck */
557 static int hf_h245_openLogicalChannelReject = -1;  /* OpenLogicalChannelReject */
558 static int hf_h245_closeLogicalChannelAck = -1;   /* CloseLogicalChannelAck */
559 static int hf_h245_requestChannelCloseAck = -1;   /* RequestChannelCloseAck */
560 static int hf_h245_requestChannelCloseReject = -1;  /* RequestChannelCloseReject */
561 static int hf_h245_multiplexEntrySendAck = -1;    /* MultiplexEntrySendAck */
562 static int hf_h245_multiplexEntrySendReject = -1;  /* MultiplexEntrySendReject */
563 static int hf_h245_requestMultiplexEntryAck = -1;  /* RequestMultiplexEntryAck */
564 static int hf_h245_requestMultiplexEntryReject = -1;  /* RequestMultiplexEntryReject */
565 static int hf_h245_requestModeAck = -1;           /* RequestModeAck */
566 static int hf_h245_requestModeReject = -1;        /* RequestModeReject */
567 static int hf_h245_roundTripDelayResponse = -1;   /* RoundTripDelayResponse */
568 static int hf_h245_maintenanceLoopAck = -1;       /* MaintenanceLoopAck */
569 static int hf_h245_maintenanceLoopReject = -1;    /* MaintenanceLoopReject */
570 static int hf_h245_communicationModeResponse = -1;  /* CommunicationModeResponse */
571 static int hf_h245_conferenceResponse = -1;       /* ConferenceResponse */
572 static int hf_h245_multilinkResponse = -1;        /* MultilinkResponse */
573 static int hf_h245_logicalChannelRateAcknowledge = -1;  /* LogicalChannelRateAcknowledge */
574 static int hf_h245_logicalChannelRateReject = -1;  /* LogicalChannelRateReject */
575 static int hf_h245_genericResponse = -1;          /* GenericMessage */
576 static int hf_h245_maintenanceLoopOffCommand = -1;  /* MaintenanceLoopOffCommand */
577 static int hf_h245_sendTerminalCapabilitySet = -1;  /* SendTerminalCapabilitySet */
578 static int hf_h245_encryptionCommand = -1;        /* EncryptionCommand */
579 static int hf_h245_flowControlCommand = -1;       /* FlowControlCommand */
580 static int hf_h245_endSessionCommand = -1;        /* EndSessionCommand */
581 static int hf_h245_miscellaneousCommand = -1;     /* MiscellaneousCommand */
582 static int hf_h245_communicationModeCommand = -1;  /* CommunicationModeCommand */
583 static int hf_h245_conferenceCommand = -1;        /* ConferenceCommand */
584 static int hf_h245_h223MultiplexReconfiguration = -1;  /* H223MultiplexReconfiguration */
585 static int hf_h245_newATMVCCommand = -1;          /* NewATMVCCommand */
586 static int hf_h245_mobileMultilinkReconfigurationCommand = -1;  /* MobileMultilinkReconfigurationCommand */
587 static int hf_h245_genericCommand = -1;           /* GenericMessage */
588 static int hf_h245_functionNotUnderstood = -1;    /* FunctionNotUnderstood */
589 static int hf_h245_masterSlaveDeterminationRelease = -1;  /* MasterSlaveDeterminationRelease */
590 static int hf_h245_terminalCapabilitySetRelease = -1;  /* TerminalCapabilitySetRelease */
591 static int hf_h245_openLogicalChannelConfirm = -1;  /* OpenLogicalChannelConfirm */
592 static int hf_h245_requestChannelCloseRelease = -1;  /* RequestChannelCloseRelease */
593 static int hf_h245_multiplexEntrySendRelease = -1;  /* MultiplexEntrySendRelease */
594 static int hf_h245_requestMultiplexEntryRelease = -1;  /* RequestMultiplexEntryRelease */
595 static int hf_h245_requestModeRelease = -1;       /* RequestModeRelease */
596 static int hf_h245_miscellaneousIndication = -1;  /* MiscellaneousIndication */
597 static int hf_h245_jitterIndication = -1;         /* JitterIndication */
598 static int hf_h245_h223SkewIndication = -1;       /* H223SkewIndication */
599 static int hf_h245_newATMVCIndication = -1;       /* NewATMVCIndication */
600 static int hf_h245_userInput = -1;                /* UserInputIndication */
601 static int hf_h245_h2250MaximumSkewIndication = -1;  /* H2250MaximumSkewIndication */
602 static int hf_h245_mcLocationIndication = -1;     /* MCLocationIndication */
603 static int hf_h245_conferenceIndication = -1;     /* ConferenceIndication */
604 static int hf_h245_vendorIdentification = -1;     /* VendorIdentification */
605 static int hf_h245_functionNotSupported = -1;     /* FunctionNotSupported */
606 static int hf_h245_multilinkIndication = -1;      /* MultilinkIndication */
607 static int hf_h245_logicalChannelRateRelease = -1;  /* LogicalChannelRateRelease */
608 static int hf_h245_flowControlIndication = -1;    /* FlowControlIndication */
609 static int hf_h245_mobileMultilinkReconfigurationIndication = -1;  /* MobileMultilinkReconfigurationIndication */
610 static int hf_h245_genericIndication = -1;        /* GenericMessage */
611 static int hf_h245_messageIdentifier = -1;        /* CapabilityIdentifier */
612 static int hf_h245_subMessageIdentifier = -1;     /* T_subMessageIdentifier */
613 static int hf_h245_messageContent = -1;           /* T_messageContent */
614 static int hf_h245_messageContent_item = -1;      /* T_messageContent_item */
615 static int hf_h245_nonStandardData = -1;          /* NonStandardParameter */
616 static int hf_h245_nonStandardIdentifier = -1;    /* NonStandardIdentifier */
617 static int hf_h245_nsd_data = -1;                 /* T_nsd_data */
618 static int hf_h245_object = -1;                   /* T_object */
619 static int hf_h245_h221NonStandardID = -1;        /* H221NonStandardID */
620 static int hf_h245_t35CountryCode = -1;           /* T_t35CountryCode */
621 static int hf_h245_t35Extension = -1;             /* T_t35Extension */
622 static int hf_h245_manufacturerCode = -1;         /* T_manufacturerCode */
623 static int hf_h245_terminalType = -1;             /* INTEGER_0_255 */
624 static int hf_h245_statusDeterminationNumber = -1;  /* INTEGER_0_16777215 */
625 static int hf_h245_decision = -1;                 /* T_decision */
626 static int hf_h245_master = -1;                   /* NULL */
627 static int hf_h245_slave = -1;                    /* NULL */
628 static int hf_h245_msd_rej_cause = -1;            /* MasterSlaveDeterminationRejectCause */
629 static int hf_h245_identicalNumbers = -1;         /* NULL */
630 static int hf_h245_sequenceNumber = -1;           /* SequenceNumber */
631 static int hf_h245_protocolIdentifier = -1;       /* OBJECT_IDENTIFIER */
632 static int hf_h245_multiplexCapability = -1;      /* MultiplexCapability */
633 static int hf_h245_capabilityTable = -1;          /* SET_SIZE_1_256_OF_CapabilityTableEntry */
634 static int hf_h245_capabilityTable_item = -1;     /* CapabilityTableEntry */
635 static int hf_h245_capabilityDescriptors = -1;    /* SET_SIZE_1_256_OF_CapabilityDescriptor */
636 static int hf_h245_capabilityDescriptors_item = -1;  /* CapabilityDescriptor */
637 static int hf_h245_genericInformation = -1;       /* SEQUENCE_OF_GenericInformation */
638 static int hf_h245_genericInformation_item = -1;  /* GenericInformation */
639 static int hf_h245_capabilityTableEntryNumber = -1;  /* CapabilityTableEntryNumber */
640 static int hf_h245_capability = -1;               /* Capability */
641 static int hf_h245_capabilityDescriptorNumber = -1;  /* CapabilityDescriptorNumber */
642 static int hf_h245_simultaneousCapabilities = -1;  /* SET_SIZE_1_256_OF_AlternativeCapabilitySet */
643 static int hf_h245_simultaneousCapabilities_item = -1;  /* AlternativeCapabilitySet */
644 static int hf_h245_AlternativeCapabilitySet_item = -1;  /* CapabilityTableEntryNumber */
645 static int hf_h245_tcs_rej_cause = -1;            /* TerminalCapabilitySetRejectCause */
646 static int hf_h245_unspecified = -1;              /* NULL */
647 static int hf_h245_undefinedTableEntryUsed = -1;  /* NULL */
648 static int hf_h245_descriptorCapacityExceeded = -1;  /* NULL */
649 static int hf_h245_tableEntryCapacityExceeded = -1;  /* T_tableEntryCapacityExceeded */
650 static int hf_h245_highestEntryNumberProcessed = -1;  /* CapabilityTableEntryNumber */
651 static int hf_h245_noneProcessed = -1;            /* NULL */
652 static int hf_h245_nonStandard = -1;              /* NonStandardParameter */
653 static int hf_h245_receiveVideoCapability = -1;   /* VideoCapability */
654 static int hf_h245_transmitVideoCapability = -1;  /* VideoCapability */
655 static int hf_h245_receiveAndTransmitVideoCapability = -1;  /* VideoCapability */
656 static int hf_h245_receiveAudioCapability = -1;   /* AudioCapability */
657 static int hf_h245_transmitAudioCapability = -1;  /* AudioCapability */
658 static int hf_h245_receiveAndTransmitAudioCapability = -1;  /* AudioCapability */
659 static int hf_h245_receiveDataApplicationCapability = -1;  /* DataApplicationCapability */
660 static int hf_h245_transmitDataApplicationCapability = -1;  /* DataApplicationCapability */
661 static int hf_h245_receiveAndTransmitDataApplicationCapability = -1;  /* DataApplicationCapability */
662 static int hf_h245_h233EncryptionTransmitCapability = -1;  /* BOOLEAN */
663 static int hf_h245_h233EncryptionReceiveCapability = -1;  /* T_h233EncryptionReceiveCapability */
664 static int hf_h245_h233IVResponseTime = -1;       /* INTEGER_0_255 */
665 static int hf_h245_conferenceCapability = -1;     /* ConferenceCapability */
666 static int hf_h245_h235SecurityCapability = -1;   /* H235SecurityCapability */
667 static int hf_h245_maxPendingReplacementFor = -1;  /* INTEGER_0_255 */
668 static int hf_h245_receiveUserInputCapability = -1;  /* UserInputCapability */
669 static int hf_h245_transmitUserInputCapability = -1;  /* UserInputCapability */
670 static int hf_h245_receiveAndTransmitUserInputCapability = -1;  /* UserInputCapability */
671 static int hf_h245_genericControlCapability = -1;  /* GenericCapability */
672 static int hf_h245_receiveMultiplexedStreamCapability = -1;  /* MultiplexedStreamCapability */
673 static int hf_h245_transmitMultiplexedStreamCapability = -1;  /* MultiplexedStreamCapability */
674 static int hf_h245_receiveAndTransmitMultiplexedStreamCapability = -1;  /* MultiplexedStreamCapability */
675 static int hf_h245_receiveRTPAudioTelephonyEventCapability = -1;  /* AudioTelephonyEventCapability */
676 static int hf_h245_receiveRTPAudioToneCapability = -1;  /* AudioToneCapability */
677 static int hf_h245_depFecCapability = -1;         /* DepFECCapability */
678 static int hf_h245_multiplePayloadStreamCapability = -1;  /* MultiplePayloadStreamCapability */
679 static int hf_h245_fecCapability = -1;            /* FECCapability */
680 static int hf_h245_redundancyEncodingCap = -1;    /* RedundancyEncodingCapability */
681 static int hf_h245_oneOfCapabilities = -1;        /* AlternativeCapabilitySet */
682 static int hf_h245_encryptionAuthenticationAndIntegrity = -1;  /* EncryptionAuthenticationAndIntegrity */
683 static int hf_h245_mediaCapability = -1;          /* CapabilityTableEntryNumber */
684 static int hf_h245_h222Capability = -1;           /* H222Capability */
685 static int hf_h245_h223Capability = -1;           /* H223Capability */
686 static int hf_h245_v76Capability = -1;            /* V76Capability */
687 static int hf_h245_h2250Capability = -1;          /* H2250Capability */
688 static int hf_h245_genericMultiplexCapability = -1;  /* GenericCapability */
689 static int hf_h245_numberOfVCs = -1;              /* INTEGER_1_256 */
690 static int hf_h245_vcCapability = -1;             /* SET_OF_VCCapability */
691 static int hf_h245_vcCapability_item = -1;        /* VCCapability */
692 static int hf_h245_aal1 = -1;                     /* T_aal1 */
693 static int hf_h245_nullClockRecovery = -1;        /* BOOLEAN */
694 static int hf_h245_srtsClockRecovery_bool = -1;   /* BOOLEAN */
695 static int hf_h245_adaptiveClockRecovery = -1;    /* BOOLEAN */
696 static int hf_h245_nullErrorCorrection = -1;      /* BOOLEAN */
697 static int hf_h245_longInterleaver = -1;          /* BOOLEAN */
698 static int hf_h245_shortInterleaver = -1;         /* BOOLEAN */
699 static int hf_h245_errorCorrectionOnly = -1;      /* BOOLEAN */
700 static int hf_h245_structuredDataTransfer = -1;   /* BOOLEAN */
701 static int hf_h245_partiallyFilledCells = -1;     /* BOOLEAN */
702 static int hf_h245_aal5 = -1;                     /* T_aal5 */
703 static int hf_h245_forwardMaximumSDUSize = -1;    /* INTEGER_0_65535 */
704 static int hf_h245_backwardMaximumSDUSize = -1;   /* INTEGER_0_65535 */
705 static int hf_h245_transportStream_bool = -1;     /* BOOLEAN */
706 static int hf_h245_programStream = -1;            /* BOOLEAN */
707 static int hf_h245_availableBitRates = -1;        /* T_availableBitRates */
708 static int hf_h245_avb_type = -1;                 /* Avb_type */
709 static int hf_h245_singleBitRate = -1;            /* INTEGER_1_65535 */
710 static int hf_h245_rangeOfBitRates = -1;          /* T_rangeOfBitRates */
711 static int hf_h245_lowerBitRate = -1;             /* INTEGER_1_65535 */
712 static int hf_h245_higherBitRate = -1;            /* INTEGER_1_65535 */
713 static int hf_h245_aal1ViaGateway = -1;           /* T_aal1ViaGateway */
714 static int hf_h245_gatewayAddress = -1;           /* SET_SIZE_1_256_OF_Q2931Address */
715 static int hf_h245_gatewayAddress_item = -1;      /* Q2931Address */
716 static int hf_h245_srtsClockRecoveryflag = -1;    /* BOOLEAN */
717 static int hf_h245_transportWithI_frames = -1;    /* BOOLEAN */
718 static int hf_h245_videoWithAL1 = -1;             /* BOOLEAN */
719 static int hf_h245_videoWithAL2 = -1;             /* BOOLEAN */
720 static int hf_h245_videoWithAL3 = -1;             /* BOOLEAN */
721 static int hf_h245_audioWithAL1 = -1;             /* BOOLEAN */
722 static int hf_h245_audioWithAL2 = -1;             /* BOOLEAN */
723 static int hf_h245_audioWithAL3 = -1;             /* BOOLEAN */
724 static int hf_h245_dataWithAL1 = -1;              /* BOOLEAN */
725 static int hf_h245_dataWithAL2 = -1;              /* BOOLEAN */
726 static int hf_h245_dataWithAL3 = -1;              /* BOOLEAN */
727 static int hf_h245_maximumAl2SDUSize = -1;        /* INTEGER_0_65535 */
728 static int hf_h245_maximumAl3SDUSize = -1;        /* INTEGER_0_65535 */
729 static int hf_h245_maximumDelayJitter = -1;       /* INTEGER_0_1023 */
730 static int hf_h245_h223MultiplexTableCapability = -1;  /* T_h223MultiplexTableCapability */
731 static int hf_h245_basic = -1;                    /* NULL */
732 static int hf_h245_enhanced = -1;                 /* T_enhanced */
733 static int hf_h245_maximumNestingDepth = -1;      /* INTEGER_1_15 */
734 static int hf_h245_maximumElementListSize = -1;   /* INTEGER_2_255 */
735 static int hf_h245_maximumSubElementListSize = -1;  /* INTEGER_2_255 */
736 static int hf_h245_maxMUXPDUSizeCapability = -1;  /* BOOLEAN */
737 static int hf_h245_nsrpSupport = -1;              /* BOOLEAN */
738 static int hf_h245_mobileOperationTransmitCapability = -1;  /* T_mobileOperationTransmitCapability */
739 static int hf_h245_modeChangeCapability = -1;     /* BOOLEAN */
740 static int hf_h245_h223AnnexA = -1;               /* BOOLEAN */
741 static int hf_h245_h223AnnexADoubleFlagFlag = -1;  /* BOOLEAN */
742 static int hf_h245_h223AnnexB = -1;               /* BOOLEAN */
743 static int hf_h245_h223AnnexBwithHeader = -1;     /* BOOLEAN */
744 static int hf_h245_h223AnnexCCapability = -1;     /* H223AnnexCCapability */
745 static int hf_h245_bitRate_1_19200 = -1;          /* INTEGER_1_19200 */
746 static int hf_h245_mobileMultilinkFrameCapability = -1;  /* T_mobileMultilinkFrameCapability */
747 static int hf_h245_maximumSampleSize = -1;        /* INTEGER_1_255 */
748 static int hf_h245_maximumPayloadLength = -1;     /* INTEGER_1_65025 */
749 static int hf_h245_videoWithAL1M = -1;            /* BOOLEAN */
750 static int hf_h245_videoWithAL2M = -1;            /* BOOLEAN */
751 static int hf_h245_videoWithAL3M = -1;            /* BOOLEAN */
752 static int hf_h245_audioWithAL1M = -1;            /* BOOLEAN */
753 static int hf_h245_audioWithAL2M = -1;            /* BOOLEAN */
754 static int hf_h245_audioWithAL3M = -1;            /* BOOLEAN */
755 static int hf_h245_dataWithAL1M = -1;             /* BOOLEAN */
756 static int hf_h245_dataWithAL2M = -1;             /* BOOLEAN */
757 static int hf_h245_dataWithAL3M = -1;             /* BOOLEAN */
758 static int hf_h245_alpduInterleaving = -1;        /* BOOLEAN */
759 static int hf_h245_maximumAL1MPDUSize = -1;       /* INTEGER_0_65535 */
760 static int hf_h245_maximumAL2MSDUSize = -1;       /* INTEGER_0_65535 */
761 static int hf_h245_maximumAL3MSDUSize = -1;       /* INTEGER_0_65535 */
762 static int hf_h245_rsCodeCapability = -1;         /* BOOLEAN */
763 static int hf_h245_suspendResumeCapabilitywAddress = -1;  /* BOOLEAN */
764 static int hf_h245_suspendResumeCapabilitywoAddress = -1;  /* BOOLEAN */
765 static int hf_h245_rejCapability = -1;            /* BOOLEAN */
766 static int hf_h245_sREJCapability = -1;           /* BOOLEAN */
767 static int hf_h245_mREJCapability = -1;           /* BOOLEAN */
768 static int hf_h245_crc8bitCapability = -1;        /* BOOLEAN */
769 static int hf_h245_crc16bitCapability = -1;       /* BOOLEAN */
770 static int hf_h245_crc32bitCapability = -1;       /* BOOLEAN */
771 static int hf_h245_uihCapability = -1;            /* BOOLEAN */
772 static int hf_h245_numOfDLCS = -1;                /* INTEGER_2_8191 */
773 static int hf_h245_twoOctetAddressFieldCapability = -1;  /* BOOLEAN */
774 static int hf_h245_loopBackTestCapability = -1;   /* BOOLEAN */
775 static int hf_h245_n401Capability = -1;           /* INTEGER_1_4095 */
776 static int hf_h245_maxWindowSizeCapability = -1;  /* INTEGER_1_127 */
777 static int hf_h245_v75Capability = -1;            /* V75Capability */
778 static int hf_h245_audioHeader = -1;              /* BOOLEAN */
779 static int hf_h245_maximumAudioDelayJitter = -1;  /* INTEGER_0_1023 */
780 static int hf_h245_receiveMultipointCapability = -1;  /* MultipointCapability */
781 static int hf_h245_transmitMultipointCapability = -1;  /* MultipointCapability */
782 static int hf_h245_receiveAndTransmitMultipointCapability = -1;  /* MultipointCapability */
783 static int hf_h245_mcCapability = -1;             /* T_mcCapability */
784 static int hf_h245_centralizedConferenceMC = -1;  /* BOOLEAN */
785 static int hf_h245_decentralizedConferenceMC = -1;  /* BOOLEAN */
786 static int hf_h245_rtcpVideoControlCapability = -1;  /* BOOLEAN */
787 static int hf_h245_mediaPacketizationCapability = -1;  /* MediaPacketizationCapability */
788 static int hf_h245_transportCapability = -1;      /* TransportCapability */
789 static int hf_h245_redundancyEncodingCapability = -1;  /* SEQUENCE_SIZE_1_256_OF_RedundancyEncodingCapability */
790 static int hf_h245_redundancyEncodingCapability_item = -1;  /* RedundancyEncodingCapability */
791 static int hf_h245_logicalChannelSwitchingCapability = -1;  /* BOOLEAN */
792 static int hf_h245_t120DynamicPortCapability = -1;  /* BOOLEAN */
793 static int hf_h245_h261aVideoPacketization = -1;  /* BOOLEAN */
794 static int hf_h245_rtpPayloadTypes = -1;          /* SEQUENCE_SIZE_1_256_OF_RTPPayloadType */
795 static int hf_h245_rtpPayloadTypes_item = -1;     /* RTPPayloadType */
796 static int hf_h245_qosMode = -1;                  /* QOSMode */
797 static int hf_h245_tokenRate = -1;                /* INTEGER_1_4294967295 */
798 static int hf_h245_bucketSize = -1;               /* INTEGER_1_4294967295 */
799 static int hf_h245_peakRate = -1;                 /* INTEGER_1_4294967295 */
800 static int hf_h245_minPoliced = -1;               /* INTEGER_1_4294967295 */
801 static int hf_h245_maxPktSize = -1;               /* INTEGER_1_4294967295 */
802 static int hf_h245_guaranteedQOS = -1;            /* NULL */
803 static int hf_h245_controlledLoad = -1;           /* NULL */
804 static int hf_h245_maxNTUSize = -1;               /* INTEGER_0_65535 */
805 static int hf_h245_atmUBR = -1;                   /* BOOLEAN */
806 static int hf_h245_atmrtVBR = -1;                 /* BOOLEAN */
807 static int hf_h245_atmnrtVBR = -1;                /* BOOLEAN */
808 static int hf_h245_atmABR = -1;                   /* BOOLEAN */
809 static int hf_h245_atmCBR = -1;                   /* BOOLEAN */
810 static int hf_h245_nonStandardParameter = -1;     /* NonStandardParameter */
811 static int hf_h245_value = -1;                    /* INTEGER_0_255 */
812 static int hf_h245_servicePrioritySignalled = -1;  /* BOOLEAN */
813 static int hf_h245_servicePriorityValue = -1;     /* ServicePriorityValue */
814 static int hf_h245_serviceClass = -1;             /* INTEGER_0_4095 */
815 static int hf_h245_serviceSubclass = -1;          /* INTEGER_0_255 */
816 static int hf_h245_desired = -1;                  /* NULL */
817 static int hf_h245_required = -1;                 /* NULL */
818 static int hf_h245_class0 = -1;                   /* NULL */
819 static int hf_h245_class1 = -1;                   /* NULL */
820 static int hf_h245_class2 = -1;                   /* NULL */
821 static int hf_h245_class3 = -1;                   /* NULL */
822 static int hf_h245_class4 = -1;                   /* NULL */
823 static int hf_h245_class5 = -1;                   /* NULL */
824 static int hf_h245_qosType = -1;                  /* QOSType */
825 static int hf_h245_qosClass = -1;                 /* QOSClass */
826 static int hf_h245_averageRate = -1;              /* INTEGER_1_4294967295 */
827 static int hf_h245_burst = -1;                    /* INTEGER_1_4294967295 */
828 static int hf_h245_rsvpParameters = -1;           /* RSVPParameters */
829 static int hf_h245_atmParameters = -1;            /* ATMParameters */
830 static int hf_h245_localQoS = -1;                 /* BOOLEAN */
831 static int hf_h245_genericTransportParameters = -1;  /* GenericTransportParameters */
832 static int hf_h245_servicePriority = -1;          /* ServicePriority */
833 static int hf_h245_authorizationParameter = -1;   /* AuthorizationParameters */
834 static int hf_h245_qosDescriptor = -1;            /* QOSDescriptor */
835 static int hf_h245_dscpValue = -1;                /* INTEGER_0_63 */
836 static int hf_h245_ip_UDP = -1;                   /* NULL */
837 static int hf_h245_ip_TCP = -1;                   /* NULL */
838 static int hf_h245_atm_AAL5_UNIDIR = -1;          /* NULL */
839 static int hf_h245_atm_AAL5_BIDIR = -1;           /* NULL */
840 static int hf_h245_atm_AAL5_compressed = -1;      /* T_atm_AAL5_compressed */
841 static int hf_h245_variable_delta = -1;           /* BOOLEAN */
842 static int hf_h245_mediaTransport = -1;           /* MediaTransportType */
843 static int hf_h245_qOSCapabilities = -1;          /* SEQUENCE_SIZE_1_256_OF_QOSCapability */
844 static int hf_h245_qOSCapabilities_item = -1;     /* QOSCapability */
845 static int hf_h245_mediaChannelCapabilities = -1;  /* SEQUENCE_SIZE_1_256_OF_MediaChannelCapability */
846 static int hf_h245_mediaChannelCapabilities_item = -1;  /* MediaChannelCapability */
847 static int hf_h245_redundancyEncodingMethod = -1;  /* RedundancyEncodingMethod */
848 static int hf_h245_primaryEncoding = -1;          /* CapabilityTableEntryNumber */
849 static int hf_h245_secondaryEncodingCapability = -1;  /* SEQUENCE_SIZE_1_256_OF_CapabilityTableEntryNumber */
850 static int hf_h245_secondaryEncodingCapability_item = -1;  /* CapabilityTableEntryNumber */
851 static int hf_h245_rtpAudioRedundancyEncoding = -1;  /* NULL */
852 static int hf_h245_rtpH263VideoRedundancyEncoding = -1;  /* RTPH263VideoRedundancyEncoding */
853 static int hf_h245_numberOfThreads = -1;          /* INTEGER_1_16 */
854 static int hf_h245_framesBetweenSyncPoints = -1;  /* INTEGER_1_256 */
855 static int hf_h245_frameToThreadMapping = -1;     /* T_frameToThreadMapping */
856 static int hf_h245_roundrobin = -1;               /* NULL */
857 static int hf_h245_custom = -1;                   /* SEQUENCE_SIZE_1_256_OF_RTPH263VideoRedundancyFrameMapping */
858 static int hf_h245_custom_item = -1;              /* RTPH263VideoRedundancyFrameMapping */
859 static int hf_h245_containedThreads = -1;         /* T_containedThreads */
860 static int hf_h245_containedThreads_item = -1;    /* INTEGER_0_15 */
861 static int hf_h245_threadNumber = -1;             /* INTEGER_0_15 */
862 static int hf_h245_frameSequence = -1;            /* T_frameSequence */
863 static int hf_h245_frameSequence_item = -1;       /* INTEGER_0_255 */
864 static int hf_h245_multicastCapability = -1;      /* BOOLEAN */
865 static int hf_h245_multiUniCastConference = -1;   /* BOOLEAN */
866 static int hf_h245_mediaDistributionCapability = -1;  /* SEQUENCE_OF_MediaDistributionCapability */
867 static int hf_h245_mediaDistributionCapability_item = -1;  /* MediaDistributionCapability */
868 static int hf_h245_centralizedControl = -1;       /* BOOLEAN */
869 static int hf_h245_distributedControl = -1;       /* BOOLEAN */
870 static int hf_h245_centralizedAudio = -1;         /* BOOLEAN */
871 static int hf_h245_distributedAudio = -1;         /* BOOLEAN */
872 static int hf_h245_centralizedVideo = -1;         /* BOOLEAN */
873 static int hf_h245_distributedVideo = -1;         /* BOOLEAN */
874 static int hf_h245_centralizedData = -1;          /* SEQUENCE_OF_DataApplicationCapability */
875 static int hf_h245_centralizedData_item = -1;     /* DataApplicationCapability */
876 static int hf_h245_distributedData = -1;          /* SEQUENCE_OF_DataApplicationCapability */
877 static int hf_h245_distributedData_item = -1;     /* DataApplicationCapability */
878 static int hf_h245_h261VideoCapability = -1;      /* H261VideoCapability */
879 static int hf_h245_h262VideoCapability = -1;      /* H262VideoCapability */
880 static int hf_h245_h263VideoCapability = -1;      /* H263VideoCapability */
881 static int hf_h245_is11172VideoCapability = -1;   /* IS11172VideoCapability */
882 static int hf_h245_genericVideoCapability = -1;   /* GenericCapability */
883 static int hf_h245_extendedVideoCapability = -1;  /* ExtendedVideoCapability */
884 static int hf_h245_videoCapability = -1;          /* SEQUENCE_OF_VideoCapability */
885 static int hf_h245_videoCapability_item = -1;     /* VideoCapability */
886 static int hf_h245_videoCapabilityExtension = -1;  /* SEQUENCE_OF_GenericCapability */
887 static int hf_h245_videoCapabilityExtension_item = -1;  /* GenericCapability */
888 static int hf_h245_qcifMPI_1_4 = -1;              /* INTEGER_1_4 */
889 static int hf_h245_cifMPI_1_4 = -1;               /* INTEGER_1_4 */
890 static int hf_h245_temporalSpatialTradeOffCapability = -1;  /* BOOLEAN */
891 static int hf_h245_maxBitRate_1_19200 = -1;       /* INTEGER_1_19200 */
892 static int hf_h245_stillImageTransmission = -1;   /* BOOLEAN */
893 static int hf_h245_videoBadMBsCap = -1;           /* BOOLEAN */
894 static int hf_h245_profileAndLevel_SPatML = -1;   /* BOOLEAN */
895 static int hf_h245_profileAndLevel_MPatLL = -1;   /* BOOLEAN */
896 static int hf_h245_profileAndLevel_MPatML = -1;   /* BOOLEAN */
897 static int hf_h245_profileAndLevel_MPatH_14 = -1;  /* BOOLEAN */
898 static int hf_h245_profileAndLevel_MPatHL = -1;   /* BOOLEAN */
899 static int hf_h245_profileAndLevel_SNRatLL = -1;  /* BOOLEAN */
900 static int hf_h245_profileAndLevel_SNRatML = -1;  /* BOOLEAN */
901 static int hf_h245_profileAndLevel_SpatialatH_14 = -1;  /* BOOLEAN */
902 static int hf_h245_profileAndLevel_HPatML = -1;   /* BOOLEAN */
903 static int hf_h245_profileAndLevel_HPatH_14 = -1;  /* BOOLEAN */
904 static int hf_h245_profileAndLevel_HPatHL = -1;   /* BOOLEAN */
905 static int hf_h245_videoBitRate = -1;             /* INTEGER_0_1073741823 */
906 static int hf_h245_vbvBufferSize = -1;            /* INTEGER_0_262143 */
907 static int hf_h245_samplesPerLine = -1;           /* INTEGER_0_16383 */
908 static int hf_h245_linesPerFrame = -1;            /* INTEGER_0_16383 */
909 static int hf_h245_framesPerSecond = -1;          /* INTEGER_0_15 */
910 static int hf_h245_luminanceSampleRate = -1;      /* INTEGER_0_4294967295 */
911 static int hf_h245_sqcifMPI_1_32 = -1;            /* INTEGER_1_32 */
912 static int hf_h245_qcifMPI = -1;                  /* INTEGER_1_32 */
913 static int hf_h245_cifMPI = -1;                   /* INTEGER_1_32 */
914 static int hf_h245_cif4MPI_1_32 = -1;             /* INTEGER_1_32 */
915 static int hf_h245_cif16MPI_1_32 = -1;            /* INTEGER_1_32 */
916 static int hf_h245_maxBitRate = -1;               /* INTEGER_1_192400 */
917 static int hf_h245_unrestrictedVector = -1;       /* BOOLEAN */
918 static int hf_h245_arithmeticCoding = -1;         /* BOOLEAN */
919 static int hf_h245_advancedPrediction = -1;       /* BOOLEAN */
920 static int hf_h245_pbFrames = -1;                 /* BOOLEAN */
921 static int hf_h245_hrd_B = -1;                    /* INTEGER_0_524287 */
922 static int hf_h245_bppMaxKb = -1;                 /* INTEGER_0_65535 */
923 static int hf_h245_slowSqcifMPI = -1;             /* INTEGER_1_3600 */
924 static int hf_h245_slowQcifMPI = -1;              /* INTEGER_1_3600 */
925 static int hf_h245_slowCifMPI = -1;               /* INTEGER_1_3600 */
926 static int hf_h245_slowCif4MPI = -1;              /* INTEGER_1_3600 */
927 static int hf_h245_slowCif16MPI = -1;             /* INTEGER_1_3600 */
928 static int hf_h245_errorCompensation = -1;        /* BOOLEAN */
929 static int hf_h245_enhancementLayerInfo = -1;     /* EnhancementLayerInfo */
930 static int hf_h245_h263Options = -1;              /* H263Options */
931 static int hf_h245_baseBitRateConstrained = -1;   /* BOOLEAN */
932 static int hf_h245_snrEnhancement = -1;           /* SET_SIZE_1_14_OF_EnhancementOptions */
933 static int hf_h245_snrEnhancement_item = -1;      /* EnhancementOptions */
934 static int hf_h245_spatialEnhancement = -1;       /* SET_SIZE_1_14_OF_EnhancementOptions */
935 static int hf_h245_spatialEnhancement_item = -1;  /* EnhancementOptions */
936 static int hf_h245_bPictureEnhancement = -1;      /* SET_SIZE_1_14_OF_BEnhancementParameters */
937 static int hf_h245_bPictureEnhancement_item = -1;  /* BEnhancementParameters */
938 static int hf_h245_enhancementOptions = -1;       /* EnhancementOptions */
939 static int hf_h245_numberOfBPictures = -1;        /* INTEGER_1_64 */
940 static int hf_h245_advancedIntraCodingMode = -1;  /* BOOLEAN */
941 static int hf_h245_deblockingFilterMode = -1;     /* BOOLEAN */
942 static int hf_h245_improvedPBFramesMode = -1;     /* BOOLEAN */
943 static int hf_h245_unlimitedMotionVectors = -1;   /* BOOLEAN */
944 static int hf_h245_fullPictureFreeze = -1;        /* BOOLEAN */
945 static int hf_h245_partialPictureFreezeAndRelease = -1;  /* BOOLEAN */
946 static int hf_h245_resizingPartPicFreezeAndRelease = -1;  /* BOOLEAN */
947 static int hf_h245_fullPictureSnapshot = -1;      /* BOOLEAN */
948 static int hf_h245_partialPictureSnapshot = -1;   /* BOOLEAN */
949 static int hf_h245_videoSegmentTagging = -1;      /* BOOLEAN */
950 static int hf_h245_progressiveRefinement = -1;    /* BOOLEAN */
951 static int hf_h245_dynamicPictureResizingByFour = -1;  /* BOOLEAN */
952 static int hf_h245_dynamicPictureResizingSixteenthPel = -1;  /* BOOLEAN */
953 static int hf_h245_dynamicWarpingHalfPel = -1;    /* BOOLEAN */
954 static int hf_h245_dynamicWarpingSixteenthPel = -1;  /* BOOLEAN */
955 static int hf_h245_independentSegmentDecoding = -1;  /* BOOLEAN */
956 static int hf_h245_slicesInOrder_NonRect = -1;    /* BOOLEAN */
957 static int hf_h245_slicesInOrder_Rect = -1;       /* BOOLEAN */
958 static int hf_h245_slicesNoOrder_NonRect = -1;    /* BOOLEAN */
959 static int hf_h245_slicesNoOrder_Rect = -1;       /* BOOLEAN */
960 static int hf_h245_alternateInterVLCMode = -1;    /* BOOLEAN */
961 static int hf_h245_modifiedQuantizationMode = -1;  /* BOOLEAN */
962 static int hf_h245_reducedResolutionUpdate = -1;  /* BOOLEAN */
963 static int hf_h245_transparencyParameters = -1;   /* TransparencyParameters */
964 static int hf_h245_separateVideoBackChannel = -1;  /* BOOLEAN */
965 static int hf_h245_refPictureSelection = -1;      /* RefPictureSelection */
966 static int hf_h245_customPictureClockFrequency = -1;  /* SET_SIZE_1_16_OF_CustomPictureClockFrequency */
967 static int hf_h245_customPictureClockFrequency_item = -1;  /* CustomPictureClockFrequency */
968 static int hf_h245_customPictureFormat = -1;      /* SET_SIZE_1_16_OF_CustomPictureFormat */
969 static int hf_h245_customPictureFormat_item = -1;  /* CustomPictureFormat */
970 static int hf_h245_modeCombos = -1;               /* SET_SIZE_1_16_OF_H263VideoModeCombos */
971 static int hf_h245_modeCombos_item = -1;          /* H263VideoModeCombos */
972 static int hf_h245_h263Version3Options = -1;      /* H263Version3Options */
973 static int hf_h245_presentationOrder = -1;        /* INTEGER_1_256 */
974 static int hf_h245_offset_x = -1;                 /* INTEGER_M262144_262143 */
975 static int hf_h245_offset_y = -1;                 /* INTEGER_M262144_262143 */
976 static int hf_h245_scale_x = -1;                  /* INTEGER_1_255 */
977 static int hf_h245_scale_y = -1;                  /* INTEGER_1_255 */
978 static int hf_h245_additionalPictureMemory = -1;  /* T_additionalPictureMemory */
979 static int hf_h245_sqcifAdditionalPictureMemory = -1;  /* INTEGER_1_256 */
980 static int hf_h245_qcifAdditionalPictureMemory = -1;  /* INTEGER_1_256 */
981 static int hf_h245_cifAdditionalPictureMemory = -1;  /* INTEGER_1_256 */
982 static int hf_h245_cif4AdditionalPictureMemory = -1;  /* INTEGER_1_256 */
983 static int hf_h245_cif16AdditionalPictureMemory = -1;  /* INTEGER_1_256 */
984 static int hf_h245_bigCpfAdditionalPictureMemory = -1;  /* INTEGER_1_256 */
985 static int hf_h245_videoMux = -1;                 /* BOOLEAN */
986 static int hf_h245_videoBackChannelSend = -1;     /* T_videoBackChannelSend */
987 static int hf_h245_none = -1;                     /* NULL */
988 static int hf_h245_ackMessageOnly = -1;           /* NULL */
989 static int hf_h245_nackMessageOnly = -1;          /* NULL */
990 static int hf_h245_ackOrNackMessageOnly = -1;     /* NULL */
991 static int hf_h245_ackAndNackMessage = -1;        /* NULL */
992 static int hf_h245_enhancedReferencePicSelect = -1;  /* T_enhancedReferencePicSelect */
993 static int hf_h245_subPictureRemovalParameters = -1;  /* T_subPictureRemovalParameters */
994 static int hf_h245_mpuHorizMBs = -1;              /* INTEGER_1_128 */
995 static int hf_h245_mpuVertMBs = -1;               /* INTEGER_1_72 */
996 static int hf_h245_mpuTotalNumber = -1;           /* INTEGER_1_65536 */
997 static int hf_h245_clockConversionCode = -1;      /* INTEGER_1000_1001 */
998 static int hf_h245_clockDivisor = -1;             /* INTEGER_1_127 */
999 static int hf_h245_sqcifMPI = -1;                 /* INTEGER_1_2048 */
1000 static int hf_h245_qcifMPI_1_2048 = -1;           /* INTEGER_1_2048 */
1001 static int hf_h245_cifMPI2_1_2048 = -1;           /* INTEGER_1_2048 */
1002 static int hf_h245_cif4MPI = -1;                  /* INTEGER_1_2048 */
1003 static int hf_h245_cif16MPI = -1;                 /* INTEGER_1_2048 */
1004 static int hf_h245_maxCustomPictureWidth = -1;    /* INTEGER_1_2048 */
1005 static int hf_h245_maxCustomPictureHeight = -1;   /* INTEGER_1_2048 */
1006 static int hf_h245_minCustomPictureWidth = -1;    /* INTEGER_1_2048 */
1007 static int hf_h245_minCustomPictureHeight = -1;   /* INTEGER_1_2048 */
1008 static int hf_h245_mPI = -1;                      /* T_mPI */
1009 static int hf_h245_standardMPI = -1;              /* INTEGER_1_31 */
1010 static int hf_h245_customPCF = -1;                /* T_customPCF */
1011 static int hf_h245_customPCF_item = -1;           /* T_customPCF_item */
1012 static int hf_h245_customMPI = -1;                /* INTEGER_1_2048 */
1013 static int hf_h245_pixelAspectInformation = -1;   /* T_pixelAspectInformation */
1014 static int hf_h245_anyPixelAspectRatio = -1;      /* BOOLEAN */
1015 static int hf_h245_pixelAspectCode = -1;          /* T_pixelAspectCode */
1016 static int hf_h245_pixelAspectCode_item = -1;     /* INTEGER_1_14 */
1017 static int hf_h245_extendedPAR = -1;              /* T_extendedPAR */
1018 static int hf_h245_extendedPAR_item = -1;         /* T_extendedPAR_item */
1019 static int hf_h245_width = -1;                    /* INTEGER_1_255 */
1020 static int hf_h245_height = -1;                   /* INTEGER_1_255 */
1021 static int hf_h245_h263VideoUncoupledModes = -1;  /* H263ModeComboFlags */
1022 static int hf_h245_h263VideoCoupledModes = -1;    /* SET_SIZE_1_16_OF_H263ModeComboFlags */
1023 static int hf_h245_h263VideoCoupledModes_item = -1;  /* H263ModeComboFlags */
1024 static int hf_h245_referencePicSelect = -1;       /* BOOLEAN */
1025 static int hf_h245_enhancedReferencePicSelectBool = -1;  /* BOOLEAN */
1026 static int hf_h245_dataPartitionedSlices = -1;    /* BOOLEAN */
1027 static int hf_h245_fixedPointIDCT0 = -1;          /* BOOLEAN */
1028 static int hf_h245_interlacedFields = -1;         /* BOOLEAN */
1029 static int hf_h245_currentPictureHeaderRepetition = -1;  /* BOOLEAN */
1030 static int hf_h245_previousPictureHeaderRepetition = -1;  /* BOOLEAN */
1031 static int hf_h245_nextPictureHeaderRepetition = -1;  /* BOOLEAN */
1032 static int hf_h245_pictureNumberBoolean = -1;     /* BOOLEAN */
1033 static int hf_h245_spareReferencePictures = -1;   /* BOOLEAN */
1034 static int hf_h245_constrainedBitstream = -1;     /* BOOLEAN */
1035 static int hf_h245_pictureRate = -1;              /* INTEGER_0_15 */
1036 static int hf_h245_g711Alaw64k = -1;              /* INTEGER_1_256 */
1037 static int hf_h245_g711Alaw56k = -1;              /* INTEGER_1_256 */
1038 static int hf_h245_g711Ulaw64k = -1;              /* INTEGER_1_256 */
1039 static int hf_h245_g711Ulaw56k = -1;              /* INTEGER_1_256 */
1040 static int hf_h245_g722_64k = -1;                 /* INTEGER_1_256 */
1041 static int hf_h245_g722_56k = -1;                 /* INTEGER_1_256 */
1042 static int hf_h245_g722_48k = -1;                 /* INTEGER_1_256 */
1043 static int hf_h245_g7231 = -1;                    /* T_g7231 */
1044 static int hf_h245_maxAl_sduAudioFrames = -1;     /* INTEGER_1_256 */
1045 static int hf_h245_silenceSuppression = -1;       /* BOOLEAN */
1046 static int hf_h245_g728 = -1;                     /* INTEGER_1_256 */
1047 static int hf_h245_g729 = -1;                     /* INTEGER_1_256 */
1048 static int hf_h245_g729AnnexA = -1;               /* INTEGER_1_256 */
1049 static int hf_h245_is11172AudioCapability = -1;   /* IS11172AudioCapability */
1050 static int hf_h245_is13818AudioCapability = -1;   /* IS13818AudioCapability */
1051 static int hf_h245_g729wAnnexB = -1;              /* INTEGER_1_256 */
1052 static int hf_h245_g729AnnexAwAnnexB = -1;        /* INTEGER_1_256 */
1053 static int hf_h245_g7231AnnexCCapability = -1;    /* G7231AnnexCCapability */
1054 static int hf_h245_gsmFullRate = -1;              /* GSMAudioCapability */
1055 static int hf_h245_gsmHalfRate = -1;              /* GSMAudioCapability */
1056 static int hf_h245_gsmEnhancedFullRate = -1;      /* GSMAudioCapability */
1057 static int hf_h245_genericAudioCapability = -1;   /* GenericCapability */
1058 static int hf_h245_g729Extensions = -1;           /* G729Extensions */
1059 static int hf_h245_vbd = -1;                      /* VBDCapability */
1060 static int hf_h245_audioTelephonyEvent = -1;      /* NoPTAudioTelephonyEventCapability */
1061 static int hf_h245_audioTone = -1;                /* NoPTAudioToneCapability */
1062 static int hf_h245_audioUnit = -1;                /* INTEGER_1_256 */
1063 static int hf_h245_annexA = -1;                   /* BOOLEAN */
1064 static int hf_h245_annexB = -1;                   /* BOOLEAN */
1065 static int hf_h245_annexD = -1;                   /* BOOLEAN */
1066 static int hf_h245_annexE = -1;                   /* BOOLEAN */
1067 static int hf_h245_annexF = -1;                   /* BOOLEAN */
1068 static int hf_h245_annexG = -1;                   /* BOOLEAN */
1069 static int hf_h245_annexH = -1;                   /* BOOLEAN */
1070 static int hf_h245_highRateMode0 = -1;            /* INTEGER_27_78 */
1071 static int hf_h245_highRateMode1 = -1;            /* INTEGER_27_78 */
1072 static int hf_h245_lowRateMode0 = -1;             /* INTEGER_23_66 */
1073 static int hf_h245_lowRateMode1 = -1;             /* INTEGER_23_66 */
1074 static int hf_h245_sidMode0 = -1;                 /* INTEGER_6_17 */
1075 static int hf_h245_sidMode1 = -1;                 /* INTEGER_6_17 */
1076 static int hf_h245_g723AnnexCAudioMode = -1;      /* G723AnnexCAudioMode */
1077 static int hf_h245_audioLayer1 = -1;              /* BOOLEAN */
1078 static int hf_h245_audioLayer2 = -1;              /* BOOLEAN */
1079 static int hf_h245_audioLayer3 = -1;              /* BOOLEAN */
1080 static int hf_h245_audioSampling32k = -1;         /* BOOLEAN */
1081 static int hf_h245_audioSampling44k1 = -1;        /* BOOLEAN */
1082 static int hf_h245_audioSampling48k = -1;         /* BOOLEAN */
1083 static int hf_h245_singleChannel = -1;            /* BOOLEAN */
1084 static int hf_h245_twoChannels = -1;              /* BOOLEAN */
1085 static int hf_h245_bitRate_1_448 = -1;            /* INTEGER_1_448 */
1086 static int hf_h245_audioSampling16k = -1;         /* BOOLEAN */
1087 static int hf_h245_audioSampling22k05 = -1;       /* BOOLEAN */
1088 static int hf_h245_audioSampling24k = -1;         /* BOOLEAN */
1089 static int hf_h245_threeChannels2_1 = -1;         /* BOOLEAN */
1090 static int hf_h245_threeChannels3_0 = -1;         /* BOOLEAN */
1091 static int hf_h245_fourChannels2_0_2_0 = -1;      /* BOOLEAN */
1092 static int hf_h245_fourChannels2_2 = -1;          /* BOOLEAN */
1093 static int hf_h245_fourChannels3_1 = -1;          /* BOOLEAN */
1094 static int hf_h245_fiveChannels3_0_2_0 = -1;      /* BOOLEAN */
1095 static int hf_h245_fiveChannels3_2 = -1;          /* BOOLEAN */
1096 static int hf_h245_lowFrequencyEnhancement = -1;  /* BOOLEAN */
1097 static int hf_h245_multilingual = -1;             /* BOOLEAN */
1098 static int hf_h245_bitRate2_1_1130 = -1;          /* INTEGER_1_1130 */
1099 static int hf_h245_audioUnitSize = -1;            /* INTEGER_1_256 */
1100 static int hf_h245_comfortNoise = -1;             /* BOOLEAN */
1101 static int hf_h245_scrambled = -1;                /* BOOLEAN */
1102 static int hf_h245_vbd_cap_type = -1;             /* AudioCapability */
1103 static int hf_h245_t120 = -1;                     /* DataProtocolCapability */
1104 static int hf_h245_dsm_cc = -1;                   /* DataProtocolCapability */
1105 static int hf_h245_userData = -1;                 /* DataProtocolCapability */
1106 static int hf_h245_t84 = -1;                      /* T_t84 */
1107 static int hf_h245_t84Protocol = -1;              /* DataProtocolCapability */
1108 static int hf_h245_t84Profile = -1;               /* T84Profile */
1109 static int hf_h245_t434 = -1;                     /* DataProtocolCapability */
1110 static int hf_h245_h224 = -1;                     /* DataProtocolCapability */
1111 static int hf_h245_nlpidProtocol = -1;            /* DataProtocolCapability */
1112 static int hf_h245_nlpidData = -1;                /* OCTET_STRING */
1113 static int hf_h245_nlpid = -1;                    /* Nlpid */
1114 static int hf_h245_dsvdControl = -1;              /* NULL */
1115 static int hf_h245_h222DataPartitioning = -1;     /* DataProtocolCapability */
1116 static int hf_h245_t30fax = -1;                   /* DataProtocolCapability */
1117 static int hf_h245_t140 = -1;                     /* DataProtocolCapability */
1118 static int hf_h245_t38fax = -1;                   /* T_t38fax */
1119 static int hf_h245_t38FaxProtocol = -1;           /* DataProtocolCapability */
1120 static int hf_h245_t38FaxProfile = -1;            /* T38FaxProfile */
1121 static int hf_h245_genericDataCapability = -1;    /* GenericCapability */
1122 static int hf_h245_application = -1;              /* Application */
1123 static int hf_h245_maxBitRate2_0_4294967295 = -1;  /* INTEGER_0_4294967295 */
1124 static int hf_h245_v14buffered = -1;              /* NULL */
1125 static int hf_h245_v42lapm = -1;                  /* NULL */
1126 static int hf_h245_hdlcFrameTunnelling = -1;      /* NULL */
1127 static int hf_h245_h310SeparateVCStack = -1;      /* NULL */
1128 static int hf_h245_h310SingleVCStack = -1;        /* NULL */
1129 static int hf_h245_transparent = -1;              /* NULL */
1130 static int hf_h245_segmentationAndReassembly = -1;  /* NULL */
1131 static int hf_h245_hdlcFrameTunnelingwSAR = -1;   /* NULL */
1132 static int hf_h245_v120 = -1;                     /* NULL */
1133 static int hf_h245_separateLANStack = -1;         /* NULL */
1134 static int hf_h245_v76wCompression = -1;          /* T_v76wCompression */
1135 static int hf_h245_transmitCompression = -1;      /* CompressionType */
1136 static int hf_h245_receiveCompression = -1;       /* CompressionType */
1137 static int hf_h245_transmitAndReceiveCompression = -1;  /* CompressionType */
1138 static int hf_h245_tcp = -1;                      /* NULL */
1139 static int hf_h245_udp = -1;                      /* NULL */
1140 static int hf_h245_v42bis = -1;                   /* V42bis */
1141 static int hf_h245_numberOfCodewords = -1;        /* INTEGER_1_65536 */
1142 static int hf_h245_maximumStringLength = -1;      /* INTEGER_1_256 */
1143 static int hf_h245_t84Unrestricted = -1;          /* NULL */
1144 static int hf_h245_t84Restricted = -1;            /* T_t84Restricted */
1145 static int hf_h245_qcif_bool = -1;                /* BOOLEAN */
1146 static int hf_h245_cif_bool = -1;                 /* BOOLEAN */
1147 static int hf_h245_ccir601Seq = -1;               /* BOOLEAN */
1148 static int hf_h245_ccir601Prog = -1;              /* BOOLEAN */
1149 static int hf_h245_hdtvSeq = -1;                  /* BOOLEAN */
1150 static int hf_h245_hdtvProg = -1;                 /* BOOLEAN */
1151 static int hf_h245_g3FacsMH200x100 = -1;          /* BOOLEAN */
1152 static int hf_h245_g3FacsMH200x200 = -1;          /* BOOLEAN */
1153 static int hf_h245_g4FacsMMR200x100 = -1;         /* BOOLEAN */
1154 static int hf_h245_g4FacsMMR200x200 = -1;         /* BOOLEAN */
1155 static int hf_h245_jbig200x200Seq = -1;           /* BOOLEAN */
1156 static int hf_h245_jbig200x200Prog = -1;          /* BOOLEAN */
1157 static int hf_h245_jbig300x300Seq = -1;           /* BOOLEAN */
1158 static int hf_h245_jbig300x300Prog = -1;          /* BOOLEAN */
1159 static int hf_h245_digPhotoLow = -1;              /* BOOLEAN */
1160 static int hf_h245_digPhotoMedSeq = -1;           /* BOOLEAN */
1161 static int hf_h245_digPhotoMedProg = -1;          /* BOOLEAN */
1162 static int hf_h245_digPhotoHighSeq = -1;          /* BOOLEAN */
1163 static int hf_h245_digPhotoHighProg = -1;         /* BOOLEAN */
1164 static int hf_h245_fillBitRemoval = -1;           /* BOOLEAN */
1165 static int hf_h245_transcodingJBIG = -1;          /* BOOLEAN */
1166 static int hf_h245_transcodingMMR = -1;           /* BOOLEAN */
1167 static int hf_h245_version = -1;                  /* INTEGER_0_255 */
1168 static int hf_h245_t38FaxRateManagement = -1;     /* T38FaxRateManagement */
1169 static int hf_h245_t38FaxUdpOptions = -1;         /* T38FaxUdpOptions */
1170 static int hf_h245_t38FaxTcpOptions = -1;         /* T38FaxTcpOptions */
1171 static int hf_h245_localTCF = -1;                 /* NULL */
1172 static int hf_h245_transferredTCF = -1;           /* NULL */
1173 static int hf_h245_t38FaxMaxBuffer = -1;          /* INTEGER */
1174 static int hf_h245_t38FaxMaxDatagram = -1;        /* INTEGER */
1175 static int hf_h245_t38FaxUdpEC = -1;              /* T_t38FaxUdpEC */
1176 static int hf_h245_t38UDPFEC = -1;                /* NULL */
1177 static int hf_h245_t38UDPRedundancy = -1;         /* NULL */
1178 static int hf_h245_t38TCPBidirectionalMode = -1;  /* BOOLEAN */
1179 static int hf_h245_encryptionCapability = -1;     /* EncryptionCapability */
1180 static int hf_h245_authenticationCapability = -1;  /* AuthenticationCapability */
1181 static int hf_h245_integrityCapability = -1;      /* IntegrityCapability */
1182 static int hf_h245_genericH235SecurityCapability = -1;  /* GenericCapability */
1183 static int hf_h245_EncryptionCapability_item = -1;  /* MediaEncryptionAlgorithm */
1184 static int hf_h245_algorithm = -1;                /* OBJECT_IDENTIFIER */
1185 static int hf_h245_antiSpamAlgorithm = -1;        /* OBJECT_IDENTIFIER */
1186 static int hf_h245_ui_nonStandard = -1;           /* SEQUENCE_SIZE_1_16_OF_NonStandardParameter */
1187 static int hf_h245_ui_nonStandard_item = -1;      /* NonStandardParameter */
1188 static int hf_h245_basicString = -1;              /* NULL */
1189 static int hf_h245_iA5String = -1;                /* NULL */
1190 static int hf_h245_generalString = -1;            /* NULL */
1191 static int hf_h245_dtmf = -1;                     /* NULL */
1192 static int hf_h245_hookflash = -1;                /* NULL */
1193 static int hf_h245_extendedAlphanumericFlag = -1;  /* NULL */
1194 static int hf_h245_encryptedBasicString = -1;     /* NULL */
1195 static int hf_h245_encryptedIA5String = -1;       /* NULL */
1196 static int hf_h245_encryptedGeneralString = -1;   /* NULL */
1197 static int hf_h245_secureDTMF = -1;               /* NULL */
1198 static int hf_h245_genericUserInputCapability = -1;  /* GenericCapability */
1199 static int hf_h245_nonStandardParams = -1;        /* SEQUENCE_OF_NonStandardParameter */
1200 static int hf_h245_nonStandardParams_item = -1;   /* NonStandardParameter */
1201 static int hf_h245_chairControlCapability = -1;   /* BOOLEAN */
1202 static int hf_h245_videoIndicateMixingCapability = -1;  /* BOOLEAN */
1203 static int hf_h245_multipointVisualizationCapability = -1;  /* BOOLEAN */
1204 static int hf_h245_capabilityIdentifier = -1;     /* CapabilityIdentifier */
1205 static int hf_h245_collapsing = -1;               /* T_collapsing */
1206 static int hf_h245_collapsing_item = -1;          /* T_collapsing_item */
1207 static int hf_h245_nonCollapsing = -1;            /* T_nonCollapsing */
1208 static int hf_h245_nonCollapsing_item = -1;       /* T_nonCollapsing_item */
1209 static int hf_h245_nonCollapsingRaw = -1;         /* T_nonCollapsingRaw */
1210 static int hf_h245_transport = -1;                /* DataProtocolCapability */
1211 static int hf_h245_standardOid = -1;              /* T_standardOid */
1212 static int hf_h245_h221NonStandard = -1;          /* NonStandardParameter */
1213 static int hf_h245_uuid = -1;                     /* OCTET_STRING_SIZE_16 */
1214 static int hf_h245_domainBased = -1;              /* IA5String_SIZE_1_64 */
1215 static int hf_h245_parameterIdentifier = -1;      /* ParameterIdentifier */
1216 static int hf_h245_parameterValue = -1;           /* ParameterValue */
1217 static int hf_h245_supersedes = -1;               /* SEQUENCE_OF_ParameterIdentifier */
1218 static int hf_h245_supersedes_item = -1;          /* ParameterIdentifier */
1219 static int hf_h245_standard = -1;                 /* T_standard */
1220 static int hf_h245_logical = -1;                  /* NULL */
1221 static int hf_h245_booleanArray = -1;             /* T_booleanArray */
1222 static int hf_h245_unsignedMin = -1;              /* T_unsignedMin */
1223 static int hf_h245_unsignedMax = -1;              /* T_unsignedMax */
1224 static int hf_h245_unsigned32Min = -1;            /* T_unsigned32Min */
1225 static int hf_h245_unsigned32Max = -1;            /* T_unsigned32Max */
1226 static int hf_h245_octetString = -1;              /* T_octetString */
1227 static int hf_h245_genericParameters = -1;        /* SEQUENCE_OF_GenericParameter */
1228 static int hf_h245_genericParameters_item = -1;   /* GenericParameter */
1229 static int hf_h245_multiplexFormat = -1;          /* MultiplexFormat */
1230 static int hf_h245_controlOnMuxStream = -1;       /* BOOLEAN */
1231 static int hf_h245_capabilityOnMuxStream = -1;    /* SET_SIZE_1_256_OF_AlternativeCapabilitySet */
1232 static int hf_h245_capabilityOnMuxStream_item = -1;  /* AlternativeCapabilitySet */
1233 static int hf_h245_dynamicRTPPayloadType = -1;    /* INTEGER_96_127 */
1234 static int hf_h245_audioTelephoneEvent = -1;      /* GeneralString */
1235 static int hf_h245_capabilities = -1;             /* SET_SIZE_1_256_OF_AlternativeCapabilitySet */
1236 static int hf_h245_capabilities_item = -1;        /* AlternativeCapabilitySet */
1237 static int hf_h245_fecc_rfc2733 = -1;             /* FECC_rfc2733 */
1238 static int hf_h245_redundancyEncodingBool = -1;   /* BOOLEAN */
1239 static int hf_h245_separateStreamBool = -1;       /* T_separateStreamBool */
1240 static int hf_h245_separatePort = -1;             /* BOOLEAN */
1241 static int hf_h245_samePortBool = -1;             /* BOOLEAN */
1242 static int hf_h245_protectedCapability = -1;      /* CapabilityTableEntryNumber */
1243 static int hf_h245_fecScheme = -1;                /* OBJECT_IDENTIFIER */
1244 static int hf_h245_rfc2733rfc2198 = -1;           /* MaxRedundancy */
1245 static int hf_h245_rfc2733sameport = -1;          /* MaxRedundancy */
1246 static int hf_h245_rfc2733diffport = -1;          /* MaxRedundancy */
1247 static int hf_h245_rfc2733Format = -1;            /* Rfc2733Format */
1248 static int hf_h245_olc_fw_lcn = -1;               /* OLC_fw_lcn */
1249 static int hf_h245_forwardLogicalChannelParameters = -1;  /* T_forwardLogicalChannelParameters */
1250 static int hf_h245_portNumber = -1;               /* INTEGER_0_65535 */
1251 static int hf_h245_dataType = -1;                 /* DataType */
1252 static int hf_h245_olc_forw_multiplexParameters = -1;  /* OLC_forw_multiplexParameters */
1253 static int hf_h245_h222LogicalChannelParameters = -1;  /* H222LogicalChannelParameters */
1254 static int hf_h245_olc_fw_h223_params = -1;       /* OLC_fw_h223_params */
1255 static int hf_h245_v76LogicalChannelParameters = -1;  /* V76LogicalChannelParameters */
1256 static int hf_h245_h2250LogicalChannelParameters = -1;  /* H2250LogicalChannelParameters */
1257 static int hf_h245_forwardLogicalChannelDependency = -1;  /* LogicalChannelNumber */
1258 static int hf_h245_replacementFor = -1;           /* LogicalChannelNumber */
1259 static int hf_h245_reverseLogicalChannelParameters = -1;  /* OLC_reverseLogicalChannelParameters */
1260 static int hf_h245_olc_rev_multiplexParameter = -1;  /* OLC_rev_multiplexParameters */
1261 static int hf_h245_olc_rev_h223_params = -1;      /* OLC_rev_h223_params */
1262 static int hf_h245_reverseLogicalChannelDependency = -1;  /* LogicalChannelNumber */
1263 static int hf_h245_separateStack = -1;            /* NetworkAccessParameters */
1264 static int hf_h245_encryptionSync = -1;           /* EncryptionSync */
1265 static int hf_h245_distribution = -1;             /* T_distribution */
1266 static int hf_h245_unicast = -1;                  /* NULL */
1267 static int hf_h245_multicast = -1;                /* NULL */
1268 static int hf_h245_networkAddress = -1;           /* T_networkAddress */
1269 static int hf_h245_q2931Address = -1;             /* Q2931Address */
1270 static int hf_h245_e164Address = -1;              /* T_e164Address */
1271 static int hf_h245_localAreaAddress = -1;         /* TransportAddress */
1272 static int hf_h245_associateConference = -1;      /* BOOLEAN */
1273 static int hf_h245_externalReference = -1;        /* OCTET_STRING_SIZE_1_255 */
1274 static int hf_h245_t120SetupProcedure = -1;       /* T_t120SetupProcedure */
1275 static int hf_h245_originateCall = -1;            /* NULL */
1276 static int hf_h245_waitForCall = -1;              /* NULL */
1277 static int hf_h245_issueQuery = -1;               /* NULL */
1278 static int hf_h245_address = -1;                  /* T_address */
1279 static int hf_h245_internationalNumber = -1;      /* NumericString_SIZE_1_16 */
1280 static int hf_h245_nsapAddress = -1;              /* OCTET_STRING_SIZE_1_20 */
1281 static int hf_h245_subaddress = -1;               /* OCTET_STRING_SIZE_1_20 */
1282 static int hf_h245_audioHeaderPresent = -1;       /* BOOLEAN */
1283 static int hf_h245_nullData = -1;                 /* NULL */
1284 static int hf_h245_videoData = -1;                /* VideoCapability */
1285 static int hf_h245_audioData = -1;                /* AudioCapability */
1286 static int hf_h245_data = -1;                     /* DataApplicationCapability */
1287 static int hf_h245_encryptionData = -1;           /* EncryptionMode */
1288 static int hf_h245_h235Control = -1;              /* NonStandardParameter */
1289 static int hf_h245_h235Media = -1;                /* H235Media */
1290 static int hf_h245_multiplexedStream = -1;        /* MultiplexedStreamParameter */
1291 static int hf_h245_redundancyEncoding = -1;       /* RedundancyEncoding */
1292 static int hf_h245_multiplePayloadStream = -1;    /* MultiplePayloadStream */
1293 static int hf_h245_depFec = -1;                   /* DepFECData */
1294 static int hf_h245_fec = -1;                      /* FECData */
1295 static int hf_h245_mediaType = -1;                /* T_mediaType */
1296 static int hf_h245_resourceID = -1;               /* INTEGER_0_65535 */
1297 static int hf_h245_subChannelID = -1;             /* INTEGER_0_8191 */
1298 static int hf_h245_pcr_pid = -1;                  /* INTEGER_0_8191 */
1299 static int hf_h245_programDescriptors = -1;       /* OCTET_STRING */
1300 static int hf_h245_streamDescriptors = -1;        /* OCTET_STRING */
1301 static int hf_h245_adaptationLayerType = -1;      /* T_adaptationLayerType */
1302 static int hf_h245_h223_al_type_al1Framed = -1;   /* T_h223_al_type_al1Framed */
1303 static int hf_h245_h223_al_type_al1NotFramed = -1;  /* T_h223_al_type_al1NotFramed */
1304 static int hf_h245_h223_al_type_al2WithoutSequenceNumbers = -1;  /* T_h223_al_type_al2WithoutSequenceNumbers */
1305 static int hf_h245_h223_al_type_al2WithSequenceNumbers = -1;  /* T_h223_al_type_al2WithSequenceNumbers */
1306 static int hf_h245_controlFieldOctets = -1;       /* T_controlFieldOctets */
1307 static int hf_h245_al3_sendBufferSize = -1;       /* T_al3_sendBufferSize */
1308 static int hf_h245_h223_al_type_al3 = -1;         /* T_h223_al_type_al3 */
1309 static int hf_h245_h223_al_type_al1M = -1;        /* T_h223_al_type_al1M */
1310 static int hf_h245_h223_al_type_al2M = -1;        /* T_h223_al_type_al2M */
1311 static int hf_h245_h223_al_type_al3M = -1;        /* T_h223_al_type_al3M */
1312 static int hf_h245_h223_lc_segmentableFlag = -1;  /* T_h223_lc_segmentableFlag */
1313 static int hf_h245_transferMode = -1;             /* T_transferMode */
1314 static int hf_h245_framed = -1;                   /* NULL */
1315 static int hf_h245_unframed = -1;                 /* NULL */
1316 static int hf_h245_aL1HeaderFEC = -1;             /* AL1HeaderFEC */
1317 static int hf_h245_sebch16_7 = -1;                /* NULL */
1318 static int hf_h245_golay24_12 = -1;               /* NULL */
1319 static int hf_h245_crcLength2 = -1;               /* AL1CrcLength */
1320 static int hf_h245_crc4bit = -1;                  /* NULL */
1321 static int hf_h245_crc12bit = -1;                 /* NULL */
1322 static int hf_h245_crc20bit = -1;                 /* NULL */
1323 static int hf_h245_crc28bit = -1;                 /* NULL */
1324 static int hf_h245_crc8bit = -1;                  /* NULL */
1325 static int hf_h245_crc16bit = -1;                 /* NULL */
1326 static int hf_h245_crc32bit = -1;                 /* NULL */
1327 static int hf_h245_crcNotUsed = -1;               /* NULL */
1328 static int hf_h245_rcpcCodeRate = -1;             /* INTEGER_8_32 */
1329 static int hf_h245_noArq = -1;                    /* NULL */
1330 static int hf_h245_typeIArq = -1;                 /* H223AnnexCArqParameters */
1331 static int hf_h245_typeIIArq = -1;                /* H223AnnexCArqParameters */
1332 static int hf_h245_arqType = -1;                  /* ArqType */
1333 static int hf_h245_alsduSplitting = -1;           /* BOOLEAN */
1334 static int hf_h245_rsCodeCorrection = -1;         /* INTEGER_0_127 */
1335 static int hf_h245_aL2HeaderFEC = -1;             /* AL2HeaderFEC */
1336 static int hf_h245_sebch16_5 = -1;                /* NULL */
1337 static int hf_h245_headerFormat = -1;             /* T_headerFormat */
1338 static int hf_h245_crlength2 = -1;                /* AL3CrcLength */
1339 static int hf_h245_numberOfRetransmissions = -1;  /* T_numberOfRetransmissions */
1340 static int hf_h245_finite = -1;                   /* INTEGER_0_16 */
1341 static int hf_h245_infinite = -1;                 /* NULL */
1342 static int hf_h245_sendBufferSize = -1;           /* INTEGER_0_16777215 */
1343 static int hf_h245_hdlcParameters = -1;           /* V76HDLCParameters */
1344 static int hf_h245_suspendResume = -1;            /* T_suspendResume */
1345 static int hf_h245_noSuspendResume = -1;          /* NULL */
1346 static int hf_h245_suspendResumewAddress = -1;    /* NULL */
1347 static int hf_h245_suspendResumewoAddress = -1;   /* NULL */
1348 static int hf_h245_uIH = -1;                      /* BOOLEAN */
1349 static int hf_h245_v76_mode = -1;                 /* V76LCP_mode */
1350 static int hf_h245_eRM = -1;                      /* T_eRM */
1351 static int hf_h245_windowSize = -1;               /* INTEGER_1_127 */
1352 static int hf_h245_recovery = -1;                 /* T_recovery */
1353 static int hf_h245_rej = -1;                      /* NULL */
1354 static int hf_h245_sREJ = -1;                     /* NULL */
1355 static int hf_h245_mSREJ = -1;                    /* NULL */
1356 static int hf_h245_uNERM = -1;                    /* NULL */
1357 static int hf_h245_v75Parameters = -1;            /* V75Parameters */
1358 static int hf_h245_crcLength = -1;                /* CRCLength */
1359 static int hf_h245_n401 = -1;                     /* INTEGER_1_4095 */
1360 static int hf_h245_loopbackTestProcedure = -1;    /* BOOLEAN */
1361 static int hf_h245_sessionID_0_255 = -1;          /* INTEGER_0_255 */
1362 static int hf_h245_associatedSessionID = -1;      /* INTEGER_1_255 */
1363 static int hf_h245_mediaChannel = -1;             /* T_mediaChannel */
1364 static int hf_h245_mediaGuaranteedDelivery = -1;  /* BOOLEAN */
1365 static int hf_h245_mediaControlChannel = -1;      /* T_mediaControlChannel */
1366 static int hf_h245_mediaControlGuaranteedDelivery = -1;  /* BOOLEAN */
1367 static int hf_h245_destination = -1;              /* TerminalLabel */
1368 static int hf_h245_mediaPacketization = -1;       /* T_mediaPacketization */
1369 static int hf_h245_h261aVideoPacketizationFlag = -1;  /* NULL */
1370 static int hf_h245_rtpPayloadType = -1;           /* RTPPayloadType */
1371 static int hf_h245_source = -1;                   /* TerminalLabel */
1372 static int hf_h245_payloadDescriptor = -1;        /* T_payloadDescriptor */
1373 static int hf_h245_rfc_number = -1;               /* T_rfc_number */
1374 static int hf_h245_oid = -1;                      /* OBJECT_IDENTIFIER */
1375 static int hf_h245_rtpPayloadType_01 = -1;        /* T_rtpPayloadType */
1376 static int hf_h245_secondaryEncoding = -1;        /* DataType */
1377 static int hf_h245_rtpRedundancyEncoding = -1;    /* T_rtpRedundancyEncoding */
1378 static int hf_h245_primary = -1;                  /* RedundancyEncodingElement */
1379 static int hf_h245_secondary = -1;                /* SEQUENCE_OF_RedundancyEncodingElement */
1380 static int hf_h245_secondary_item = -1;           /* RedundancyEncodingElement */
1381 static int hf_h245_payloadType = -1;              /* INTEGER_0_127 */
1382 static int hf_h245_elements = -1;                 /* SEQUENCE_OF_MultiplePayloadStreamElement */
1383 static int hf_h245_elements_item = -1;            /* MultiplePayloadStreamElement */
1384 static int hf_h245_dep_rfc2733 = -1;              /* RFC2733Data */
1385 static int hf_h245_fec_data_mode = -1;            /* FECdata_mode */
1386 static int hf_h245_redundancyEncodingFlag = -1;   /* NULL */
1387 static int hf_h245_differentPort = -1;            /* T_differentPort */
1388 static int hf_h245_protectedSessionID = -1;       /* INTEGER_1_255 */
1389 static int hf_h245_protectedPayloadType = -1;     /* INTEGER_0_127 */
1390 static int hf_h245_samePort = -1;                 /* T_samePort */
1391 static int hf_h245_separateStream = -1;           /* DepSeparateStream */
1392 static int hf_h245_rfc2733 = -1;                  /* T_rfc2733 */
1393 static int hf_h245_pktMode = -1;                  /* T_pktMode */
1394 static int hf_h245_rfc2198coding = -1;            /* NULL */
1395 static int hf_h245_mode_rfc2733sameport = -1;     /* T_mode_rfc2733sameport */
1396 static int hf_h245_mode_rfc2733diffport = -1;     /* T_mode_rfc2733diffport */
1397 static int hf_h245_protectedChannel = -1;         /* LogicalChannelNumber */
1398 static int hf_h245_unicastAddress = -1;           /* UnicastAddress */
1399 static int hf_h245_multicastAddress = -1;         /* MulticastAddress */
1400 static int hf_h245_iPAddress = -1;                /* T_iPAddress */
1401 static int hf_h245_ip4_network = -1;              /* Ipv4_network */
1402 static int hf_h245_tsapIdentifier = -1;           /* TsapIdentifier */
1403 static int hf_h245_iPXAddress = -1;               /* T_iPXAddress */
1404 static int hf_h245_node = -1;                     /* OCTET_STRING_SIZE_6 */
1405 static int hf_h245_netnum = -1;                   /* OCTET_STRING_SIZE_4 */
1406 static int hf_h245_ipx_tsapIdentifier = -1;       /* OCTET_STRING_SIZE_2 */
1407 static int hf_h245_iP6Address = -1;               /* T_iP6Address */
1408 static int hf_h245_ip6_network = -1;              /* OCTET_STRING_SIZE_16 */
1409 static int hf_h245_ipv6_tsapIdentifier = -1;      /* INTEGER_0_65535 */
1410 static int hf_h245_netBios = -1;                  /* OCTET_STRING_SIZE_16 */
1411 static int hf_h245_iPSourceRouteAddress = -1;     /* T_iPSourceRouteAddress */
1412 static int hf_h245_routing = -1;                  /* T_routing */
1413 static int hf_h245_strict = -1;                   /* NULL */
1414 static int hf_h245_loose = -1;                    /* NULL */
1415 static int hf_h245_network = -1;                  /* OCTET_STRING_SIZE_4 */
1416 static int hf_h245_iPSrcRoute_tsapIdentifier = -1;  /* INTEGER_0_65535 */
1417 static int hf_h245_route = -1;                    /* T_route */
1418 static int hf_h245_route_item = -1;               /* OCTET_STRING_SIZE_4 */
1419 static int hf_h245_nsap = -1;                     /* OCTET_STRING_SIZE_1_20 */
1420 static int hf_h245_nonStandardAddress = -1;       /* NonStandardParameter */
1421 static int hf_h245_mIPAddress = -1;               /* MIPAddress */
1422 static int hf_h245_mip4_network = -1;             /* OCTET_STRING_SIZE_4 */
1423 static int hf_h245_multicast_tsapIdentifier = -1;  /* INTEGER_0_65535 */
1424 static int hf_h245_mIP6Address = -1;              /* MIP6Address */
1425 static int hf_h245_mip6_network = -1;             /* OCTET_STRING_SIZE_16 */
1426 static int hf_h245_multicast_IPv6_tsapIdentifier = -1;  /* INTEGER_0_65535 */
1427 static int hf_h245_synchFlag = -1;                /* INTEGER_0_255 */
1428 static int hf_h245_h235Key = -1;                  /* OCTET_STRING_SIZE_1_65535 */
1429 static int hf_h245_escrowentry = -1;              /* SEQUENCE_SIZE_1_256_OF_EscrowData */
1430 static int hf_h245_escrowentry_item = -1;         /* EscrowData */
1431 static int hf_h245_genericParameter = -1;         /* GenericParameter */
1432 static int hf_h245_escrowID = -1;                 /* OBJECT_IDENTIFIER */
1433 static int hf_h245_escrowValue = -1;              /* BIT_STRING_SIZE_1_65535 */
1434 static int hf_h245_olc_ack_fw_lcn = -1;           /* OLC_ack_fw_lcn */
1435 static int hf_h245_olc_ack_reverseLogicalChannelParameters = -1;  /* OLC_ack_reverseLogicalChannelParameters */
1436 static int hf_h245_reverseLogicalChannelNumber = -1;  /* T_reverseLogicalChannelNumber */
1437 static int hf_h245_olc_ack_multiplexParameters = -1;  /* T_olc_ack_multiplexParameters */
1438 static int hf_h245_forwardMultiplexAckParameters = -1;  /* T_forwardMultiplexAckParameters */
1439 static int hf_h245_h2250LogicalChannelAckParameters = -1;  /* H2250LogicalChannelAckParameters */
1440 static int hf_h245_forwardLogicalChannelNumber = -1;  /* LogicalChannelNumber */
1441 static int hf_h245_olc_rej_cause = -1;            /* OpenLogicalChannelRejectCause */
1442 static int hf_h245_unsuitableReverseParameters = -1;  /* NULL */
1443 static int hf_h245_dataTypeNotSupported = -1;     /* NULL */
1444 static int hf_h245_dataTypeNotAvailable = -1;     /* NULL */
1445 static int hf_h245_unknownDataType = -1;          /* NULL */
1446 static int hf_h245_dataTypeALCombinationNotSupported = -1;  /* NULL */
1447 static int hf_h245_multicastChannelNotAllowed = -1;  /* NULL */
1448 static int hf_h245_insufficientBandwidth = -1;    /* NULL */
1449 static int hf_h245_separateStackEstablishmentFailed = -1;  /* NULL */
1450 static int hf_h245_invalidSessionID = -1;         /* NULL */
1451 static int hf_h245_masterSlaveConflict = -1;      /* NULL */
1452 static int hf_h245_waitForCommunicationMode = -1;  /* NULL */
1453 static int hf_h245_invalidDependentChannel = -1;  /* NULL */
1454 static int hf_h245_replacementForRejected = -1;   /* NULL */
1455 static int hf_h245_securityDenied = -1;           /* NULL */
1456 static int hf_h245_qoSControlNotSupported = -1;   /* NULL */
1457 static int hf_h245_sessionID = -1;                /* INTEGER_1_255 */
1458 static int hf_h245_ack_mediaChannel = -1;         /* Ack_mediaChannel */
1459 static int hf_h245_ack_mediaControlChannel = -1;  /* Ack_mediaControlChannel */
1460 static int hf_h245_flowControlToZero = -1;        /* BOOLEAN */
1461 static int hf_h245_cLC_source = -1;               /* T_cLC_source */
1462 static int hf_h245_user = -1;                     /* NULL */
1463 static int hf_h245_lcse = -1;                     /* NULL */
1464 static int hf_h245_clc_reason = -1;               /* Clc_reason */
1465 static int hf_h245_unknown = -1;                  /* NULL */
1466 static int hf_h245_reopen = -1;                   /* NULL */
1467 static int hf_h245_reservationFailure = -1;       /* NULL */
1468 static int hf_h245_networkErrorCode = -1;         /* INTEGER_0_255 */
1469 static int hf_h245_qosCapability = -1;            /* QOSCapability */
1470 static int hf_h245_reason = -1;                   /* T_reason */
1471 static int hf_h245_normal = -1;                   /* NULL */
1472 static int hf_h245_req_chan_clos_rej_cause = -1;  /* RequestChannelCloseRejectCause */
1473 static int hf_h245_multiplexEntryDescriptors = -1;  /* SET_SIZE_1_15_OF_MultiplexEntryDescriptor */
1474 static int hf_h245_multiplexEntryDescriptors_item = -1;  /* MultiplexEntryDescriptor */
1475 static int hf_h245_multiplexTableEntryNumber = -1;  /* MultiplexTableEntryNumber */
1476 static int hf_h245_elementList = -1;              /* T_elementList */
1477 static int hf_h245_elementList_item = -1;         /* MultiplexElement */
1478 static int hf_h245_me_type = -1;                  /* Me_type */
1479 static int hf_h245_logicalChannelNum = -1;        /* T_logicalChannelNum */
1480 static int hf_h245_subElementList = -1;           /* T_subElementList */
1481 static int hf_h245_subElementList_item = -1;      /* MultiplexElement */
1482 static int hf_h245_me_repeatCount = -1;           /* ME_repeatCount */
1483 static int hf_h245_me_repeatCount_finite = -1;    /* ME_finiteRepeatCount */
1484 static int hf_h245_untilClosingFlag = -1;         /* T_untilClosingFlag */
1485 static int hf_h245_multiplexTableEntryNumbers = -1;  /* SET_SIZE_1_15_OF_MultiplexTableEntryNumber */
1486 static int hf_h245_multiplexTableEntryNumbers_item = -1;  /* MultiplexTableEntryNumber */
1487 static int hf_h245_sendRejectionDescriptions = -1;  /* SET_SIZE_1_15_OF_MultiplexEntryRejectionDescriptions */
1488 static int hf_h245_sendRejectionDescriptions_item = -1;  /* MultiplexEntryRejectionDescriptions */
1489 static int hf_h245_mux_rej_cause = -1;            /* MultiplexEntryRejectionDescriptionsCause */
1490 static int hf_h245_unspecifiedCause = -1;         /* NULL */
1491 static int hf_h245_descriptorTooComplex = -1;     /* NULL */
1492 static int hf_h245_entryNumbers = -1;             /* SET_SIZE_1_15_OF_MultiplexTableEntryNumber */
1493 static int hf_h245_entryNumbers_item = -1;        /* MultiplexTableEntryNumber */
1494 static int hf_h245_rejectionDescriptions = -1;    /* SET_SIZE_1_15_OF_RequestMultiplexEntryRejectionDescriptions */
1495 static int hf_h245_rejectionDescriptions_item = -1;  /* RequestMultiplexEntryRejectionDescriptions */
1496 static int hf_h245_req_mux_rej_cause = -1;        /* RequestMultiplexEntryRejectionDescriptionsCause */
1497 static int hf_h245_requestedModes = -1;           /* SEQUENCE_SIZE_1_256_OF_ModeDescription */
1498 static int hf_h245_requestedModes_item = -1;      /* ModeDescription */
1499 static int hf_h245_req_mode_ack_response = -1;    /* Req_mode_ack_response */
1500 static int hf_h245_willTransmitMostPreferredMode = -1;  /* NULL */
1501 static int hf_h245_willTransmitLessPreferredMode = -1;  /* NULL */
1502 static int hf_h245_req_rej_cause = -1;            /* RequestModeRejectCause */
1503 static int hf_h245_modeUnavailable = -1;          /* NULL */
1504 static int hf_h245_multipointConstraint = -1;     /* NULL */
1505 static int hf_h245_requestDenied = -1;            /* NULL */
1506 static int hf_h245_ModeDescription_item = -1;     /* ModeElement */
1507 static int hf_h245_videoMode = -1;                /* VideoMode */
1508 static int hf_h245_audioMode = -1;                /* AudioMode */
1509 static int hf_h245_dataMode = -1;                 /* DataMode */
1510 static int hf_h245_encryptionMode = -1;           /* EncryptionMode */
1511 static int hf_h245_h235Mode = -1;                 /* H235Mode */
1512 static int hf_h245_multiplexedStreamMode = -1;    /* MultiplexedStreamParameter */
1513 static int hf_h245_redundancyEncodingDTMode = -1;  /* RedundancyEncodingDTMode */
1514 static int hf_h245_multiplePayloadStreamMode = -1;  /* MultiplePayloadStreamMode */
1515 static int hf_h245_depFecMode = -1;               /* DepFECMode */
1516 static int hf_h245_fecMode = -1;                  /* FECMode */
1517 static int hf_h245_type = -1;                     /* ModeElementType */
1518 static int hf_h245_h223ModeParameters = -1;       /* H223ModeParameters */
1519 static int hf_h245_v76ModeParameters = -1;        /* V76ModeParameters */
1520 static int hf_h245_h2250ModeParameters = -1;      /* H2250ModeParameters */
1521 static int hf_h245_genericModeParameters = -1;    /* GenericCapability */
1522 static int hf_h245_multiplexedStreamModeParameters = -1;  /* MultiplexedStreamModeParameters */
1523 static int hf_h245_logicalChannelNumber = -1;     /* LogicalChannelNumber */
1524 static int hf_h245_mediaMode = -1;                /* T_mediaMode */
1525 static int hf_h245_prmary_dtmode = -1;            /* RedundancyEncodingDTModeElement */
1526 static int hf_h245_secondaryDTM = -1;             /* SEQUENCE_OF_RedundancyEncodingDTModeElement */
1527 static int hf_h245_secondaryDTM_item = -1;        /* RedundancyEncodingDTModeElement */
1528 static int hf_h245_re_type = -1;                  /* Re_type */
1529 static int hf_h245_mpsmElements = -1;             /* SEQUENCE_OF_MultiplePayloadStreamElementMode */
1530 static int hf_h245_mpsmElements_item = -1;        /* MultiplePayloadStreamElementMode */
1531 static int hf_h245_rfc2733Mode = -1;              /* T_rfc2733Mode */
1532 static int hf_h245_fec_mode = -1;                 /* FEC_mode */
1533 static int hf_h245_protectedElement = -1;         /* ModeElementType */
1534 static int hf_h245_adaptationLayer = -1;          /* AdaptationLayerType */
1535 static int hf_h245_al1Framed = -1;                /* NULL */
1536 static int hf_h245_al1NotFramed = -1;             /* NULL */
1537 static int hf_h245_al2WithoutSequenceNumbers = -1;  /* NULL */
1538 static int hf_h245_al2WithSequenceNumbers = -1;   /* NULL */
1539 static int hf_h245_al3 = -1;                      /* Al3 */
1540 static int hf_h245_al1M = -1;                     /* H223AL1MParameters */
1541 static int hf_h245_al2M = -1;                     /* H223AL2MParameters */
1542 static int hf_h245_al3M = -1;                     /* H223AL3MParameters */
1543 static int hf_h245_segmentableFlag = -1;          /* BOOLEAN */
1544 static int hf_h245_redundancyEncodingMode = -1;   /* RedundancyEncodingMode */
1545 static int hf_h245_secondaryEncodingMode = -1;    /* T_secondaryEncodingMode */
1546 static int hf_h245_h261VideoMode = -1;            /* H261VideoMode */
1547 static int hf_h245_h262VideoMode = -1;            /* H262VideoMode */
1548 static int hf_h245_h263VideoMode = -1;            /* H263VideoMode */
1549 static int hf_h245_is11172VideoMode = -1;         /* IS11172VideoMode */
1550 static int hf_h245_genericVideoMode = -1;         /* GenericCapability */
1551 static int hf_h245_h261_resolution = -1;          /* H261Resolution */
1552 static int hf_h245_qcif = -1;                     /* NULL */
1553 static int hf_h245_cif = -1;                      /* NULL */
1554 static int hf_h245_profileAndLevel = -1;          /* T_profileAndLevel */
1555 static int hf_h245_profileAndLevel_SPatMLMode = -1;  /* NULL */
1556 static int hf_h245_profileAndLevel_MPatLLMode = -1;  /* NULL */
1557 static int hf_h245_profileAndLevel_MPatMLMode = -1;  /* NULL */
1558 static int hf_h245_profileAndLevel_MPatH_14Mode = -1;  /* NULL */
1559 static int hf_h245_profileAndLevel_MPatHLMode = -1;  /* NULL */
1560 static int hf_h245_profileAndLevel_SNRatLLMode = -1;  /* NULL */
1561 static int hf_h245_profileAndLevel_SNRatMLMode = -1;  /* NULL */
1562 static int hf_h245_profileAndLevel_SpatialatH_14Mode = -1;  /* NULL */
1563 static int hf_h245_profileAndLevel_HPatMLMode = -1;  /* NULL */
1564 static int hf_h245_profileAndLevel_HPatH_14Mode = -1;  /* NULL */
1565 static int hf_h245_profileAndLevel_HPatHLMode = -1;  /* NULL */
1566 static int hf_h245_h263_resolution = -1;          /* H263Resolution */
1567 static int hf_h245_sqcif = -1;                    /* NULL */
1568 static int hf_h245_cif4 = -1;                     /* NULL */
1569 static int hf_h245_cif16 = -1;                    /* NULL */
1570 static int hf_h245_custom_res = -1;               /* NULL */
1571 static int hf_h245_g711Alaw64k_mode = -1;         /* NULL */
1572 static int hf_h245_g711Alaw56k_mode = -1;         /* NULL */
1573 static int hf_h245_g711Ulaw64k_mode = -1;         /* NULL */
1574 static int hf_h245_g711Ulaw56k_mode = -1;         /* NULL */
1575 static int hf_h245_g722_64k_mode = -1;            /* NULL */
1576 static int hf_h245_g722_56k_mode = -1;            /* NULL */
1577 static int hf_h245_g722_48k_mode = -1;            /* NULL */
1578 static int hf_h245_g728_mode = -1;                /* NULL */
1579 static int hf_h245_g729_mode = -1;                /* NULL */
1580 static int hf_h245_g729AnnexA_mode = -1;          /* NULL */
1581 static int hf_h245_g7231_mode = -1;               /* Mode_g7231 */
1582 static int hf_h245_noSilenceSuppressionLowRate = -1;  /* NULL */
1583 static int hf_h245_noSilenceSuppressionHighRate = -1;  /* NULL */
1584 static int hf_h245_silenceSuppressionLowRate = -1;  /* NULL */
1585 static int hf_h245_silenceSuppressionHighRate = -1;  /* NULL */
1586 static int hf_h245_is11172AudioMode = -1;         /* IS11172AudioMode */
1587 static int hf_h245_is13818AudioMode = -1;         /* IS13818AudioMode */
1588 static int hf_h245_g7231AnnexCMode = -1;          /* G7231AnnexCMode */
1589 static int hf_h245_genericAudioMode = -1;         /* GenericCapability */
1590 static int hf_h245_vbd_mode = -1;                 /* VBDMode */
1591 static int hf_h245_audioLayer = -1;               /* T_audioLayer */
1592 static int hf_h245_audioLayer1Mode = -1;          /* NULL */
1593 static int hf_h245_audioLayer2Mode = -1;          /* NULL */
1594 static int hf_h245_audioLayer3Mode = -1;          /* NULL */
1595 static int hf_h245_audioSampling = -1;            /* T_audioSampling */
1596 static int hf_h245_audioSampling32kMode = -1;     /* NULL */
1597 static int hf_h245_audioSampling44k1Mode = -1;    /* NULL */
1598 static int hf_h245_audioSampling48kMode = -1;     /* NULL */
1599 static int hf_h245_is11172multichannelType = -1;  /* IS11172_multichannelType */
1600 static int hf_h245_singleChannelMode = -1;        /* NULL */
1601 static int hf_h245_twoChannelStereo = -1;         /* NULL */
1602 static int hf_h245_twoChannelDual = -1;           /* NULL */
1603 static int hf_h245_audioLayerMode = -1;           /* IS13818AudioLayer */
1604 static int hf_h245_audioSamplingMode = -1;        /* IS13818AudioSampling */
1605 static int hf_h245_audioSampling16kMode = -1;     /* NULL */
1606 static int hf_h245_audioSampling22k05Mode = -1;   /* NULL */
1607 static int hf_h245_audioSampling24kMode = -1;     /* NULL */
1608 static int hf_h245_is13818MultichannelType = -1;  /* IS13818MultichannelType */
1609 static int hf_h245_threeChannels2_1Mode = -1;     /* NULL */
1610 static int hf_h245_threeChannels3_0Mode = -1;     /* NULL */
1611 static int hf_h245_fourChannels2_0_2_0Mode = -1;  /* NULL */
1612 static int hf_h245_fourChannels2_2Mode = -1;      /* NULL */
1613 static int hf_h245_fourChannels3_1Mode = -1;      /* NULL */
1614 static int hf_h245_fiveChannels3_0_2_0Mode = -1;  /* NULL */
1615 static int hf_h245_fiveChannels3_2Mode = -1;      /* NULL */
1616 static int hf_h245_vbd_type = -1;                 /* AudioMode */
1617 static int hf_h245_datamodeapplication = -1;      /* DataModeApplication */
1618 static int hf_h245_t84DataProtocolCapability = -1;  /* DataProtocolCapability */
1619 static int hf_h245_t38faxDataProtocolCapability = -1;  /* T38faxApp */
1620 static int hf_h245_genericDataMode = -1;          /* GenericCapability */
1621 static int hf_h245_bitRate_0_4294967295 = -1;     /* INTEGER_0_4294967295 */
1622 static int hf_h245_h233Encryption = -1;           /* NULL */
1623 static int hf_h245_mlr_type = -1;                 /* Mlr_type */
1624 static int hf_h245_systemLoop = -1;               /* NULL */
1625 static int hf_h245_mediaLoop = -1;                /* LogicalChannelNumber */
1626 static int hf_h245_logicalChannelLoop = -1;       /* LogicalChannelNumber */
1627 static int hf_h245_mla_type = -1;                 /* Mla_type */
1628 static int hf_h245_mlrej_type = -1;               /* Mlrej_type */
1629 static int hf_h245_maintloop_rej_cause = -1;      /* MaintenanceLoopRejectCause */
1630 static int hf_h245_canNotPerformLoop = -1;        /* NULL */
1631 static int hf_h245_communicationModeTable = -1;   /* SET_SIZE_1_256_OF_CommunicationModeTableEntry */
1632 static int hf_h245_communicationModeTable_item = -1;  /* CommunicationModeTableEntry */
1633 static int hf_h245_terminalLabel = -1;            /* TerminalLabel */
1634 static int hf_h245_sessionDescription = -1;       /* BMPString_SIZE_1_128 */
1635 static int hf_h245_entryDataType = -1;            /* T_entryDataType */
1636 static int hf_h245_cm_mediaChannel = -1;          /* Cm_mediaChannel */
1637 static int hf_h245_cm_mediaControlChannel = -1;   /* TransportAddress */
1638 static int hf_h245_sessionDependency = -1;        /* INTEGER_1_255 */
1639 static int hf_h245_terminalListRequest = -1;      /* NULL */
1640 static int hf_h245_makeMeChair = -1;              /* NULL */
1641 static int hf_h245_cancelMakeMeChair = -1;        /* NULL */
1642 static int hf_h245_dropTerminal = -1;             /* TerminalLabel */
1643 static int hf_h245_requestTerminalID = -1;        /* TerminalLabel */
1644 static int hf_h245_enterH243Password = -1;        /* NULL */
1645 static int hf_h245_enterH243TerminalID = -1;      /* NULL */
1646 static int hf_h245_enterH243ConferenceID = -1;    /* NULL */
1647 static int hf_h245_enterExtensionAddress = -1;    /* NULL */
1648 static int hf_h245_requestChairTokenOwner = -1;   /* NULL */
1649 static int hf_h245_requestTerminalCertificate = -1;  /* T_requestTerminalCertificate */
1650 static int hf_h245_certSelectionCriteria = -1;    /* CertSelectionCriteria */
1651 static int hf_h245_sRandom = -1;                  /* INTEGER_1_4294967295 */
1652 static int hf_h245_broadcastMyLogicalChannel = -1;  /* LogicalChannelNumber */
1653 static int hf_h245_makeTerminalBroadcaster = -1;  /* TerminalLabel */
1654 static int hf_h245_sendThisSource = -1;           /* TerminalLabel */
1655 static int hf_h245_requestAllTerminalIDs = -1;    /* NULL */
1656 static int hf_h245_remoteMCRequest = -1;          /* RemoteMCRequest */
1657 static int hf_h245_CertSelectionCriteria_item = -1;  /* Criteria */
1658 static int hf_h245_field = -1;                    /* OBJECT_IDENTIFIER */
1659 static int hf_h245_criteriaValue = -1;            /* OCTET_STRING_SIZE_1_65535 */
1660 static int hf_h245_mcuNumber = -1;                /* McuNumber */
1661 static int hf_h245_terminalNumber = -1;           /* TerminalNumber */
1662 static int hf_h245_mCTerminalIDResponse = -1;     /* T_mCTerminalIDResponse */
1663 static int hf_h245_terminalID = -1;               /* TerminalID */
1664 static int hf_h245_terminalIDResponse = -1;       /* T_terminalIDResponse */
1665 static int hf_h245_conferenceIDResponse = -1;     /* T_conferenceIDResponse */
1666 static int hf_h245_conferenceID = -1;             /* ConferenceID */
1667 static int hf_h245_passwordResponse = -1;         /* T_passwordResponse */
1668 static int hf_h245_password = -1;                 /* Password */
1669 static int hf_h245_terminalListResponse = -1;     /* SET_SIZE_1_256_OF_TerminalLabel */
1670 static int hf_h245_terminalListResponse_item = -1;  /* TerminalLabel */
1671 static int hf_h245_videoCommandReject = -1;       /* NULL */
1672 static int hf_h245_terminalDropReject = -1;       /* NULL */
1673 static int hf_h245_makeMeChairResponse = -1;      /* T_makeMeChairResponse */
1674 static int hf_h245_grantedChairToken = -1;        /* NULL */
1675 static int hf_h245_deniedChairToken = -1;         /* NULL */
1676 static int hf_h245_extensionAddressResponse = -1;  /* T_extensionAddressResponse */
1677 static int hf_h245_extensionAddress = -1;         /* TerminalID */
1678 static int hf_h245_chairTokenOwnerResponse = -1;  /* T_chairTokenOwnerResponse */
1679 static int hf_h245_terminalCertificateResponse = -1;  /* T_terminalCertificateResponse */
1680 static int hf_h245_certificateResponse = -1;      /* OCTET_STRING_SIZE_1_65535 */
1681 static int hf_h245_broadcastMyLogicalChannelResponse = -1;  /* T_broadcastMyLogicalChannelResponse */
1682 static int hf_h245_grantedBroadcastMyLogicalChannel = -1;  /* NULL */
1683 static int hf_h245_deniedBroadcastMyLogicalChannel = -1;  /* NULL */
1684 static int hf_h245_makeTerminalBroadcasterResponse = -1;  /* T_makeTerminalBroadcasterResponse */
1685 static int hf_h245_grantedMakeTerminalBroadcaster = -1;  /* NULL */
1686 static int hf_h245_deniedMakeTerminalBroadcaster = -1;  /* NULL */
1687 static int hf_h245_sendThisSourceResponse = -1;   /* T_sendThisSourceResponse */
1688 static int hf_h245_grantedSendThisSource = -1;    /* NULL */
1689 static int hf_h245_deniedSendThisSource = -1;     /* NULL */
1690 static int hf_h245_requestAllTerminalIDsResponse = -1;  /* RequestAllTerminalIDsResponse */
1691 static int hf_h245_remoteMCResponse = -1;         /* RemoteMCResponse */
1692 static int hf_h245_terminalInformation = -1;      /* SEQUENCE_OF_TerminalInformation */
1693 static int hf_h245_terminalInformation_item = -1;  /* TerminalInformation */
1694 static int hf_h245_masterActivate = -1;           /* NULL */
1695 static int hf_h245_slaveActivate = -1;            /* NULL */
1696 static int hf_h245_deActivate = -1;               /* NULL */
1697 static int hf_h245_accept = -1;                   /* NULL */
1698 static int hf_h245_reject = -1;                   /* T_reject */
1699 static int hf_h245_functionNotSupportedFlag = -1;  /* NULL */
1700 static int hf_h245_callInformationReq = -1;       /* CallInformationReq */
1701 static int hf_h245_maxNumberOfAdditionalConnections = -1;  /* INTEGER_1_65535 */
1702 static int hf_h245_addConnectionReq = -1;         /* AddConnectionReq */
1703 static int hf_h245_dialingInformation = -1;       /* DialingInformation */
1704 static int hf_h245_removeConnectionReq = -1;      /* RemoveConnectionReq */
1705 static int hf_h245_connectionIdentifier = -1;     /* ConnectionIdentifier */
1706 static int hf_h245_maximumHeaderIntervalReq = -1;  /* MaximumHeaderIntervalReq */
1707 static int hf_h245_requestType = -1;              /* T_requestType */
1708 static int hf_h245_currentIntervalInformation = -1;  /* NULL */
1709 static int hf_h245_requestedInterval = -1;        /* INTEGER_0_65535 */
1710 static int hf_h245_callInformationResp = -1;      /* CallInformationResp */
1711 static int hf_h245_callAssociationNumber = -1;    /* INTEGER_0_4294967295 */
1712 static int hf_h245_addConnectionResp = -1;        /* AddConnectionResp */
1713 static int hf_h245_responseCode = -1;             /* T_responseCode */
1714 static int hf_h245_accepted = -1;                 /* NULL */
1715 static int hf_h245_rejected = -1;                 /* T_rejected */
1716 static int hf_h245_connectionsNotAvailable = -1;  /* NULL */
1717 static int hf_h245_userRejected = -1;             /* NULL */
1718 static int hf_h245_removeConnectionResp = -1;     /* RemoveConnectionResp */
1719 static int hf_h245_maximumHeaderIntervalResp = -1;  /* MaximumHeaderIntervalResp */
1720 static int hf_h245_currentInterval = -1;          /* INTEGER_0_65535 */
1721 static int hf_h245_crcDesired = -1;               /* T_crcDesired */
1722 static int hf_h245_excessiveError = -1;           /* T_excessiveError */
1723 static int hf_h245_differential = -1;             /* SET_SIZE_1_65535_OF_DialingInformationNumber */
1724 static int hf_h245_differential_item = -1;        /* DialingInformationNumber */
1725 static int hf_h245_infoNotAvailable = -1;         /* INTEGER_1_65535 */
1726 static int hf_h245_networkAddressNum = -1;        /* NumericString_SIZE_0_40 */
1727 static int hf_h245_subAddress = -1;               /* IA5String_SIZE_1_40 */
1728 static int hf_h245_networkType = -1;              /* SET_SIZE_1_255_OF_DialingInformationNetworkType */
1729 static int hf_h245_networkType_item = -1;         /* DialingInformationNetworkType */
1730 static int hf_h245_n_isdn = -1;                   /* NULL */
1731 static int hf_h245_gstn = -1;                     /* NULL */
1732 static int hf_h245_mobile = -1;                   /* NULL */
1733 static int hf_h245_channelTag = -1;               /* INTEGER_0_4294967295 */
1734 static int hf_h245_sequenceNum = -1;              /* INTEGER_0_4294967295 */
1735 static int hf_h245_maximumBitRate = -1;           /* MaximumBitRate */
1736 static int hf_h245_rejectReason = -1;             /* LogicalChannelRateRejectReason */
1737 static int hf_h245_currentMaximumBitRate = -1;    /* MaximumBitRate */
1738 static int hf_h245_undefinedReason = -1;          /* NULL */
1739 static int hf_h245_insufficientResources = -1;    /* NULL */
1740 static int hf_h245_specificRequest = -1;          /* T_specificRequest */
1741 static int hf_h245_multiplexCapabilityBool = -1;  /* BOOLEAN */
1742 static int hf_h245_capabilityTableEntryNumbers = -1;  /* SET_SIZE_1_65535_OF_CapabilityTableEntryNumber */
1743 static int hf_h245_capabilityTableEntryNumbers_item = -1;  /* CapabilityTableEntryNumber */
1744 static int hf_h245_capabilityDescriptorNumbers = -1;  /* SET_SIZE_1_256_OF_CapabilityDescriptorNumber */
1745 static int hf_h245_capabilityDescriptorNumbers_item = -1;  /* CapabilityDescriptorNumber */
1746 static int hf_h245_genericRequestFlag = -1;       /* NULL */
1747 static int hf_h245_encryptionSE = -1;             /* OCTET_STRING */
1748 static int hf_h245_encryptionIVRequest = -1;      /* NULL */
1749 static int hf_h245_encryptionAlgorithmID = -1;    /* T_encryptionAlgorithmID */
1750 static int hf_h245_h233AlgorithmIdentifier = -1;  /* SequenceNumber */
1751 static int hf_h245_associatedAlgorithm = -1;      /* NonStandardParameter */
1752 static int hf_h245_wholeMultiplex = -1;           /* NULL */
1753 static int hf_h245_scope = -1;                    /* Scope */
1754 static int hf_h245_res_maximumBitRate = -1;       /* INTEGER_0_16777215 */
1755 static int hf_h245_noRestriction = -1;            /* NULL */
1756 static int hf_h245_restriction = -1;              /* Restriction */
1757 static int hf_h245_disconnect = -1;               /* NULL */
1758 static int hf_h245_gstnOptions = -1;              /* T_gstnOptions */
1759 static int hf_h245_telephonyMode = -1;            /* NULL */
1760 static int hf_h245_v8bis = -1;                    /* NULL */
1761 static int hf_h245_v34DSVD = -1;                  /* NULL */
1762 static int hf_h245_v34DuplexFAX = -1;             /* NULL */
1763 static int hf_h245_v34H324 = -1;                  /* NULL */
1764 static int hf_h245_isdnOptions = -1;              /* T_isdnOptions */
1765 static int hf_h245_v140 = -1;                     /* NULL */
1766 static int hf_h245_terminalOnHold = -1;           /* NULL */
1767 static int hf_h245_cancelBroadcastMyLogicalChannel = -1;  /* LogicalChannelNumber */
1768 static int hf_h245_cancelMakeTerminalBroadcaster = -1;  /* NULL */
1769 static int hf_h245_cancelSendThisSource = -1;     /* NULL */
1770 static int hf_h245_dropConference = -1;           /* NULL */
1771 static int hf_h245_substituteConferenceIDCommand = -1;  /* SubstituteConferenceIDCommand */
1772 static int hf_h245_conferenceIdentifier = -1;     /* OCTET_STRING_SIZE_16 */
1773 static int hf_h245_masterToSlave = -1;            /* NULL */
1774 static int hf_h245_slaveToMaster = -1;            /* NULL */
1775 static int hf_h245_mc_type = -1;                  /* Mc_type */
1776 static int hf_h245_equaliseDelay = -1;            /* NULL */
1777 static int hf_h245_zeroDelay = -1;                /* NULL */
1778 static int hf_h245_multipointModeCommand = -1;    /* NULL */
1779 static int hf_h245_cancelMultipointModeCommand = -1;  /* NULL */
1780 static int hf_h245_videoFreezePicture = -1;       /* NULL */
1781 static int hf_h245_videoFastUpdatePicture = -1;   /* NULL */
1782 static int hf_h245_videoFastUpdateGOB = -1;       /* T_videoFastUpdateGOB */
1783 static int hf_h245_firstGOB = -1;                 /* INTEGER_0_17 */
1784 static int hf_h245_numberOfGOBs = -1;             /* INTEGER_1_18 */
1785 static int hf_h245_videoTemporalSpatialTradeOff = -1;  /* INTEGER_0_31 */
1786 static int hf_h245_videoSendSyncEveryGOB = -1;    /* NULL */
1787 static int hf_h245_videoSendSyncEveryGOBCancel = -1;  /* NULL */
1788 static int hf_h245_videoFastUpdateMB = -1;        /* T_videoFastUpdateMB */
1789 static int hf_h245_firstGOB_0_255 = -1;           /* INTEGER_0_255 */
1790 static int hf_h245_firstMB_1_8192 = -1;           /* INTEGER_1_8192 */
1791 static int hf_h245_numberOfMBs = -1;              /* INTEGER_1_8192 */
1792 static int hf_h245_maxH223MUXPDUsize = -1;        /* INTEGER_1_65535 */
1793 static int hf_h245_encryptionUpdate = -1;         /* EncryptionSync */
1794 static int hf_h245_encryptionUpdateRequest = -1;  /* EncryptionUpdateRequest */
1795 static int hf_h245_switchReceiveMediaOff = -1;    /* NULL */
1796 static int hf_h245_switchReceiveMediaOn = -1;     /* NULL */
1797 static int hf_h245_progressiveRefinementStart = -1;  /* T_progressiveRefinementStart */
1798 static int hf_h245_repeatCount = -1;              /* T_repeatCount */
1799 static int hf_h245_doOneProgression = -1;         /* NULL */
1800 static int hf_h245_doContinuousProgressions = -1;  /* NULL */
1801 static int hf_h245_doOneIndependentProgression = -1;  /* NULL */
1802 static int hf_h245_doContinuousIndependentProgressions = -1;  /* NULL */
1803 static int hf_h245_progressiveRefinementAbortOne = -1;  /* NULL */
1804 static int hf_h245_progressiveRefinementAbortContinuous = -1;  /* NULL */
1805 static int hf_h245_videoBadMBs = -1;              /* T_videoBadMBs */
1806 static int hf_h245_firstMB = -1;                  /* INTEGER_1_9216 */
1807 static int hf_h245_numberOfMBs1_1_9216 = -1;      /* INTEGER_1_9216 */
1808 static int hf_h245_temporalReference = -1;        /* INTEGER_0_1023 */
1809 static int hf_h245_lostPicture = -1;              /* SEQUENCE_OF_PictureReference */
1810 static int hf_h245_lostPicture_item = -1;         /* PictureReference */
1811 static int hf_h245_lostPartialPicture = -1;       /* T_lostPartialPicture */
1812 static int hf_h245_pictureReference = -1;         /* PictureReference */
1813 static int hf_h245_recoveryReferencePicture = -1;  /* SEQUENCE_OF_PictureReference */
1814 static int hf_h245_recoveryReferencePicture_item = -1;  /* PictureReference */
1815 static int hf_h245_encryptionUpdateCommand = -1;  /* T_encryptionUpdateCommand */
1816 static int hf_h245_encryptionUpdateAck = -1;      /* T_encryptionUpdateAck */
1817 static int hf_h245_direction = -1;                /* EncryptionUpdateDirection */
1818 static int hf_h245_secureChannel = -1;            /* BOOLEAN */
1819 static int hf_h245_sharedSecret = -1;             /* BOOLEAN */
1820 static int hf_h245_certProtectedKey = -1;         /* BOOLEAN */
1821 static int hf_h245_keyProtectionMethod = -1;      /* KeyProtectionMethod */
1822 static int hf_h245_pictureNumber = -1;            /* INTEGER_0_1023 */
1823 static int hf_h245_longTermPictureIndex = -1;     /* INTEGER_0_255 */
1824 static int hf_h245_h223ModeChange = -1;           /* T_h223ModeChange */
1825 static int hf_h245_toLevel0 = -1;                 /* NULL */
1826 static int hf_h245_toLevel1 = -1;                 /* NULL */
1827 static int hf_h245_toLevel2 = -1;                 /* NULL */
1828 static int hf_h245_toLevel2withOptionalHeader = -1;  /* NULL */
1829 static int hf_h245_h223AnnexADoubleFlag = -1;     /* T_h223AnnexADoubleFlag */
1830 static int hf_h245_start = -1;                    /* NULL */
1831 static int hf_h245_stop = -1;                     /* NULL */
1832 static int hf_h245_bitRate = -1;                  /* INTEGER_1_65535 */
1833 static int hf_h245_bitRateLockedToPCRClock = -1;  /* BOOLEAN */
1834 static int hf_h245_bitRateLockedToNetworkClock = -1;  /* BOOLEAN */
1835 static int hf_h245_cmd_aal = -1;                  /* Cmd_aal */
1836 static int hf_h245_cmd_aal1 = -1;                 /* Cmd_aal1 */
1837 static int hf_h245_cmd_clockRecovery = -1;        /* Cmd_clockRecovery */
1838 static int hf_h245_nullClockRecoveryflag = -1;    /* NULL */
1839 static int hf_h245_srtsClockRecovery = -1;        /* NULL */
1840 static int hf_h245_adaptiveClockRecoveryFlag = -1;  /* NULL */
1841 static int hf_h245_cmd_errorCorrection = -1;      /* Cmd_errorCorrection */
1842 static int hf_h245_nullErrorCorrectionFlag = -1;  /* NULL */
1843 static int hf_h245_longInterleaverFlag = -1;      /* NULL */
1844 static int hf_h245_shortInterleaverFlag = -1;     /* NULL */
1845 static int hf_h245_errorCorrectionOnlyFlag = -1;  /* NULL */
1846 static int hf_h245_cmd_aal5 = -1;                 /* Cmd_aal5 */
1847 static int hf_h245_cmd_multiplex = -1;            /* Cmd_multiplex */
1848 static int hf_h245_noMultiplex = -1;              /* NULL */
1849 static int hf_h245_transportStream = -1;          /* NULL */
1850 static int hf_h245_programStreamFlag = -1;        /* NULL */
1851 static int hf_h245_cmd_reverseParameters = -1;    /* Cmd_reverseParameters */
1852 static int hf_h245_cmdr_multiplex = -1;           /* CmdR_multiplex */
1853 static int hf_h245_sampleSize = -1;               /* INTEGER_1_255 */
1854 static int hf_h245_samplesPerFrame = -1;          /* INTEGER_1_255 */
1855 static int hf_h245_status = -1;                   /* T_status */
1856 static int hf_h245_synchronized = -1;             /* NULL */
1857 static int hf_h245_reconfiguration = -1;          /* NULL */
1858 static int hf_h245_fns_cause = -1;                /* FunctionNotSupportedCause */
1859 static int hf_h245_syntaxError = -1;              /* NULL */
1860 static int hf_h245_semanticError = -1;            /* NULL */
1861 static int hf_h245_unknownFunction = -1;          /* NULL */
1862 static int hf_h245_returnedFunction = -1;         /* T_returnedFunction */
1863 static int hf_h245_sbeNumber = -1;                /* INTEGER_0_9 */
1864 static int hf_h245_terminalNumberAssign = -1;     /* TerminalLabel */
1865 static int hf_h245_terminalJoinedConference = -1;  /* TerminalLabel */
1866 static int hf_h245_terminalLeftConference = -1;   /* TerminalLabel */
1867 static int hf_h245_seenByAtLeastOneOther = -1;    /* NULL */
1868 static int hf_h245_cancelSeenByAtLeastOneOther = -1;  /* NULL */
1869 static int hf_h245_seenByAll = -1;                /* NULL */
1870 static int hf_h245_cancelSeenByAll = -1;          /* NULL */
1871 static int hf_h245_terminalYouAreSeeing = -1;     /* TerminalLabel */
1872 static int hf_h245_requestForFloor = -1;          /* NULL */
1873 static int hf_h245_withdrawChairToken = -1;       /* NULL */
1874 static int hf_h245_floorRequested = -1;           /* TerminalLabel */
1875 static int hf_h245_terminalYouAreSeeingInSubPictureNumber = -1;  /* TerminalYouAreSeeingInSubPictureNumber */
1876 static int hf_h245_videoIndicateCompose = -1;     /* VideoIndicateCompose */
1877 static int hf_h245_masterMCU = -1;                /* NULL */
1878 static int hf_h245_cancelMasterMCU = -1;          /* NULL */
1879 static int hf_h245_subPictureNumber = -1;         /* INTEGER_0_255 */
1880 static int hf_h245_compositionNumber = -1;        /* INTEGER_0_255 */
1881 static int hf_h245_mi_type = -1;                  /* Mi_type */
1882 static int hf_h245_logicalChannelActive = -1;     /* NULL */
1883 static int hf_h245_logicalChannelInactive = -1;   /* NULL */
1884 static int hf_h245_multipointConference = -1;     /* NULL */
1885 static int hf_h245_cancelMultipointConference = -1;  /* NULL */
1886 static int hf_h245_multipointZeroComm = -1;       /* NULL */
1887 static int hf_h245_cancelMultipointZeroComm = -1;  /* NULL */
1888 static int hf_h245_multipointSecondaryStatus = -1;  /* NULL */
1889 static int hf_h245_cancelMultipointSecondaryStatus = -1;  /* NULL */
1890 static int hf_h245_videoIndicateReadyToActivate = -1;  /* NULL */
1891 static int hf_h245_videoNotDecodedMBs = -1;       /* T_videoNotDecodedMBs */
1892 static int hf_h245_temporalReference_0_255 = -1;  /* INTEGER_0_255 */
1893 static int hf_h245_estimatedReceivedJitterMantissa = -1;  /* INTEGER_0_3 */
1894 static int hf_h245_estimatedReceivedJitterExponent = -1;  /* INTEGER_0_7 */
1895 static int hf_h245_skippedFrameCount = -1;        /* INTEGER_0_15 */
1896 static int hf_h245_additionalDecoderBuffer = -1;  /* INTEGER_0_262143 */
1897 static int hf_h245_logicalChannelNumber1 = -1;    /* LogicalChannelNumber */
1898 static int hf_h245_logicalChannelNumber2 = -1;    /* LogicalChannelNumber */
1899 static int hf_h245_skew = -1;                     /* INTEGER_0_4095 */
1900 static int hf_h245_maximumSkew = -1;              /* INTEGER_0_4095 */
1901 static int hf_h245_signalAddress = -1;            /* TransportAddress */
1902 static int hf_h245_vendor = -1;                   /* NonStandardIdentifier */
1903 static int hf_h245_productNumber = -1;            /* OCTET_STRING_SIZE_1_256 */
1904 static int hf_h245_versionNumber = -1;            /* OCTET_STRING_SIZE_1_256 */
1905 static int hf_h245_ind_aal = -1;                  /* Ind_aal */
1906 static int hf_h245_ind_aal1 = -1;                 /* Ind_aal1 */
1907 static int hf_h245_ind_clockRecovery = -1;        /* Ind_clockRecovery */
1908 static int hf_h245_ind_errorCorrection = -1;      /* Ind_errorCorrection */
1909 static int hf_h245_ind_aal5 = -1;                 /* Ind_aal5 */
1910 static int hf_h245_ind_multiplex = -1;            /* Ind_multiplex */
1911 static int hf_h245_ind_reverseParameters = -1;    /* Ind_reverseParameters */
1912 static int hf_h245_indr_multiplex = -1;           /* IndR_multiplex */
1913 static int hf_h245_iv8 = -1;                      /* IV8 */
1914 static int hf_h245_iv16 = -1;                     /* IV16 */
1915 static int hf_h245_iv = -1;                       /* OCTET_STRING */
1916 static int hf_h245_alphanumeric = -1;             /* GeneralString */
1917 static int hf_h245_userInputSupportIndication = -1;  /* T_userInputSupportIndication */
1918 static int hf_h245_signal = -1;                   /* T_signal */
1919 static int hf_h245_signalType = -1;               /* T_signalType */
1920 static int hf_h245_duration = -1;                 /* INTEGER_1_65535 */
1921 static int hf_h245_rtp = -1;                      /* T_rtp */
1922 static int hf_h245_timestamp = -1;                /* INTEGER_0_4294967295 */
1923 static int hf_h245_expirationTime = -1;           /* INTEGER_0_4294967295 */
1924 static int hf_h245_rtpPayloadIndication = -1;     /* NULL */
1925 static int hf_h245_paramS = -1;                   /* Params */
1926 static int hf_h245_encryptedSignalType = -1;      /* OCTET_STRING_SIZE_1 */
1927 static int hf_h245_algorithmOID = -1;             /* OBJECT_IDENTIFIER */
1928 static int hf_h245_signalUpdate = -1;             /* T_signalUpdate */
1929 static int hf_h245_si_rtp = -1;                   /* Si_rtp */
1930 static int hf_h245_extendedAlphanumeric = -1;     /* T_extendedAlphanumeric */
1931 static int hf_h245_encrypted = -1;                /* OCTET_STRING */
1932 static int hf_h245_encryptedAlphanumeric = -1;    /* EncryptedAlphanumeric */
1933
1934 /*--- End of included file: packet-h245-hf.c ---*/
1935 #line 398 "../../asn1/h245/packet-h245-template.c"
1936
1937 /* Initialize the subtree pointers */
1938 static int ett_h245 = -1;
1939 static int ett_h245_returnedFunction = -1;
1940
1941 /*--- Included file: packet-h245-ett.c ---*/
1942 #line 1 "../../asn1/h245/packet-h245-ett.c"
1943 static gint ett_h245_MultimediaSystemControlMessage = -1;
1944 static gint ett_h245_RequestMessage = -1;
1945 static gint ett_h245_ResponseMessage = -1;
1946 static gint ett_h245_CommandMessage = -1;
1947 static gint ett_h245_IndicationMessage = -1;
1948 static gint ett_h245_GenericMessage = -1;
1949 static gint ett_h245_T_messageContent = -1;
1950 static gint ett_h245_NonStandardMessage = -1;
1951 static gint ett_h245_NonStandardParameter = -1;
1952 static gint ett_h245_NonStandardIdentifier = -1;
1953 static gint ett_h245_H221NonStandardID = -1;
1954 static gint ett_h245_MasterSlaveDetermination = -1;
1955 static gint ett_h245_MasterSlaveDeterminationAck = -1;
1956 static gint ett_h245_T_decision = -1;
1957 static gint ett_h245_MasterSlaveDeterminationReject = -1;
1958 static gint ett_h245_MasterSlaveDeterminationRejectCause = -1;
1959 static gint ett_h245_MasterSlaveDeterminationRelease = -1;
1960 static gint ett_h245_TerminalCapabilitySet = -1;
1961 static gint ett_h245_SET_SIZE_1_256_OF_CapabilityTableEntry = -1;
1962 static gint ett_h245_SET_SIZE_1_256_OF_CapabilityDescriptor = -1;
1963 static gint ett_h245_SEQUENCE_OF_GenericInformation = -1;
1964 static gint ett_h245_CapabilityTableEntry = -1;
1965 static gint ett_h245_CapabilityDescriptor = -1;
1966 static gint ett_h245_SET_SIZE_1_256_OF_AlternativeCapabilitySet = -1;
1967 static gint ett_h245_AlternativeCapabilitySet = -1;
1968 static gint ett_h245_TerminalCapabilitySetAck = -1;
1969 static gint ett_h245_TerminalCapabilitySetReject = -1;
1970 static gint ett_h245_TerminalCapabilitySetRejectCause = -1;
1971 static gint ett_h245_T_tableEntryCapacityExceeded = -1;
1972 static gint ett_h245_TerminalCapabilitySetRelease = -1;
1973 static gint ett_h245_Capability = -1;
1974 static gint ett_h245_T_h233EncryptionReceiveCapability = -1;
1975 static gint ett_h245_H235SecurityCapability = -1;
1976 static gint ett_h245_MultiplexCapability = -1;
1977 static gint ett_h245_H222Capability = -1;
1978 static gint ett_h245_SET_OF_VCCapability = -1;
1979 static gint ett_h245_VCCapability = -1;
1980 static gint ett_h245_T_aal1 = -1;
1981 static gint ett_h245_T_aal5 = -1;
1982 static gint ett_h245_T_availableBitRates = -1;
1983 static gint ett_h245_Avb_type = -1;
1984 static gint ett_h245_T_rangeOfBitRates = -1;
1985 static gint ett_h245_T_aal1ViaGateway = -1;
1986 static gint ett_h245_SET_SIZE_1_256_OF_Q2931Address = -1;
1987 static gint ett_h245_H223Capability = -1;
1988 static gint ett_h245_T_h223MultiplexTableCapability = -1;
1989 static gint ett_h245_T_enhanced = -1;
1990 static gint ett_h245_T_mobileOperationTransmitCapability = -1;
1991 static gint ett_h245_T_mobileMultilinkFrameCapability = -1;
1992 static gint ett_h245_H223AnnexCCapability = -1;
1993 static gint ett_h245_V76Capability = -1;
1994 static gint ett_h245_V75Capability = -1;
1995 static gint ett_h245_H2250Capability = -1;
1996 static gint ett_h245_T_mcCapability = -1;
1997 static gint ett_h245_SEQUENCE_SIZE_1_256_OF_RedundancyEncodingCapability = -1;
1998 static gint ett_h245_MediaPacketizationCapability = -1;
1999 static gint ett_h245_SEQUENCE_SIZE_1_256_OF_RTPPayloadType = -1;
2000 static gint ett_h245_RSVPParameters = -1;
2001 static gint ett_h245_QOSMode = -1;
2002 static gint ett_h245_ATMParameters = -1;
2003 static gint ett_h245_ServicePriorityValue = -1;
2004 static gint ett_h245_ServicePriority = -1;
2005 static gint ett_h245_AuthorizationParameters = -1;
2006 static gint ett_h245_QOSType = -1;
2007 static gint ett_h245_QOSClass = -1;
2008 static gint ett_h245_QOSDescriptor = -1;
2009 static gint ett_h245_GenericTransportParameters = -1;
2010 static gint ett_h245_QOSCapability = -1;
2011 static gint ett_h245_MediaTransportType = -1;
2012 static gint ett_h245_T_atm_AAL5_compressed = -1;
2013 static gint ett_h245_MediaChannelCapability = -1;
2014 static gint ett_h245_TransportCapability = -1;
2015 static gint ett_h245_SEQUENCE_SIZE_1_256_OF_QOSCapability = -1;
2016 static gint ett_h245_SEQUENCE_SIZE_1_256_OF_MediaChannelCapability = -1;
2017 static gint ett_h245_RedundancyEncodingCapability = -1;
2018 static gint ett_h245_SEQUENCE_SIZE_1_256_OF_CapabilityTableEntryNumber = -1;
2019 static gint ett_h245_RedundancyEncodingMethod = -1;
2020 static gint ett_h245_RTPH263VideoRedundancyEncoding = -1;
2021 static gint ett_h245_T_frameToThreadMapping = -1;
2022 static gint ett_h245_SEQUENCE_SIZE_1_256_OF_RTPH263VideoRedundancyFrameMapping = -1;
2023 static gint ett_h245_T_containedThreads = -1;
2024 static gint ett_h245_RTPH263VideoRedundancyFrameMapping = -1;
2025 static gint ett_h245_T_frameSequence = -1;
2026 static gint ett_h245_MultipointCapability = -1;
2027 static gint ett_h245_SEQUENCE_OF_MediaDistributionCapability = -1;
2028 static gint ett_h245_MediaDistributionCapability = -1;
2029 static gint ett_h245_SEQUENCE_OF_DataApplicationCapability = -1;
2030 static gint ett_h245_VideoCapability = -1;
2031 static gint ett_h245_ExtendedVideoCapability = -1;
2032 static gint ett_h245_SEQUENCE_OF_VideoCapability = -1;
2033 static gint ett_h245_SEQUENCE_OF_GenericCapability = -1;
2034 static gint ett_h245_H261VideoCapability = -1;
2035 static gint ett_h245_H262VideoCapability = -1;
2036 static gint ett_h245_H263VideoCapability = -1;
2037 static gint ett_h245_EnhancementLayerInfo = -1;
2038 static gint ett_h245_SET_SIZE_1_14_OF_EnhancementOptions = -1;
2039 static gint ett_h245_SET_SIZE_1_14_OF_BEnhancementParameters = -1;
2040 static gint ett_h245_BEnhancementParameters = -1;
2041 static gint ett_h245_EnhancementOptions = -1;
2042 static gint ett_h245_H263Options = -1;
2043 static gint ett_h245_SET_SIZE_1_16_OF_CustomPictureClockFrequency = -1;
2044 static gint ett_h245_SET_SIZE_1_16_OF_CustomPictureFormat = -1;
2045 static gint ett_h245_SET_SIZE_1_16_OF_H263VideoModeCombos = -1;
2046 static gint ett_h245_TransparencyParameters = -1;
2047 static gint ett_h245_RefPictureSelection = -1;
2048 static gint ett_h245_T_additionalPictureMemory = -1;
2049 static gint ett_h245_T_videoBackChannelSend = -1;
2050 static gint ett_h245_T_enhancedReferencePicSelect = -1;
2051 static gint ett_h245_T_subPictureRemovalParameters = -1;
2052 static gint ett_h245_CustomPictureClockFrequency = -1;
2053 static gint ett_h245_CustomPictureFormat = -1;
2054 static gint ett_h245_T_mPI = -1;
2055 static gint ett_h245_T_customPCF = -1;
2056 static gint ett_h245_T_customPCF_item = -1;
2057 static gint ett_h245_T_pixelAspectInformation = -1;
2058 static gint ett_h245_T_pixelAspectCode = -1;
2059 static gint ett_h245_T_extendedPAR = -1;
2060 static gint ett_h245_T_extendedPAR_item = -1;
2061 static gint ett_h245_H263VideoModeCombos = -1;
2062 static gint ett_h245_SET_SIZE_1_16_OF_H263ModeComboFlags = -1;
2063 static gint ett_h245_H263ModeComboFlags = -1;
2064 static gint ett_h245_H263Version3Options = -1;
2065 static gint ett_h245_IS11172VideoCapability = -1;
2066 static gint ett_h245_AudioCapability = -1;
2067 static gint ett_h245_T_g7231 = -1;
2068 static gint ett_h245_G729Extensions = -1;
2069 static gint ett_h245_G7231AnnexCCapability = -1;
2070 static gint ett_h245_G723AnnexCAudioMode = -1;
2071 static gint ett_h245_IS11172AudioCapability = -1;
2072 static gint ett_h245_IS13818AudioCapability = -1;
2073 static gint ett_h245_GSMAudioCapability = -1;
2074 static gint ett_h245_VBDCapability = -1;
2075 static gint ett_h245_DataApplicationCapability = -1;
2076 static gint ett_h245_Application = -1;
2077 static gint ett_h245_T_t84 = -1;
2078 static gint ett_h245_Nlpid = -1;
2079 static gint ett_h245_T_t38fax = -1;
2080 static gint ett_h245_DataProtocolCapability = -1;
2081 static gint ett_h245_T_v76wCompression = -1;
2082 static gint ett_h245_CompressionType = -1;
2083 static gint ett_h245_V42bis = -1;
2084 static gint ett_h245_T84Profile = -1;
2085 static gint ett_h245_T_t84Restricted = -1;
2086 static gint ett_h245_T38FaxProfile = -1;
2087 static gint ett_h245_T38FaxRateManagement = -1;
2088 static gint ett_h245_T38FaxUdpOptions = -1;
2089 static gint ett_h245_T_t38FaxUdpEC = -1;
2090 static gint ett_h245_T38FaxTcpOptions = -1;
2091 static gint ett_h245_EncryptionAuthenticationAndIntegrity = -1;
2092 static gint ett_h245_EncryptionCapability = -1;
2093 static gint ett_h245_MediaEncryptionAlgorithm = -1;
2094 static gint ett_h245_AuthenticationCapability = -1;
2095 static gint ett_h245_IntegrityCapability = -1;
2096 static gint ett_h245_UserInputCapability = -1;
2097 static gint ett_h245_SEQUENCE_SIZE_1_16_OF_NonStandardParameter = -1;
2098 static gint ett_h245_ConferenceCapability = -1;
2099 static gint ett_h245_SEQUENCE_OF_NonStandardParameter = -1;
2100 static gint ett_h245_GenericCapability = -1;
2101 static gint ett_h245_T_collapsing = -1;
2102 static gint ett_h245_T_nonCollapsing = -1;
2103 static gint ett_h245_CapabilityIdentifier = -1;
2104 static gint ett_h245_GenericParameter = -1;
2105 static gint ett_h245_SEQUENCE_OF_ParameterIdentifier = -1;
2106 static gint ett_h245_ParameterIdentifier = -1;
2107 static gint ett_h245_ParameterValue = -1;
2108 static gint ett_h245_SEQUENCE_OF_GenericParameter = -1;
2109 static gint ett_h245_MultiplexedStreamCapability = -1;
2110 static gint ett_h245_MultiplexFormat = -1;
2111 static gint ett_h245_AudioTelephonyEventCapability = -1;
2112 static gint ett_h245_AudioToneCapability = -1;
2113 static gint ett_h245_NoPTAudioTelephonyEventCapability = -1;
2114 static gint ett_h245_NoPTAudioToneCapability = -1;
2115 static gint ett_h245_MultiplePayloadStreamCapability = -1;
2116 static gint ett_h245_DepFECCapability = -1;
2117 static gint ett_h245_FECC_rfc2733 = -1;
2118 static gint ett_h245_T_separateStreamBool = -1;
2119 static gint ett_h245_FECCapability = -1;
2120 static gint ett_h245_Rfc2733Format = -1;
2121 static gint ett_h245_OpenLogicalChannel = -1;
2122 static gint ett_h245_T_forwardLogicalChannelParameters = -1;
2123 static gint ett_h245_OLC_forw_multiplexParameters = -1;
2124 static gint ett_h245_OLC_reverseLogicalChannelParameters = -1;
2125 static gint ett_h245_OLC_rev_multiplexParameters = -1;
2126 static gint ett_h245_NetworkAccessParameters = -1;
2127 static gint ett_h245_T_distribution = -1;
2128 static gint ett_h245_T_networkAddress = -1;
2129 static gint ett_h245_T_t120SetupProcedure = -1;
2130 static gint ett_h245_Q2931Address = -1;
2131 static gint ett_h245_T_address = -1;
2132 static gint ett_h245_V75Parameters = -1;
2133 static gint ett_h245_DataType = -1;
2134 static gint ett_h245_H235Media = -1;
2135 static gint ett_h245_T_mediaType = -1;
2136 static gint ett_h245_MultiplexedStreamParameter = -1;
2137 static gint ett_h245_H222LogicalChannelParameters = -1;
2138 static gint ett_h245_H223LogicalChannelParameters = -1;
2139 static gint ett_h245_T_adaptationLayerType = -1;
2140 static gint ett_h245_Al3 = -1;
2141 static gint ett_h245_H223AL1MParameters = -1;
2142 static gint ett_h245_T_transferMode = -1;
2143 static gint ett_h245_AL1HeaderFEC = -1;
2144 static gint ett_h245_AL1CrcLength = -1;
2145 static gint ett_h245_ArqType = -1;
2146 static gint ett_h245_H223AL2MParameters = -1;
2147 static gint ett_h245_AL2HeaderFEC = -1;
2148 static gint ett_h245_H223AL3MParameters = -1;
2149 static gint ett_h245_T_headerFormat = -1;
2150 static gint ett_h245_AL3CrcLength = -1;
2151 static gint ett_h245_H223AnnexCArqParameters = -1;
2152 static gint ett_h245_T_numberOfRetransmissions = -1;
2153 static gint ett_h245_V76LogicalChannelParameters = -1;
2154 static gint ett_h245_T_suspendResume = -1;
2155 static gint ett_h245_V76LCP_mode = -1;
2156 static gint ett_h245_T_eRM = -1;
2157 static gint ett_h245_T_recovery = -1;
2158 static gint ett_h245_V76HDLCParameters = -1;
2159 static gint ett_h245_CRCLength = -1;
2160 static gint ett_h245_H2250LogicalChannelParameters = -1;
2161 static gint ett_h245_T_mediaPacketization = -1;
2162 static gint ett_h245_RTPPayloadType = -1;
2163 static gint ett_h245_T_payloadDescriptor = -1;
2164 static gint ett_h245_RedundancyEncoding = -1;
2165 static gint ett_h245_T_rtpRedundancyEncoding = -1;
2166 static gint ett_h245_SEQUENCE_OF_RedundancyEncodingElement = -1;
2167 static gint ett_h245_RedundancyEncodingElement = -1;
2168 static gint ett_h245_MultiplePayloadStream = -1;
2169 static gint ett_h245_SEQUENCE_OF_MultiplePayloadStreamElement = -1;
2170 static gint ett_h245_MultiplePayloadStreamElement = -1;
2171 static gint ett_h245_DepFECData = -1;
2172 static gint ett_h245_RFC2733Data = -1;
2173 static gint ett_h245_FECdata_mode = -1;
2174 static gint ett_h245_DepSeparateStream = -1;
2175 static gint ett_h245_T_differentPort = -1;
2176 static gint ett_h245_T_samePort = -1;
2177 static gint ett_h245_FECData = -1;
2178 static gint ett_h245_T_rfc2733 = -1;
2179 static gint ett_h245_T_pktMode = -1;
2180 static gint ett_h245_T_mode_rfc2733sameport = -1;
2181 static gint ett_h245_T_mode_rfc2733diffport = -1;
2182 static gint ett_h245_TransportAddress = -1;
2183 static gint ett_h245_UnicastAddress = -1;
2184 static gint ett_h245_T_iPAddress = -1;
2185 static gint ett_h245_T_iPXAddress = -1;
2186 static gint ett_h245_T_iP6Address = -1;
2187 static gint ett_h245_T_iPSourceRouteAddress = -1;
2188 static gint ett_h245_T_routing = -1;
2189 static gint ett_h245_T_route = -1;
2190 static gint ett_h245_MulticastAddress = -1;
2191 static gint ett_h245_MIPAddress = -1;
2192 static gint ett_h245_MIP6Address = -1;
2193 static gint ett_h245_EncryptionSync = -1;
2194 static gint ett_h245_SEQUENCE_SIZE_1_256_OF_EscrowData = -1;
2195 static gint ett_h245_EscrowData = -1;
2196 static gint ett_h245_OpenLogicalChannelAck = -1;
2197 static gint ett_h245_OLC_ack_reverseLogicalChannelParameters = -1;
2198 static gint ett_h245_T_olc_ack_multiplexParameters = -1;
2199 static gint ett_h245_T_forwardMultiplexAckParameters = -1;
2200 static gint ett_h245_OpenLogicalChannelReject = -1;
2201 static gint ett_h245_OpenLogicalChannelRejectCause = -1;
2202 static gint ett_h245_OpenLogicalChannelConfirm = -1;
2203 static gint ett_h245_H2250LogicalChannelAckParameters = -1;
2204 static gint ett_h245_CloseLogicalChannel = -1;
2205 static gint ett_h245_T_cLC_source = -1;
2206 static gint ett_h245_Clc_reason = -1;
2207 static gint ett_h245_CloseLogicalChannelAck = -1;
2208 static gint ett_h245_RequestChannelClose = -1;
2209 static gint ett_h245_T_reason = -1;
2210 static gint ett_h245_RequestChannelCloseAck = -1;
2211 static gint ett_h245_RequestChannelCloseReject = -1;
2212 static gint ett_h245_RequestChannelCloseRejectCause = -1;
2213 static gint ett_h245_RequestChannelCloseRelease = -1;
2214 static gint ett_h245_MultiplexEntrySend = -1;
2215 static gint ett_h245_SET_SIZE_1_15_OF_MultiplexEntryDescriptor = -1;
2216 static gint ett_h245_MultiplexEntryDescriptor = -1;
2217 static gint ett_h245_T_elementList = -1;
2218 static gint ett_h245_MultiplexElement = -1;
2219 static gint ett_h245_Me_type = -1;
2220 static gint ett_h245_T_subElementList = -1;
2221 static gint ett_h245_ME_repeatCount = -1;
2222 static gint ett_h245_MultiplexEntrySendAck = -1;
2223 static gint ett_h245_SET_SIZE_1_15_OF_MultiplexTableEntryNumber = -1;
2224 static gint ett_h245_MultiplexEntrySendReject = -1;
2225 static gint ett_h245_SET_SIZE_1_15_OF_MultiplexEntryRejectionDescriptions = -1;
2226 static gint ett_h245_MultiplexEntryRejectionDescriptions = -1;
2227 static gint ett_h245_MultiplexEntryRejectionDescriptionsCause = -1;
2228 static gint ett_h245_MultiplexEntrySendRelease = -1;
2229 static gint ett_h245_RequestMultiplexEntry = -1;
2230 static gint ett_h245_RequestMultiplexEntryAck = -1;
2231 static gint ett_h245_RequestMultiplexEntryReject = -1;
2232 static gint ett_h245_SET_SIZE_1_15_OF_RequestMultiplexEntryRejectionDescriptions = -1;
2233 static gint ett_h245_RequestMultiplexEntryRejectionDescriptions = -1;
2234 static gint ett_h245_RequestMultiplexEntryRejectionDescriptionsCause = -1;
2235 static gint ett_h245_RequestMultiplexEntryRelease = -1;
2236 static gint ett_h245_RequestMode = -1;
2237 static gint ett_h245_SEQUENCE_SIZE_1_256_OF_ModeDescription = -1;
2238 static gint ett_h245_RequestModeAck = -1;
2239 static gint ett_h245_Req_mode_ack_response = -1;
2240 static gint ett_h245_RequestModeReject = -1;
2241 static gint ett_h245_RequestModeRejectCause = -1;
2242 static gint ett_h245_RequestModeRelease = -1;
2243 static gint ett_h245_ModeDescription = -1;
2244 static gint ett_h245_ModeElementType = -1;
2245 static gint ett_h245_ModeElement = -1;
2246 static gint ett_h245_H235Mode = -1;
2247 static gint ett_h245_T_mediaMode = -1;
2248 static gint ett_h245_MultiplexedStreamModeParameters = -1;
2249 static gint ett_h245_RedundancyEncodingDTMode = -1;
2250 static gint ett_h245_SEQUENCE_OF_RedundancyEncodingDTModeElement = -1;
2251 static gint ett_h245_RedundancyEncodingDTModeElement = -1;
2252 static gint ett_h245_Re_type = -1;
2253 static gint ett_h245_MultiplePayloadStreamMode = -1;
2254 static gint ett_h245_SEQUENCE_OF_MultiplePayloadStreamElementMode = -1;
2255 static gint ett_h245_MultiplePayloadStreamElementMode = -1;
2256 static gint ett_h245_DepFECMode = -1;
2257 static gint ett_h245_T_rfc2733Mode = -1;
2258 static gint ett_h245_FEC_mode = -1;
2259 static gint ett_h245_FECMode = -1;
2260 static gint ett_h245_H223ModeParameters = -1;
2261 static gint ett_h245_AdaptationLayerType = -1;
2262 static gint ett_h245_V76ModeParameters = -1;
2263 static gint ett_h245_H2250ModeParameters = -1;
2264 static gint ett_h245_RedundancyEncodingMode = -1;
2265 static gint ett_h245_T_secondaryEncodingMode = -1;
2266 static gint ett_h245_VideoMode = -1;
2267 static gint ett_h245_H261VideoMode = -1;
2268 static gint ett_h245_H261Resolution = -1;
2269 static gint ett_h245_H262VideoMode = -1;
2270 static gint ett_h245_T_profileAndLevel = -1;
2271 static gint ett_h245_H263VideoMode = -1;
2272 static gint ett_h245_H263Resolution = -1;
2273 static gint ett_h245_IS11172VideoMode = -1;
2274 static gint ett_h245_AudioMode = -1;
2275 static gint ett_h245_Mode_g7231 = -1;
2276 static gint ett_h245_IS11172AudioMode = -1;
2277 static gint ett_h245_T_audioLayer = -1;
2278 static gint ett_h245_T_audioSampling = -1;
2279 static gint ett_h245_IS11172_multichannelType = -1;
2280 static gint ett_h245_IS13818AudioMode = -1;
2281 static gint ett_h245_IS13818AudioLayer = -1;
2282 static gint ett_h245_IS13818AudioSampling = -1;
2283 static gint ett_h245_IS13818MultichannelType = -1;
2284 static gint ett_h245_G7231AnnexCMode = -1;
2285 static gint ett_h245_VBDMode = -1;
2286 static gint ett_h245_DataMode = -1;
2287 static gint ett_h245_DataModeApplication = -1;
2288 static gint ett_h245_T38faxApp = -1;
2289 static gint ett_h245_EncryptionMode = -1;
2290 static gint ett_h245_RoundTripDelayRequest = -1;
2291 static gint ett_h245_RoundTripDelayResponse = -1;
2292 static gint ett_h245_MaintenanceLoopRequest = -1;
2293 static gint ett_h245_Mlr_type = -1;
2294 static gint ett_h245_MaintenanceLoopAck = -1;
2295 static gint ett_h245_Mla_type = -1;
2296 static gint ett_h245_MaintenanceLoopReject = -1;
2297 static gint ett_h245_Mlrej_type = -1;
2298 static gint ett_h245_MaintenanceLoopRejectCause = -1;
2299 static gint ett_h245_MaintenanceLoopOffCommand = -1;
2300 static gint ett_h245_CommunicationModeCommand = -1;
2301 static gint ett_h245_SET_SIZE_1_256_OF_CommunicationModeTableEntry = -1;
2302 static gint ett_h245_CommunicationModeRequest = -1;
2303 static gint ett_h245_CommunicationModeResponse = -1;
2304 static gint ett_h245_CommunicationModeTableEntry = -1;
2305 static gint ett_h245_T_entryDataType = -1;
2306 static gint ett_h245_ConferenceRequest = -1;
2307 static gint ett_h245_T_requestTerminalCertificate = -1;
2308 static gint ett_h245_CertSelectionCriteria = -1;
2309 static gint ett_h245_Criteria = -1;
2310 static gint ett_h245_TerminalLabel = -1;
2311 static gint ett_h245_ConferenceResponse = -1;
2312 static gint ett_h245_T_mCTerminalIDResponse = -1;
2313 static gint ett_h245_T_terminalIDResponse = -1;
2314 static gint ett_h245_T_conferenceIDResponse = -1;
2315 static gint ett_h245_T_passwordResponse = -1;
2316 static gint ett_h245_SET_SIZE_1_256_OF_TerminalLabel = -1;
2317 static gint ett_h245_T_makeMeChairResponse = -1;
2318 static gint ett_h245_T_extensionAddressResponse = -1;
2319 static gint ett_h245_T_chairTokenOwnerResponse = -1;
2320 static gint ett_h245_T_terminalCertificateResponse = -1;
2321 static gint ett_h245_T_broadcastMyLogicalChannelResponse = -1;
2322 static gint ett_h245_T_makeTerminalBroadcasterResponse = -1;
2323 static gint ett_h245_T_sendThisSourceResponse = -1;
2324 static gint ett_h245_RequestAllTerminalIDsResponse = -1;
2325 static gint ett_h245_SEQUENCE_OF_TerminalInformation = -1;
2326 static gint ett_h245_TerminalInformation = -1;
2327 static gint ett_h245_RemoteMCRequest = -1;
2328 static gint ett_h245_RemoteMCResponse = -1;
2329 static gint ett_h245_T_reject = -1;
2330 static gint ett_h245_MultilinkRequest = -1;
2331 static gint ett_h245_CallInformationReq = -1;
2332 static gint ett_h245_AddConnectionReq = -1;
2333 static gint ett_h245_RemoveConnectionReq = -1;
2334 static gint ett_h245_MaximumHeaderIntervalReq = -1;
2335 static gint ett_h245_T_requestType = -1;
2336 static gint ett_h245_MultilinkResponse = -1;
2337 static gint ett_h245_CallInformationResp = -1;
2338 static gint ett_h245_AddConnectionResp = -1;
2339 static gint ett_h245_T_responseCode = -1;
2340 static gint ett_h245_T_rejected = -1;
2341 static gint ett_h245_RemoveConnectionResp = -1;
2342 static gint ett_h245_MaximumHeaderIntervalResp = -1;
2343 static gint ett_h245_MultilinkIndication = -1;
2344 static gint ett_h245_T_crcDesired = -1;
2345 static gint ett_h245_T_excessiveError = -1;
2346 static gint ett_h245_DialingInformation = -1;
2347 static gint ett_h245_SET_SIZE_1_65535_OF_DialingInformationNumber = -1;
2348 static gint ett_h245_DialingInformationNumber = -1;
2349 static gint ett_h245_SET_SIZE_1_255_OF_DialingInformationNetworkType = -1;
2350 static gint ett_h245_DialingInformationNetworkType = -1;
2351 static gint ett_h245_ConnectionIdentifier = -1;
2352 static gint ett_h245_LogicalChannelRateRequest = -1;
2353 static gint ett_h245_LogicalChannelRateAcknowledge = -1;
2354 static gint ett_h245_LogicalChannelRateReject = -1;
2355 static gint ett_h245_LogicalChannelRateRejectReason = -1;
2356 static gint ett_h245_LogicalChannelRateRelease = -1;
2357 static gint ett_h245_SendTerminalCapabilitySet = -1;
2358 static gint ett_h245_T_specificRequest = -1;
2359 static gint ett_h245_SET_SIZE_1_65535_OF_CapabilityTableEntryNumber = -1;
2360 static gint ett_h245_SET_SIZE_1_256_OF_CapabilityDescriptorNumber = -1;
2361 static gint ett_h245_EncryptionCommand = -1;
2362 static gint ett_h245_T_encryptionAlgorithmID = -1;
2363 static gint ett_h245_FlowControlCommand = -1;
2364 static gint ett_h245_Scope = -1;
2365 static gint ett_h245_Restriction = -1;
2366 static gint ett_h245_EndSessionCommand = -1;
2367 static gint ett_h245_T_gstnOptions = -1;
2368 static gint ett_h245_T_isdnOptions = -1;
2369 static gint ett_h245_ConferenceCommand = -1;
2370 static gint ett_h245_SubstituteConferenceIDCommand = -1;
2371 static gint ett_h245_EncryptionUpdateDirection = -1;
2372 static gint ett_h245_MiscellaneousCommand = -1;
2373 static gint ett_h245_Mc_type = -1;
2374 static gint ett_h245_T_videoFastUpdateGOB = -1;
2375 static gint ett_h245_T_videoFastUpdateMB = -1;
2376 static gint ett_h245_T_progressiveRefinementStart = -1;
2377 static gint ett_h245_T_repeatCount = -1;
2378 static gint ett_h245_T_videoBadMBs = -1;
2379 static gint ett_h245_SEQUENCE_OF_PictureReference = -1;
2380 static gint ett_h245_T_lostPartialPicture = -1;
2381 static gint ett_h245_T_encryptionUpdateCommand = -1;
2382 static gint ett_h245_T_encryptionUpdateAck = -1;
2383 static gint ett_h245_KeyProtectionMethod = -1;
2384 static gint ett_h245_EncryptionUpdateRequest = -1;
2385 static gint ett_h245_PictureReference = -1;
2386 static gint ett_h245_H223MultiplexReconfiguration = -1;
2387 static gint ett_h245_T_h223ModeChange = -1;
2388 static gint ett_h245_T_h223AnnexADoubleFlag = -1;
2389 static gint ett_h245_NewATMVCCommand = -1;
2390 static gint ett_h245_Cmd_aal = -1;
2391 static gint ett_h245_Cmd_aal1 = -1;
2392 static gint ett_h245_Cmd_clockRecovery = -1;
2393 static gint ett_h245_Cmd_errorCorrection = -1;
2394 static gint ett_h245_Cmd_aal5 = -1;
2395 static gint ett_h245_Cmd_multiplex = -1;
2396 static gint ett_h245_Cmd_reverseParameters = -1;
2397 static gint ett_h245_CmdR_multiplex = -1;
2398 static gint ett_h245_MobileMultilinkReconfigurationCommand = -1;
2399 static gint ett_h245_T_status = -1;
2400 static gint ett_h245_FunctionNotUnderstood = -1;
2401 static gint ett_h245_FunctionNotSupported = -1;
2402 static gint ett_h245_FunctionNotSupportedCause = -1;
2403 static gint ett_h245_ConferenceIndication = -1;
2404 static gint ett_h245_TerminalYouAreSeeingInSubPictureNumber = -1;
2405 static gint ett_h245_VideoIndicateCompose = -1;
2406 static gint ett_h245_MiscellaneousIndication = -1;
2407 static gint ett_h245_Mi_type = -1;
2408 static gint ett_h245_T_videoNotDecodedMBs = -1;
2409 static gint ett_h245_JitterIndication = -1;
2410 static gint ett_h245_H223SkewIndication = -1;
2411 static gint ett_h245_H2250MaximumSkewIndication = -1;
2412 static gint ett_h245_MCLocationIndication = -1;
2413 static gint ett_h245_VendorIdentification = -1;
2414 static gint ett_h245_NewATMVCIndication = -1;
2415 static gint ett_h245_Ind_aal = -1;
2416 static gint ett_h245_Ind_aal1 = -1;
2417 static gint ett_h245_Ind_clockRecovery = -1;
2418 static gint ett_h245_Ind_errorCorrection = -1;
2419 static gint ett_h245_Ind_aal5 = -1;
2420 static gint ett_h245_Ind_multiplex = -1;
2421 static gint ett_h245_Ind_reverseParameters = -1;
2422 static gint ett_h245_IndR_multiplex = -1;
2423 static gint ett_h245_Params = -1;
2424 static gint ett_h245_UserInputIndication = -1;
2425 static gint ett_h245_T_userInputSupportIndication = -1;
2426 static gint ett_h245_T_signal = -1;
2427 static gint ett_h245_T_rtp = -1;
2428 static gint ett_h245_T_signalUpdate = -1;
2429 static gint ett_h245_Si_rtp = -1;
2430 static gint ett_h245_T_extendedAlphanumeric = -1;
2431 static gint ett_h245_EncryptedAlphanumeric = -1;
2432 static gint ett_h245_FlowControlIndication = -1;
2433 static gint ett_h245_MobileMultilinkReconfigurationIndication = -1;
2434
2435 /*--- End of included file: packet-h245-ett.c ---*/
2436 #line 403 "../../asn1/h245/packet-h245-template.c"
2437
2438 /* Forward declarations */
2439 static int dissect_h245_MultimediaSystemControlMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
2440 static void reset_h245_pi(void *dummy _U_)
2441 {
2442         h245_pi = NULL; /* Make sure we don't leave ep_alloc()ated memory lying around */
2443 }
2444
2445
2446 /*--- Included file: packet-h245-fn.c ---*/
2447 #line 1 "../../asn1/h245/packet-h245-fn.c"
2448 /*--- Cyclic dependencies ---*/
2449
2450 /* GenericParameter -> ParameterValue -> ParameterValue/genericParameter -> GenericParameter */
2451 static int dissect_h245_GenericParameter(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
2452
2453 /* VideoCapability -> ExtendedVideoCapability -> ExtendedVideoCapability/videoCapability -> VideoCapability */
2454 static int dissect_h245_VideoCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
2455
2456 /* AudioCapability -> VBDCapability -> AudioCapability */
2457 static int dissect_h245_AudioCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
2458
2459 /* DataType -> H235Media -> H235Media/mediaType -> RedundancyEncoding -> DataType */
2460 /* DataType -> H235Media -> H235Media/mediaType -> RedundancyEncoding -> RedundancyEncoding/rtpRedundancyEncoding -> RedundancyEncodingElement -> DataType */
2461 /* DataType -> H235Media -> H235Media/mediaType -> MultiplePayloadStream -> MultiplePayloadStream/elements -> MultiplePayloadStreamElement -> DataType */
2462 static int dissect_h245_DataType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
2463
2464 /* MultiplexElement -> MultiplexElement/type -> MultiplexElement/type/subElementList -> MultiplexElement */
2465 static int dissect_h245_MultiplexElement(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
2466
2467 /* AudioMode -> VBDMode -> AudioMode */
2468 static int dissect_h245_AudioMode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
2469
2470 /* ModeElementType -> RedundancyEncodingDTMode -> RedundancyEncodingDTModeElement -> RedundancyEncodingDTModeElement/type -> FECMode -> ModeElementType */
2471 /* ModeElementType -> MultiplePayloadStreamMode -> MultiplePayloadStreamMode/elements -> MultiplePayloadStreamElementMode -> ModeElementType */
2472 static int dissect_h245_ModeElementType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
2473
2474
2475
2476
2477 static int
2478 dissect_h245_T_object(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2479   offset = dissect_per_object_identifier_str(tvb, offset, actx, tree, hf_index, &nsiOID);
2480
2481   return offset;
2482 }
2483
2484
2485
2486 static int
2487 dissect_h245_T_t35CountryCode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2488   offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
2489                                                             0U, 255U, &t35CountryCode, FALSE);
2490
2491   return offset;
2492 }
2493
2494
2495
2496 static int
2497 dissect_h245_T_t35Extension(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2498   offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
2499                                                             0U, 255U, &t35Extension, FALSE);
2500
2501   return offset;
2502 }
2503
2504
2505
2506 static int
2507 dissect_h245_T_manufacturerCode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2508   offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
2509                                                             0U, 65535U, &manufacturerCode, FALSE);
2510
2511   return offset;
2512 }
2513
2514
2515 static const per_sequence_t H221NonStandardID_sequence[] = {
2516   { &hf_h245_t35CountryCode , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_h245_T_t35CountryCode },
2517   { &hf_h245_t35Extension   , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_h245_T_t35Extension },
2518   { &hf_h245_manufacturerCode, ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_h245_T_manufacturerCode },
2519   { NULL, 0, 0, NULL }
2520 };
2521
2522 static int
2523 dissect_h245_H221NonStandardID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2524 #line 970 "../../asn1/h245/h245.cnf"
2525   t35CountryCode = 0;
2526   t35Extension = 0;
2527   manufacturerCode = 0;
2528
2529   offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
2530                                    ett_h245_H221NonStandardID, H221NonStandardID_sequence);
2531
2532 #line 974 "../../asn1/h245/h245.cnf"
2533   h221NonStandard = ((t35CountryCode * 256) + t35Extension) * 65536 + manufacturerCode;
2534   proto_tree_add_uint(tree, hf_h245Manufacturer, tvb, (offset>>3)-4, 4, h221NonStandard);
2535
2536   return offset;
2537 }
2538
2539
2540 static const value_string h245_NonStandardIdentifier_vals[] = {
2541   {   0, "object" },
2542   {   1, "h221NonStandard" },
2543   { 0, NULL }
2544 };
2545
2546 static const per_choice_t NonStandardIdentifier_choice[] = {
2547   {   0, &hf_h245_object         , ASN1_NO_EXTENSIONS     , dissect_h245_T_object },
2548   {   1, &hf_h245_h221NonStandardID, ASN1_NO_EXTENSIONS     , dissect_h245_H221NonStandardID },
2549   { 0, NULL, 0, NULL }
2550 };
2551
2552 static int
2553 dissect_h245_NonStandardIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2554 #line 951 "../../asn1/h245/h245.cnf"
2555         gint32 value;
2556
2557         nsiOID = "";
2558         h221NonStandard = 0;
2559
2560   offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
2561                                  ett_h245_NonStandardIdentifier, NonStandardIdentifier_choice,
2562                                  &value);
2563
2564         switch (value) {
2565                 case 0 :  /* object */
2566                         nsp_handle = dissector_get_string_handle(nsp_object_dissector_table, nsiOID);
2567                         break;
2568                 case 1 :  /* h221NonStandard */
2569                         nsp_handle = dissector_get_uint_handle(nsp_h221_dissector_table, h221NonStandard);
2570                         break;
2571                 default :
2572                         nsp_handle = NULL;
2573     }
2574
2575
2576   return offset;
2577 }
2578
2579
2580
2581 static int
2582 dissect_h245_T_nsd_data(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2583 #line 985 "../../asn1/h245/h245.cnf"
2584   tvbuff_t *next_tvb = NULL;
2585
2586   offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
2587                                        NO_BOUND, NO_BOUND, FALSE, &next_tvb);
2588
2589   if (next_tvb && tvb_length(next_tvb)) {
2590     call_dissector((nsp_handle)?nsp_handle:data_handle, next_tvb, actx->pinfo, tree);
2591   }
2592
2593
2594   return offset;
2595 }
2596
2597
2598 static const per_sequence_t NonStandardParameter_sequence[] = {
2599   { &hf_h245_nonStandardIdentifier, ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_h245_NonStandardIdentifier },
2600   { &hf_h245_nsd_data       , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_h245_T_nsd_data },
2601   { NULL, 0, 0, NULL }
2602 };
2603
2604 static int
2605 dissect_h245_NonStandardParameter(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2606 #line 983 "../../asn1/h245/h245.cnf"
2607   nsp_handle = NULL;
2608
2609   offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
2610                                    ett_h245_NonStandardParameter, NonStandardParameter_sequence);
2611
2612   return offset;
2613 }
2614
2615
2616 static const per_sequence_t NonStandardMessage_sequence[] = {
2617   { &hf_h245_nonStandardData, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_NonStandardParameter },
2618   { NULL, 0, 0, NULL }
2619 };
2620
2621 static int
2622 dissect_h245_NonStandardMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2623   offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
2624                                    ett_h245_NonStandardMessage, NonStandardMessage_sequence);
2625
2626   return offset;
2627 }
2628
2629
2630
2631 static int
2632 dissect_h245_INTEGER_0_255(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2633   offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
2634                                                             0U, 255U, NULL, FALSE);
2635
2636   return offset;
2637 }
2638
2639
2640
2641 static int
2642 dissect_h245_INTEGER_0_16777215(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2643   offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
2644                                                             0U, 16777215U, NULL, FALSE);
2645
2646   return offset;
2647 }
2648
2649
2650 static const per_sequence_t MasterSlaveDetermination_sequence[] = {
2651   { &hf_h245_terminalType   , ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_INTEGER_0_255 },
2652   { &hf_h245_statusDeterminationNumber, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_INTEGER_0_16777215 },
2653   { NULL, 0, 0, NULL }
2654 };
2655
2656 static int
2657 dissect_h245_MasterSlaveDetermination(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2658   offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
2659                                    ett_h245_MasterSlaveDetermination, MasterSlaveDetermination_sequence);
2660
2661 #line 573 "../../asn1/h245/h245.cnf"
2662
2663 if (h245_pi != NULL)
2664   h245_pi->msg_type = H245_MastSlvDet;
2665
2666   return offset;
2667 }
2668
2669
2670
2671 static int
2672 dissect_h245_SequenceNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2673   offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
2674                                                             0U, 255U, NULL, FALSE);
2675
2676   return offset;
2677 }
2678
2679
2680
2681 static int
2682 dissect_h245_OBJECT_IDENTIFIER(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2683   offset = dissect_per_object_identifier(tvb, offset, actx, tree, hf_index, NULL);
2684
2685   return offset;
2686 }
2687
2688
2689
2690 static int
2691 dissect_h245_INTEGER_1_256(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2692   offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
2693                                                             1U, 256U, NULL, FALSE);
2694
2695   return offset;
2696 }
2697
2698
2699
2700 static int
2701 dissect_h245_BOOLEAN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2702   offset = dissect_per_boolean(tvb, offset, actx, tree, hf_index, NULL);
2703
2704   return offset;
2705 }
2706
2707
2708 static const per_sequence_t T_aal1_sequence[] = {
2709   { &hf_h245_nullClockRecovery, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2710   { &hf_h245_srtsClockRecovery_bool, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2711   { &hf_h245_adaptiveClockRecovery, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2712   { &hf_h245_nullErrorCorrection, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2713   { &hf_h245_longInterleaver, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2714   { &hf_h245_shortInterleaver, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2715   { &hf_h245_errorCorrectionOnly, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2716   { &hf_h245_structuredDataTransfer, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2717   { &hf_h245_partiallyFilledCells, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2718   { NULL, 0, 0, NULL }
2719 };
2720
2721 static int
2722 dissect_h245_T_aal1(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2723   offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
2724                                    ett_h245_T_aal1, T_aal1_sequence);
2725
2726   return offset;
2727 }
2728
2729
2730
2731 static int
2732 dissect_h245_INTEGER_0_65535(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2733   offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
2734                                                             0U, 65535U, NULL, FALSE);
2735
2736   return offset;
2737 }
2738
2739
2740 static const per_sequence_t T_aal5_sequence[] = {
2741   { &hf_h245_forwardMaximumSDUSize, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_INTEGER_0_65535 },
2742   { &hf_h245_backwardMaximumSDUSize, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_INTEGER_0_65535 },
2743   { NULL, 0, 0, NULL }
2744 };
2745
2746 static int
2747 dissect_h245_T_aal5(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2748   offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
2749                                    ett_h245_T_aal5, T_aal5_sequence);
2750
2751   return offset;
2752 }
2753
2754
2755
2756 static int
2757 dissect_h245_INTEGER_1_65535(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2758   offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
2759                                                             1U, 65535U, NULL, FALSE);
2760
2761   return offset;
2762 }
2763
2764
2765 static const per_sequence_t T_rangeOfBitRates_sequence[] = {
2766   { &hf_h245_lowerBitRate   , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_h245_INTEGER_1_65535 },
2767   { &hf_h245_higherBitRate  , ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_h245_INTEGER_1_65535 },
2768   { NULL, 0, 0, NULL }
2769 };
2770
2771 static int
2772 dissect_h245_T_rangeOfBitRates(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2773   offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
2774                                    ett_h245_T_rangeOfBitRates, T_rangeOfBitRates_sequence);
2775
2776   return offset;
2777 }
2778
2779
2780 static const value_string h245_Avb_type_vals[] = {
2781   {   0, "singleBitRate" },
2782   {   1, "rangeOfBitRates" },
2783   { 0, NULL }
2784 };
2785
2786 static const per_choice_t Avb_type_choice[] = {
2787   {   0, &hf_h245_singleBitRate  , ASN1_NO_EXTENSIONS     , dissect_h245_INTEGER_1_65535 },
2788   {   1, &hf_h245_rangeOfBitRates, ASN1_NO_EXTENSIONS     , dissect_h245_T_rangeOfBitRates },
2789   { 0, NULL, 0, NULL }
2790 };
2791
2792 static int
2793 dissect_h245_Avb_type(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2794   offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
2795                                  ett_h245_Avb_type, Avb_type_choice,
2796                                  NULL);
2797
2798   return offset;
2799 }
2800
2801
2802 static const per_sequence_t T_availableBitRates_sequence[] = {
2803   { &hf_h245_avb_type       , ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_Avb_type },
2804   { NULL, 0, 0, NULL }
2805 };
2806
2807 static int
2808 dissect_h245_T_availableBitRates(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2809   offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
2810                                    ett_h245_T_availableBitRates, T_availableBitRates_sequence);
2811
2812   return offset;
2813 }
2814
2815
2816
2817 static int
2818 dissect_h245_NumericString_SIZE_1_16(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2819   offset = dissect_per_NumericString(tvb, offset, actx, tree, hf_index,
2820                                           1, 16, FALSE);
2821
2822   return offset;
2823 }
2824
2825
2826
2827 static int
2828 dissect_h245_OCTET_STRING_SIZE_1_20(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2829   offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
2830                                        1, 20, FALSE, NULL);
2831
2832   return offset;
2833 }
2834
2835
2836 static const value_string h245_T_address_vals[] = {
2837   {   0, "internationalNumber" },
2838   {   1, "nsapAddress" },
2839   { 0, NULL }
2840 };
2841
2842 static const per_choice_t T_address_choice[] = {
2843   {   0, &hf_h245_internationalNumber, ASN1_EXTENSION_ROOT    , dissect_h245_NumericString_SIZE_1_16 },
2844   {   1, &hf_h245_nsapAddress    , ASN1_EXTENSION_ROOT    , dissect_h245_OCTET_STRING_SIZE_1_20 },
2845   { 0, NULL, 0, NULL }
2846 };
2847
2848 static int
2849 dissect_h245_T_address(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2850   offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
2851                                  ett_h245_T_address, T_address_choice,
2852                                  NULL);
2853
2854   return offset;
2855 }
2856
2857
2858 static const per_sequence_t Q2931Address_sequence[] = {
2859   { &hf_h245_address        , ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_T_address },
2860   { &hf_h245_subaddress     , ASN1_EXTENSION_ROOT    , ASN1_OPTIONAL    , dissect_h245_OCTET_STRING_SIZE_1_20 },
2861   { NULL, 0, 0, NULL }
2862 };
2863
2864 static int
2865 dissect_h245_Q2931Address(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2866   offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
2867                                    ett_h245_Q2931Address, Q2931Address_sequence);
2868
2869   return offset;
2870 }
2871
2872
2873 static const per_sequence_t SET_SIZE_1_256_OF_Q2931Address_set_of[1] = {
2874   { &hf_h245_gatewayAddress_item, ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_h245_Q2931Address },
2875 };
2876
2877 static int
2878 dissect_h245_SET_SIZE_1_256_OF_Q2931Address(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2879   offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index,
2880                                              ett_h245_SET_SIZE_1_256_OF_Q2931Address, SET_SIZE_1_256_OF_Q2931Address_set_of,
2881                                              1, 256, FALSE);
2882
2883   return offset;
2884 }
2885
2886
2887 static const per_sequence_t T_aal1ViaGateway_sequence[] = {
2888   { &hf_h245_gatewayAddress , ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_SET_SIZE_1_256_OF_Q2931Address },
2889   { &hf_h245_nullClockRecovery, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2890   { &hf_h245_srtsClockRecoveryflag, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2891   { &hf_h245_adaptiveClockRecovery, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2892   { &hf_h245_nullErrorCorrection, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2893   { &hf_h245_longInterleaver, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2894   { &hf_h245_shortInterleaver, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2895   { &hf_h245_errorCorrectionOnly, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2896   { &hf_h245_structuredDataTransfer, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2897   { &hf_h245_partiallyFilledCells, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2898   { NULL, 0, 0, NULL }
2899 };
2900
2901 static int
2902 dissect_h245_T_aal1ViaGateway(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2903   offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
2904                                    ett_h245_T_aal1ViaGateway, T_aal1ViaGateway_sequence);
2905
2906   return offset;
2907 }
2908
2909
2910 static const per_sequence_t VCCapability_sequence[] = {
2911   { &hf_h245_aal1           , ASN1_EXTENSION_ROOT    , ASN1_OPTIONAL    , dissect_h245_T_aal1 },
2912   { &hf_h245_aal5           , ASN1_EXTENSION_ROOT    , ASN1_OPTIONAL    , dissect_h245_T_aal5 },
2913   { &hf_h245_transportStream_bool, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2914   { &hf_h245_programStream  , ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_BOOLEAN },
2915   { &hf_h245_availableBitRates, ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_T_availableBitRates },
2916   { &hf_h245_aal1ViaGateway , ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL    , dissect_h245_T_aal1ViaGateway },
2917   { NULL, 0, 0, NULL }
2918 };
2919
2920 static int
2921 dissect_h245_VCCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2922   offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
2923                                    ett_h245_VCCapability, VCCapability_sequence);
2924
2925   return offset;
2926 }
2927
2928
2929 static const per_sequence_t SET_OF_VCCapability_set_of[1] = {
2930   { &hf_h245_vcCapability_item, ASN1_NO_EXTENSIONS     , ASN1_NOT_OPTIONAL, dissect_h245_VCCapability },
2931 };
2932
2933 static int
2934 dissect_h245_SET_OF_VCCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2935   offset = dissect_per_set_of(tvb, offset, actx, tree, hf_index,
2936                                  ett_h245_SET_OF_VCCapability, SET_OF_VCCapability_set_of);
2937
2938   return offset;
2939 }
2940
2941
2942 static const per_sequence_t H222Capability_sequence[] = {
2943   { &hf_h245_numberOfVCs    , ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_INTEGER_1_256 },
2944   { &hf_h245_vcCapability   , ASN1_EXTENSION_ROOT    , ASN1_NOT_OPTIONAL, dissect_h245_SET_OF_VCCapability },
2945   { NULL, 0, 0, NULL }
2946 };
2947
2948 static int
2949 dissect_h245_H222Capability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2950   offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
2951                                    ett_h245_H222Capability, H222Capability_sequence);
2952
2953   return offset;
2954 }
2955
2956
2957
2958 static int
2959 dissect_h245_INTEGER_0_1023(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2960   offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
2961                                                             0U, 1023U, NULL, FALSE);
2962
2963   return offset;
2964 }
2965
2966
2967
2968 static int
2969 dissect_h245_NULL(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2970   offset = dissect_per_null(tvb, offset, actx, tree, hf_index);
2971
2972   return offset;
2973 }
2974
2975
2976
2977 static int
2978 dissect_h245_INTEGER_1_15(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
2979   offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
2980                                                             1U, 15U, NULL, FALSE);
2981
2982   return offset;
2983 }
2984