diff options
Diffstat (limited to 'asn1/inap')
-rw-r--r-- | asn1/inap/inap.cnf | 13 | ||||
-rw-r--r-- | asn1/inap/packet-inap-template.c | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/asn1/inap/inap.cnf b/asn1/inap/inap.cnf index 6bffe6af71..1d84b6eaba 100644 --- a/asn1/inap/inap.cnf +++ b/asn1/inap/inap.cnf @@ -288,6 +288,19 @@ dissect_isup_called_party_number_parameter(parameter_tvb, tree, NULL); return offset; dissect_isup_redirecting_number_parameter(parameter_tvb, tree, NULL); +#.FN_BODY HighLayerCompatibility VAL_PTR = ¶meter_tvb +/* + * -- Indicates the teleservice. For encoding, DSS1 (Q.931) is used. + */ + tvbuff_t *parameter_tvb; + proto_tree *subtree; +%(DEFAULT_BODY)s + + if (!parameter_tvb) + return offset; + + subtree = proto_item_add_subtree(actx->created_item, ett_inap_HighLayerCompatibility); + dissect_q931_high_layer_compat_ie(parameter_tvb, 0, tvb_length_remaining(parameter_tvb,0), subtree); #.TYPE_ATTR CallingPartysCategory TYPE = FT_UINT16 DISPLAY = BASE_DEC STRINGS = VALS(isup_calling_partys_category_value) diff --git a/asn1/inap/packet-inap-template.c b/asn1/inap/packet-inap-template.c index 9cafc19f6f..38ef917943 100644 --- a/asn1/inap/packet-inap-template.c +++ b/asn1/inap/packet-inap-template.c @@ -76,6 +76,7 @@ static int inap_opcode_type; /* Initialize the subtree pointers */ static gint ett_inap = -1; static gint ett_inapisup_parameter = -1; +static gint ett_inap_HighLayerCompatibility = -1; #include "packet-inap-ett.c" #include "packet-inap-table.c" @@ -201,6 +202,7 @@ void proto_register_inap(void) { static gint *ett[] = { &ett_inap, &ett_inapisup_parameter, + &ett_inap_HighLayerCompatibility, #include "packet-inap-ettarr.c" }; |