2006-10-03 17:24:28 +00:00
|
|
|
/*
|
|
|
|
* packet-h248_3gpp.c
|
|
|
|
* 3GPP H.248 Packages
|
|
|
|
*
|
|
|
|
* (c) 2006, Luis E. Garcia Ontanon <luis.ontanon@gmail.com>
|
|
|
|
*
|
2006-10-13 17:04:16 +00:00
|
|
|
* $Id$
|
2006-10-03 17:24:28 +00:00
|
|
|
*
|
2007-01-02 14:11:35 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
2007-01-02 17:19:25 +00:00
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2006-10-03 17:24:28 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "packet-h248.h"
|
|
|
|
#define PNAME "H.248 3GPP"
|
|
|
|
#define PSNAME "H2483GPP"
|
|
|
|
#define PFNAME "h2483gpp"
|
|
|
|
|
|
|
|
|
2007-02-21 00:00:49 +00:00
|
|
|
/*
|
|
|
|
* 3GUP Package
|
|
|
|
* 3GPP TS 29.232 -- 15.1.1
|
|
|
|
*/
|
2006-10-03 17:24:28 +00:00
|
|
|
static int hf_h248_package_3GUP = -1;
|
|
|
|
static int hf_h248_package_3GUP_parameters = -1;
|
|
|
|
|
|
|
|
static int hf_h248_package_3GUP_Mode = -1;
|
|
|
|
static int hf_h248_package_3GUP_UPversions = -1;
|
|
|
|
static int hf_h248_package_3GUP_delerrsdu = -1;
|
|
|
|
static int hf_h248_package_3GUP_interface = -1;
|
|
|
|
static int hf_h248_package_3GUP_initdir = -1;
|
|
|
|
|
2007-02-21 00:00:49 +00:00
|
|
|
static gint ett_h248_package_3GUP = -1;
|
2006-10-03 17:24:28 +00:00
|
|
|
|
2007-01-30 06:16:39 +00:00
|
|
|
static gboolean implicit = FALSE;
|
|
|
|
|
2006-10-03 17:24:28 +00:00
|
|
|
static const value_string h248_3GUP_Mode_vals[] = {
|
|
|
|
{ 0x00000001, "Transparent mode" },
|
|
|
|
{ 0x00000002, "Support mode for predefined SDU sizes" },
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string h248_3GUP_upversions_vals[] = {
|
|
|
|
{ 0x01, "Version 1" },
|
|
|
|
{ 0x02, "Version 2" },
|
|
|
|
{ 0x03, "Version 3" },
|
|
|
|
{ 0x04, "Version 4" },
|
|
|
|
{ 0x05, "Version 5" },
|
|
|
|
{ 0x06, "Version 6" },
|
|
|
|
{ 0x07, "Version 7" },
|
|
|
|
{ 0x08, "Version 8" },
|
|
|
|
{ 0x09, "Version 9" },
|
|
|
|
{ 0x0A, "Version 10" },
|
|
|
|
{ 0x0B, "Version 11" },
|
|
|
|
{ 0x0C, "Version 12" },
|
|
|
|
{ 0x0D, "Version 13" },
|
|
|
|
{ 0x0E, "Version 14" },
|
|
|
|
{ 0x0F, "Version 15" },
|
|
|
|
{ 0x10, "Version 16" },
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string h248_3GUP_delerrsdu_vals[] = {
|
|
|
|
{ 0x0001, "Yes" },
|
|
|
|
{ 0x0002, "No" },
|
|
|
|
{ 0x0003, "Not Applicable" },
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string h248_3GUP_interface_vals[] = {
|
|
|
|
{ 0x0001, "RAN (Iu interface)" },
|
|
|
|
{ 0x0002, "CN (Nb interfac)" },
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string h248_3GUP_initdir_vals[] = {
|
|
|
|
{ 0x0001, "Incoming" },
|
|
|
|
{ 0x0002, "Outgoing" },
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string h248_3GUP_parameters[] = {
|
|
|
|
{ 0x0001, "Mode" },
|
|
|
|
{ 0x0002, "UPversions" },
|
|
|
|
{ 0x0003, "Delivery of erroneous SDUs" },
|
|
|
|
{ 0x0004, "Interface" },
|
|
|
|
{ 0x0005, "Initialisation Direction" },
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
h248_pkg_param_t h248_package_3GUP_properties[] = {
|
2007-01-30 06:16:39 +00:00
|
|
|
{ 0x0001, &hf_h248_package_3GUP_Mode, h248_param_ber_integer, &implicit },
|
|
|
|
{ 0x0002, &hf_h248_package_3GUP_UPversions, h248_param_ber_integer, &implicit },
|
|
|
|
{ 0x0003, &hf_h248_package_3GUP_delerrsdu, h248_param_ber_integer, &implicit },
|
|
|
|
{ 0x0004, &hf_h248_package_3GUP_interface, h248_param_ber_integer, &implicit },
|
|
|
|
{ 0x0005, &hf_h248_package_3GUP_initdir, h248_param_ber_integer, &implicit },
|
2007-02-21 00:00:49 +00:00
|
|
|
{ 0x0000, NULL, NULL, NULL }
|
2006-10-03 17:24:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static h248_package_t h248_package_3GUP = {
|
|
|
|
0x002f,
|
|
|
|
&hf_h248_package_3GUP,
|
|
|
|
&hf_h248_package_3GUP_parameters,
|
|
|
|
&ett_h248_package_3GUP,
|
|
|
|
h248_package_3GUP_properties,
|
2006-10-13 17:04:16 +00:00
|
|
|
NULL,
|
2006-10-03 17:24:28 +00:00
|
|
|
NULL,
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2007-02-21 00:00:49 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Circuit Switched Data package
|
|
|
|
* 3GPP TS 29.232 -- 15.2.1
|
|
|
|
*/
|
|
|
|
|
|
|
|
static int hf_h248_package_3GCSD = -1;
|
|
|
|
static int hf_h248_package_3GCSD_parameters = -1;
|
|
|
|
|
|
|
|
static int hf_h248_package_3GCSD_plmnbc = -1;
|
|
|
|
static int hf_h248_package_3GCSD_gsmchancod = -1;
|
|
|
|
static int hf_h248_pkg_3GCSD_evt_protres = -1;
|
|
|
|
static int hf_h248_pkg_3GCSD_evt_protres_result = -1;
|
|
|
|
static int hf_h248_pkg_3GCSD_evt_protres_cause = -1;
|
|
|
|
static int hf_h248_pkg_3GCSD_evt_ratechg = -1;
|
|
|
|
static int hf_h248_pkg_3GCSD_evt_ratechg_rate = -1;
|
|
|
|
static int hf_h248_pkg_3GCSD_sig_actprot = -1;
|
|
|
|
static int hf_h248_pkg_3GCSD_actprot_sig_localpeer = -1;
|
|
|
|
|
|
|
|
static gint ett_h248_package_3GCSD = -1;
|
|
|
|
static gint ett_h248_3GCSD_evt_protres = -1;
|
|
|
|
static gint ett_h248_3GCSD_evt_ratechg = -1;
|
|
|
|
static gint ett_pkg_3GCSD_sig_actprot = -1;
|
|
|
|
|
|
|
|
static const value_string h248_3GCSD_evt_protres_result_vals[] = {
|
|
|
|
{1,"Success"},
|
|
|
|
{0,"Failure"},
|
|
|
|
{0,NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string h248_3GCSD_evt_protres_cause_vals[] = {
|
|
|
|
{1,"Unsp"},
|
|
|
|
{2,"V8V34"},
|
|
|
|
{0,NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static const value_string h248_3GCSD_actprot_sig_localpeer_vals[] = {
|
|
|
|
{0,"Orig"},
|
|
|
|
{1,"Term"},
|
|
|
|
{0,NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static h248_pkg_param_t h248_package_3GCSD_props[] = {
|
|
|
|
{ 0x0001, &hf_h248_package_3GCSD_plmnbc, h248_param_ber_octetstring, &implicit },
|
|
|
|
{ 0x0002, &hf_h248_package_3GCSD_gsmchancod, h248_param_ber_octetstring, &implicit },
|
|
|
|
{ 0x0000, NULL, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static h248_pkg_param_t h248_pkg_3GCSD_evt_protres_params[] = {
|
|
|
|
{ 0x0001, &hf_h248_pkg_3GCSD_evt_protres_result, h248_param_ber_integer, &implicit },
|
|
|
|
{ 0x0002, &hf_h248_pkg_3GCSD_evt_protres_cause, h248_param_ber_integer, &implicit },
|
|
|
|
{ 0, NULL, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static h248_pkg_param_t h248_pkg_3GCSD_evt_ratechg_params[] = {
|
|
|
|
{ 0x0001, &hf_h248_pkg_3GCSD_evt_ratechg_rate, h248_param_ber_integer, &implicit },
|
|
|
|
{ 0, NULL, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static h248_pkg_evt_t h248_package_3GCSD_evts[] = {
|
|
|
|
{ 0x0001, &hf_h248_pkg_3GCSD_evt_protres, &ett_h248_3GCSD_evt_protres, h248_pkg_3GCSD_evt_protres_params},
|
|
|
|
{ 0x0002, &hf_h248_pkg_3GCSD_evt_ratechg, &ett_h248_3GCSD_evt_ratechg, h248_pkg_3GCSD_evt_ratechg_params},
|
|
|
|
{ 0, NULL, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static h248_pkg_param_t h248_pkg_3GCSD_actprot_sig_params[] = {
|
|
|
|
{ 0x0001, &hf_h248_pkg_3GCSD_actprot_sig_localpeer, h248_param_ber_integer, &implicit },
|
|
|
|
{ 0, NULL, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static h248_pkg_sig_t h248_package_3GCSD_sigs[] = {
|
|
|
|
{ 0x0010, &hf_h248_pkg_3GCSD_sig_actprot, &ett_pkg_3GCSD_sig_actprot, h248_pkg_3GCSD_actprot_sig_params },
|
|
|
|
{ 0, NULL, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static h248_package_t h248_package_3GCSD = {
|
|
|
|
0x0030,
|
|
|
|
&hf_h248_package_3GCSD,
|
|
|
|
&hf_h248_package_3GCSD_parameters,
|
|
|
|
&ett_h248_package_3GCSD,
|
|
|
|
h248_package_3GCSD_props,
|
|
|
|
h248_package_3GCSD_sigs,
|
|
|
|
h248_package_3GCSD_evts,
|
|
|
|
NULL};
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* TFO package
|
|
|
|
* 3GPP TS 29.232 -- 15.2.2
|
|
|
|
*/
|
|
|
|
static int hf_h248_package_3GTFO = -1;
|
|
|
|
static int hf_h248_package_3GTFO_parameters = -1;
|
|
|
|
static int hf_h248_pkg_3GTFO_evt_codec_modify = -1;
|
|
|
|
static int hf_h248_pkg_3GTFO_evt_distant_codec_list = -1;
|
|
|
|
static int hf_h248_pkg_3GTFO_evt_status = -1;
|
|
|
|
static int hf_h248_pkg_3GTFO_enable = -1;
|
|
|
|
static int hf_h248_pkg_3GTFO_codeclist = -1;
|
|
|
|
static int hf_h248_pkg_3GTFO_evt_codec_modify_optimalcodec = -1;
|
|
|
|
static int hf_h248_pkg_3GTFO_evt_distant_codec_list_distlist = -1;
|
|
|
|
static int hf_h248_pkg_3GTFO_evt_status_tfostatus = -1;
|
|
|
|
|
|
|
|
static gint ett_h248_package_3GTFO = -1;
|
|
|
|
static gint ett_h248_3GTFO_evt_status = -1;
|
|
|
|
static gint ett_h248_3GTFO_evt_distant_codec_list = -1;
|
|
|
|
static gint ett_h248_3GTFO_evt_codec_modify = -1;
|
|
|
|
|
|
|
|
static const value_string tfoenable_vals[] = {
|
|
|
|
{1,"On"},
|
|
|
|
{2,"Off"},
|
|
|
|
{0,NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static h248_pkg_param_t h248_package_3GTFO_props[] = {
|
|
|
|
{ 0x0001, &hf_h248_pkg_3GTFO_enable, h248_param_ber_integer, &implicit },
|
|
|
|
{ 0x0002, &hf_h248_pkg_3GTFO_codeclist, h248_param_item, &implicit }, /* Sub-list of Octet string Q.765.5 + TS 26.103 .*/
|
|
|
|
{ 0, NULL, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static h248_pkg_param_t h248_pkg_3GTFO_evt_codec_modify_params[] = {
|
|
|
|
{ 0x0011, &hf_h248_pkg_3GTFO_evt_codec_modify_optimalcodec, h248_param_ber_octetstring, &implicit }, /* Q.765.5 + TS 26.103 .*/
|
|
|
|
{ 0, NULL, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static h248_pkg_param_t h248_pkg_3GTFO_evt_distant_codec_list_params[] = {
|
|
|
|
{ 0x0013, &hf_h248_pkg_3GTFO_evt_distant_codec_list_distlist, h248_param_item, &implicit }, /* Sub-list of Octet string Q.765.5 + TS 26.103 .*/
|
|
|
|
{ 0, NULL, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static h248_pkg_param_t h248_pkg_3GTFO_evt_status_params[] = {
|
|
|
|
{ 0x0001, &hf_h248_pkg_3GTFO_evt_status_tfostatus, h248_param_ber_boolean, &implicit },
|
|
|
|
{ 0, NULL, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static h248_pkg_evt_t h248_package_3GTFO_evts[] = {
|
|
|
|
{ 0x0010, &hf_h248_pkg_3GTFO_evt_codec_modify, &ett_h248_3GTFO_evt_codec_modify, h248_pkg_3GTFO_evt_codec_modify_params},
|
|
|
|
{ 0x0012, &hf_h248_pkg_3GTFO_evt_distant_codec_list, &ett_h248_3GTFO_evt_distant_codec_list, h248_pkg_3GTFO_evt_distant_codec_list_params},
|
|
|
|
{ 0x0014, &hf_h248_pkg_3GTFO_evt_status, &ett_h248_3GTFO_evt_status, h248_pkg_3GTFO_evt_status_params},
|
|
|
|
{ 0, NULL, NULL, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static h248_package_t h248_package_3GTFO = {
|
|
|
|
0x0031,
|
|
|
|
&hf_h248_package_3GTFO,
|
|
|
|
&hf_h248_package_3GTFO_parameters,
|
|
|
|
&ett_h248_package_3GTFO,
|
|
|
|
h248_package_3GTFO_props,
|
|
|
|
NULL,
|
|
|
|
h248_package_3GTFO_evts,
|
|
|
|
NULL};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 3G Expanded Call Progress Tones Generator Package
|
|
|
|
* 3GPP TS 29.232 -- 15.2.3
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* Modification Of Link Characteristics Bearer Capability
|
|
|
|
* 3GPP TS 29.232 -- 15.2.4
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* Enhanced Circuit Switched Data package
|
|
|
|
* 3GPP TS 29.232 -- 15.2.5
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* Cellular Text telephone Modem Text Transport
|
|
|
|
* 3GPP TS 29.232 -- 15.2.6
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* IP transport package
|
|
|
|
* 3GPP TS 29.232 -- 15.2.7
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* Flexible Tone Generator Package
|
|
|
|
* 3GPP TS 29.232 -- 15.2.8
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* Trace Package
|
|
|
|
* 3GPP TS 29.232 -- 15.2.9
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* ASCI Group call package
|
|
|
|
* 3GPP TS 29.232 -- 15.2.10
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2006-10-03 17:24:28 +00:00
|
|
|
void proto_register_h248_3gpp(void) {
|
|
|
|
static hf_register_info hf[] = {
|
|
|
|
{ &hf_h248_package_3GUP_Mode,
|
|
|
|
{ "Mode", "h248.package_3GUP.Mode",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(h248_3GUP_Mode_vals), 0,
|
|
|
|
"Mode", HFILL }},
|
2007-02-21 00:00:49 +00:00
|
|
|
{ &hf_h248_package_3GUP_parameters,
|
|
|
|
{ "Parameter", "h248.package_3GUP.parameter",
|
|
|
|
FT_UINT16, BASE_HEX, VALS(h248_3GUP_parameters), 0,
|
|
|
|
"Parameter", HFILL }},
|
2006-10-03 17:24:28 +00:00
|
|
|
{ &hf_h248_package_3GUP_UPversions,
|
|
|
|
{ "UPversions", "h248.package_3GUP.upversions",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(h248_3GUP_upversions_vals), 0,
|
|
|
|
"UPversions", HFILL }},
|
|
|
|
{ &hf_h248_package_3GUP_delerrsdu,
|
|
|
|
{ "Delivery of erroneous SDUs", "h248.package_3GUP.delerrsdu",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(h248_3GUP_delerrsdu_vals), 0,
|
|
|
|
"Delivery of erroneous SDUs", HFILL }},
|
|
|
|
{ &hf_h248_package_3GUP_interface,
|
|
|
|
{ "Interface", "h248.package_3GUP.interface",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(h248_3GUP_interface_vals), 0,
|
|
|
|
"Interface", HFILL }},
|
|
|
|
{ &hf_h248_package_3GUP_initdir,
|
|
|
|
{ "Initialisation Direction", "h248.package_3GUP.initdir",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(h248_3GUP_initdir_vals), 0,
|
|
|
|
"Initialisation Direction", HFILL }},
|
2007-02-21 00:00:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
{ &hf_h248_package_3GCSD,
|
|
|
|
{ "CSD Package", "h248.package_3GCSD",
|
|
|
|
FT_BYTES, BASE_HEX, NULL, 0,
|
|
|
|
"Circuit Switched Data Package", HFILL }},
|
|
|
|
{ &hf_h248_package_3GCSD_parameters,
|
|
|
|
{ "CSD Package params", "h248.package_3GCSD.params",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"", HFILL }},
|
|
|
|
{ &hf_h248_package_3GCSD_plmnbc,
|
|
|
|
{ "PLMN Bearer Capability", "h248.package_3GCSD.plmnbc",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"The PLMN Bearer Capability", HFILL }},
|
|
|
|
{ &hf_h248_package_3GCSD_gsmchancod,
|
|
|
|
{ "GSM channel coding", "h248.package_3GCSD.gsmchancod",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"Channel information needed for GSM", HFILL }},
|
|
|
|
{ &hf_h248_pkg_3GCSD_evt_protres,
|
|
|
|
{ "Protocol Negotiation Result", "h248.package_3GCSD.protres",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"This event is used to report the result of the protocol negotiation", HFILL }},
|
|
|
|
{ &hf_h248_pkg_3GCSD_evt_protres_result,
|
|
|
|
{ "Negotiation Result", "h248.package_3GCSD.protres.result",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(h248_3GCSD_evt_protres_result_vals), 0,
|
|
|
|
"reports whether the protocol negotiation has been successful", HFILL }},
|
|
|
|
{ &hf_h248_pkg_3GCSD_evt_protres_cause,
|
|
|
|
{ "Possible Failure Cause", "h248.package_3GCSD.protres.cause",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(h248_3GCSD_evt_protres_cause_vals), 0,
|
|
|
|
"indicates the possible failure cause", HFILL }},
|
|
|
|
{ &hf_h248_pkg_3GCSD_evt_ratechg,
|
|
|
|
{ "Rate Change", "h248.package_3GCSD.ratechg",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"This event is used to report a rate change", HFILL }},
|
|
|
|
{ &hf_h248_pkg_3GCSD_evt_ratechg_rate,
|
|
|
|
{ "New Rate", "h248.package_3GCSD.ratechg.rate",
|
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
|
|
|
"reports the new rate for the termination", HFILL }},
|
|
|
|
{ &hf_h248_pkg_3GCSD_sig_actprot,
|
|
|
|
{ "Activate Protocol", "h248.package_3GCSD.actprot",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"Activate the higher layer protocol", HFILL }},
|
|
|
|
{ &hf_h248_pkg_3GCSD_actprot_sig_localpeer,
|
|
|
|
{ "Local Peer Role", "h248.package_3GCSD.actprot.localpeer",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(h248_3GCSD_actprot_sig_localpeer_vals), 0,
|
|
|
|
"It is used to inform the modem whether it should act as originating or terminating peer", HFILL }},
|
|
|
|
|
|
|
|
|
|
|
|
{ &hf_h248_package_3GTFO,
|
|
|
|
{ "Tandem Free Operation ", "h248.package_3GTFO",
|
|
|
|
FT_BYTES, BASE_HEX, NULL, 0,
|
|
|
|
"This package defines events and properties for Tandem Free Operation (TFO) control", HFILL }},
|
|
|
|
{ &hf_h248_package_3GTFO_parameters,
|
|
|
|
{ "Tandem Free Operation", "h248.package_3GTFO",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"", HFILL }},
|
|
|
|
{ &hf_h248_pkg_3GTFO_enable,
|
|
|
|
{ "TFO Activity Control", "h248.package_3GTFO.tfoenable",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(tfoenable_vals), 0,
|
|
|
|
"Defines if TFO is enabled or not", HFILL }},
|
|
|
|
{ &hf_h248_pkg_3GTFO_codeclist,
|
|
|
|
{ "TFO Codec List", "h248.package_3GTFO.codeclist",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"List of codecs for use in TFO protocol", HFILL }},
|
|
|
|
|
|
|
|
{ &hf_h248_pkg_3GTFO_evt_codec_modify,
|
|
|
|
{ "Optimal Codec Event", "h248.package_3GTFO.codec_modify",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"The event is used to notify the MGC that TFO negotiation has resulted in an optimal codec type being proposed", HFILL }},
|
|
|
|
{ &hf_h248_pkg_3GTFO_evt_codec_modify_optimalcodec,
|
|
|
|
{ "Optimal Codec Type", "h248.package_3GTFO.codec_modify.optimalcodec",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"indicates which is the proposed codec type for TFO", HFILL }},
|
|
|
|
|
|
|
|
{ &hf_h248_pkg_3GTFO_evt_distant_codec_list,
|
|
|
|
{ "Codec List Event", "h248.package_3GTFO.distant_codec_list",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"The event is used to notify the MGC of the distant TFO partner's supported codec list", HFILL }},
|
|
|
|
|
|
|
|
{ &hf_h248_pkg_3GTFO_evt_distant_codec_list_distlist,
|
|
|
|
{ "Distant Codec List", "h248.package_3GTFO.distant_codec_list.distlist",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"indicates the codec list for TFO", HFILL }},
|
|
|
|
|
|
|
|
{ &hf_h248_pkg_3GTFO_evt_status,
|
|
|
|
{ "TFO Status Event", "h248.package_3GTFO.status",
|
|
|
|
FT_BYTES, BASE_DEC, NULL, 0,
|
|
|
|
"The event is used to notify the MGC that a TFO link has been established or broken", HFILL }},
|
|
|
|
{ &hf_h248_pkg_3GTFO_evt_status_tfostatus,
|
|
|
|
{ "TFO Status", "h248.package_3GTFO.status.tfostatus",
|
|
|
|
FT_BOOLEAN, BASE_DEC, NULL, 0,
|
|
|
|
"reports whether TFO has been established or broken", HFILL }},
|
2006-10-03 17:24:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static gint *ett[] = {
|
2007-02-21 00:00:49 +00:00
|
|
|
&ett_h248_package_3GUP,
|
|
|
|
&ett_h248_package_3GCSD,
|
|
|
|
&ett_h248_3GCSD_evt_protres,
|
|
|
|
&ett_h248_3GCSD_evt_ratechg,
|
|
|
|
&ett_h248_package_3GTFO,
|
|
|
|
&ett_h248_3GTFO_evt_status,
|
|
|
|
&ett_h248_3GTFO_evt_distant_codec_list,
|
|
|
|
&ett_h248_3GTFO_evt_codec_modify
|
2006-10-03 17:24:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
hf_h248_package_3GUP = proto_register_protocol(PNAME, PSNAME, PFNAME);
|
|
|
|
|
|
|
|
proto_register_field_array(hf_h248_package_3GUP, hf, array_length(hf));
|
|
|
|
|
|
|
|
proto_register_subtree_array(ett, array_length(ett));
|
|
|
|
|
|
|
|
h248_register_package(&h248_package_3GUP);
|
2007-02-21 00:00:49 +00:00
|
|
|
h248_register_package(&h248_package_3GCSD);
|
|
|
|
h248_register_package(&h248_package_3GTFO);
|
2006-10-03 17:24:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void proto_reg_handoff_h248_3gpp(void) {
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|