2004-10-05 09:50:19 +00:00
|
|
|
# h248.cnf
|
2004-10-05 09:18:55 +00:00
|
|
|
# H.248 conformation file
|
|
|
|
|
|
|
|
#.MODULE_IMPORT
|
|
|
|
|
|
|
|
#.EXPORTS
|
|
|
|
|
2015-12-10 02:50:10 +00:00
|
|
|
#.PDU
|
2004-10-05 09:18:55 +00:00
|
|
|
|
|
|
|
#.NO_EMIT
|
|
|
|
MtpAddress
|
|
|
|
PkgdName
|
2006-10-03 17:24:28 +00:00
|
|
|
ErrorCode
|
2004-10-05 09:50:19 +00:00
|
|
|
PropertyID
|
2004-10-12 04:59:25 +00:00
|
|
|
SignalName
|
2006-10-03 17:24:28 +00:00
|
|
|
SigParameterName
|
|
|
|
SigParamValue
|
2004-10-12 04:59:25 +00:00
|
|
|
EventName
|
2006-10-03 17:24:28 +00:00
|
|
|
EventParameterName
|
|
|
|
EventParamValue
|
2007-03-25 21:39:40 +00:00
|
|
|
ContextID
|
2012-03-13 13:26:13 +00:00
|
|
|
EventParamValueV1
|
2012-06-05 10:54:21 +00:00
|
|
|
SigParamValueV1
|
2004-10-05 09:18:55 +00:00
|
|
|
|
|
|
|
#.TYPE_RENAME
|
2007-11-07 21:22:25 +00:00
|
|
|
IndAudMediaDescriptor/streams IndAudMediaDescriptorStreams
|
|
|
|
ActionRequest/contextId ContextId
|
|
|
|
ActionReply/contextId ContextId
|
2006-10-15 16:06:02 +00:00
|
|
|
StatisticsParameter/statName StatName
|
2006-09-04 18:10:14 +00:00
|
|
|
StatisticsParameter/statValue StatValue
|
2006-10-15 16:06:02 +00:00
|
|
|
PropertyParm/propertyName PropertyName
|
2007-11-07 21:22:25 +00:00
|
|
|
EventParameter/extraInfo EventPar_extraInfo
|
|
|
|
PropertyParm/extraInfo PropParm_extraInfo
|
|
|
|
ContextRequest/iepscallind Iepscallind_BOOL
|
2004-10-05 09:18:55 +00:00
|
|
|
|
|
|
|
#.FIELD_RENAME
|
2004-10-12 23:40:51 +00:00
|
|
|
IP4Address/address iP4Address
|
|
|
|
IP6Address/address iP6Address
|
|
|
|
ContextAttrAuditRequest/emergency cAAREmergency
|
|
|
|
ContextAttrAuditRequest/priority cAARPriority
|
|
|
|
SecondRequestedEvent/eventAction secondaryEventAction
|
|
|
|
TerminationStateDescriptor/eventBufferControl tSEventBufferControl
|
|
|
|
SecondEventsDescriptor/eventList secondaryEventList
|
|
|
|
IndAudEventBufferDescriptor/eventName iAEBDEventName
|
|
|
|
TerminationID/id terminationId
|
|
|
|
IndAudStreamParms/localControlDescriptor iASPLocalControlDescriptor
|
|
|
|
IndAudStreamParms/localDescriptor iASPLocalDescriptor
|
2012-06-05 10:54:21 +00:00
|
|
|
LocalControlDescriptor/propertyParms lCDpropertyParms
|
|
|
|
TerminationStateDescriptor/propertyParms tSDpropertyParms
|
2004-10-12 23:40:51 +00:00
|
|
|
MediaDescriptor/streams/oneStream mediaDescriptorOneStream
|
|
|
|
MediaDescriptor/streams/multiStream mediaDescriptorMultiStream
|
|
|
|
MediaDescriptor/streams/multiStream/_item mediaDescriptorMultiStream_item
|
|
|
|
DomainName/name domName
|
|
|
|
IndAudEventsDescriptor/pkgdName iAEDPkgdName
|
|
|
|
IndAudLocalRemoteDescriptor/propGrps iAPropertyGroup
|
|
|
|
IndAudLocalControlDescriptor/propertyParms indAudPropertyParms
|
|
|
|
IndAudTerminationStateDescriptor/propertyParms indAudPropertyParms
|
|
|
|
IndAudLocalControlDescriptor/reserveGroup iALCDReserveGroup
|
|
|
|
IndAudLocalControlDescriptor/reserveValue iALCDReserveValue
|
|
|
|
IndAudLocalControlDescriptor/streamMode iALCDStreamMode
|
|
|
|
IndAudStreamDescriptor/streamParms indAudStreamParms
|
|
|
|
IndAudMediaDescriptor/termStateDescr indAudTerminationStateDescriptor
|
|
|
|
IndAudSignal/signalName iASignalName
|
|
|
|
IndAudSeqSigList/signalList iASignalList
|
|
|
|
IndAudSignalsDescriptor/signal indAudSignal
|
|
|
|
IndAudSignalsDescriptor/seqSigList indAudSeqSigList
|
2012-06-05 10:54:21 +00:00
|
|
|
IndAudTerminationStateDescriptor/serviceState iATSDServiceState
|
2004-10-12 23:40:51 +00:00
|
|
|
IndAudStreamParms/remoteDescriptor iASPRemoteDescriptor
|
|
|
|
PropertyParm/value propertyParamValue
|
|
|
|
IndAudMediaDescriptor/streams indAudMediaDescriptorStreams
|
|
|
|
AmmRequest/terminationID terminationIDList
|
|
|
|
AmmsReply/terminationID terminationIDList
|
2012-06-05 10:54:21 +00:00
|
|
|
AmmDescriptor/statisticsDescriptor aDstatisticsDescriptor
|
|
|
|
AuditReturnParameter/statisticsDescriptor aRPstatisticsDescriptor
|
|
|
|
StreamParms/statisticsDescriptor sPstatisticsDescriptor
|
2004-10-12 23:40:51 +00:00
|
|
|
SubtractRequest/terminationID terminationIDList
|
|
|
|
NotifyRequest/terminationID terminationIDList
|
|
|
|
NotifyReply/terminationID terminationIDList
|
|
|
|
ServiceChangeRequest/terminationID terminationIDList
|
|
|
|
ServiceChangeReply/terminationID terminationIDList
|
2006-09-04 18:10:14 +00:00
|
|
|
IndAudStatisticsDescriptor/statName iAStatName
|
2007-11-07 21:22:25 +00:00
|
|
|
EventParameter/extraInfo eventPar_extraInfo
|
|
|
|
PropertyParm/extraInfo propParm_extraInfo
|
|
|
|
ContextRequest/iepscallind iepscallind_BOOL
|
2008-01-13 16:07:52 +00:00
|
|
|
TransactionRequest/transactionId transactionId
|
|
|
|
SegmentReply/transactionId seg_rep_transactionId
|
|
|
|
TransactionReply/transactionId trep_transactionId
|
|
|
|
TransactionPending/transactionId tpend_transactionId
|
2012-03-13 13:26:13 +00:00
|
|
|
EventParameterV1/value event_param_value
|
|
|
|
SigParameterV1/value sig_param_value
|
|
|
|
AuditReplyV1/auditResult audit_result
|
2012-06-05 10:54:21 +00:00
|
|
|
|
2020-12-16 14:13:31 +00:00
|
|
|
#.FIELD_ATTR
|
|
|
|
IP4Address/address ABBREV=iP4Address
|
|
|
|
IP6Address/address ABBREV=iP6Address
|
|
|
|
TransactionRequest/transactionId ABBREV=transactionRequest.transactionId
|
|
|
|
SegmentReply/transactionId ABBREV=segmentreply.transactionId
|
|
|
|
TransactionReply/transactionId ABBREV=transactionreply.transactionId
|
|
|
|
TransactionPending/transactionId ABBREV=transactionpending.transactionId
|
|
|
|
DomainName/name ABBREV=domainname
|
|
|
|
TerminationID/id ABBREV=terminationId
|
|
|
|
PropertyParm/value ABBREV=propertyParamValue
|
|
|
|
EventParameterV1/value ABBREV=event_param_value
|
|
|
|
SigParameterV1/value ABBREV=sig_param_value
|
2005-05-13 11:16:05 +00:00
|
|
|
|
2005-12-03 11:43:19 +00:00
|
|
|
#.FN_HDR Message
|
2011-05-27 03:06:50 +00:00
|
|
|
curr_info.msg = gcp_msg(actx->pinfo,tvb_raw_offset(tvb),keep_persistent_data);
|
2005-11-02 23:01:15 +00:00
|
|
|
#.END
|
|
|
|
|
2005-12-03 11:43:19 +00:00
|
|
|
#.FN_FTR Message
|
2010-01-17 12:46:00 +00:00
|
|
|
col_add_str(actx->pinfo->cinfo, COL_INFO, gcp_msg_to_str(curr_info.msg,keep_persistent_data));
|
2014-02-26 19:29:17 +00:00
|
|
|
|
2005-12-03 11:43:19 +00:00
|
|
|
if (keep_persistent_data)
|
2016-08-16 10:42:20 +00:00
|
|
|
gcp_analyze_msg(h248_tree, actx->pinfo, tvb, curr_info.msg, &h248_arrel, &ei_h248_errored_command);
|
2005-11-02 23:01:15 +00:00
|
|
|
#.END
|
|
|
|
|
2014-02-26 19:29:17 +00:00
|
|
|
#.FN_BODY Message/version VAL_PTR = &h248_version
|
2009-09-10 05:57:30 +00:00
|
|
|
%(DEFAULT_BODY)s
|
|
|
|
#.END
|
|
|
|
|
2005-12-03 11:43:19 +00:00
|
|
|
#.FN_BODY TransactionRequest/transactionId
|
|
|
|
guint32 trx_id = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_h248_trx_id(implicit_tag, actx->pinfo, tree, tvb, offset, &trx_id);
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.trx = gcp_trx(curr_info.msg, trx_id, GCP_TRX_REQUEST, keep_persistent_data);
|
2005-12-06 19:47:22 +00:00
|
|
|
error_code = 0;
|
2005-11-02 23:01:15 +00:00
|
|
|
#.END
|
|
|
|
|
2008-01-13 16:07:52 +00:00
|
|
|
#.FN_BODY TransactionPending/transactionId
|
|
|
|
guint32 trx_id = 0;
|
|
|
|
offset = dissect_h248_trx_id(implicit_tag, actx->pinfo, tree, tvb, offset, &trx_id);
|
|
|
|
curr_info.trx = gcp_trx(curr_info.msg, trx_id, GCP_TRX_PENDING, keep_persistent_data);
|
|
|
|
error_code = 0;
|
|
|
|
|
2014-02-26 19:29:17 +00:00
|
|
|
#.FN_BODY TransactionReply/transactionId
|
2008-01-13 16:07:52 +00:00
|
|
|
guint32 trx_id = 0;
|
|
|
|
offset = dissect_h248_trx_id(implicit_tag, actx->pinfo, tree, tvb, offset, &trx_id);
|
|
|
|
curr_info.trx = gcp_trx(curr_info.msg, trx_id, GCP_TRX_REPLY, keep_persistent_data);
|
|
|
|
error_code = 0;
|
|
|
|
|
|
|
|
#.FN_BODY SegmentReply/transactionId
|
|
|
|
guint32 trx_id = 0;
|
|
|
|
offset = dissect_h248_trx_id(implicit_tag, actx->pinfo, tree, tvb, offset, &trx_id);
|
|
|
|
curr_info.trx = gcp_trx(curr_info.msg, trx_id, GCP_TRX_ACK, keep_persistent_data);
|
|
|
|
error_code = 0;
|
|
|
|
|
2005-12-03 11:43:19 +00:00
|
|
|
#.FN_BODY ActionRequest/contextId
|
|
|
|
guint32 ctx_id = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_h248_ctx_id(implicit_tag, actx->pinfo, tree, tvb, offset, &ctx_id);
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.ctx = gcp_ctx(curr_info.msg,curr_info.trx,ctx_id,keep_persistent_data);
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.cmd = NULL;
|
|
|
|
curr_info.term = NULL;
|
2005-11-01 16:28:13 +00:00
|
|
|
#.END
|
|
|
|
|
2008-01-13 16:07:52 +00:00
|
|
|
|
2005-12-03 11:43:19 +00:00
|
|
|
#.FN_FTR ActionReply
|
2007-03-18 21:54:07 +00:00
|
|
|
if (!curr_info.cmd) {
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_REPLY,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
|
|
|
}
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
2005-12-03 11:43:19 +00:00
|
|
|
#.FN_HDR Command/addReq
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_ADD_REQ,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
2005-12-03 11:43:19 +00:00
|
|
|
#.FN_FTR Command/addReq
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.cmd = NULL;
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
2005-12-03 11:43:19 +00:00
|
|
|
#.FN_HDR Command/moveReq
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_MOVE_REQ,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
|
|
|
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
2005-12-03 11:43:19 +00:00
|
|
|
#.FN_FTR Command/moveReq
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.cmd = NULL;
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_HDR Command/modReq
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_MOD_REQ,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-12-03 11:43:19 +00:00
|
|
|
#.END
|
|
|
|
#.FN_FTR Command/modReq
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.cmd = NULL;
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_HDR Command/subtractReq
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_SUB_REQ,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-12-03 11:43:19 +00:00
|
|
|
#.END
|
|
|
|
#.FN_FTR Command/subtractReq
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.cmd = NULL;
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_HDR Command/auditCapRequest
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_AUDITCAP_REQ,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-12-03 11:43:19 +00:00
|
|
|
#.END
|
|
|
|
#.FN_FTR Command/auditCapRequest
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.cmd = NULL;
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
2005-06-06 18:51:05 +00:00
|
|
|
#.FN_HDR Command/auditValueRequest
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_AUDITVAL_REQ,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-12-03 11:43:19 +00:00
|
|
|
#.END
|
|
|
|
#.FN_FTR Command/auditValueRequest
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.cmd = NULL;
|
2005-06-06 18:51:05 +00:00
|
|
|
#.END
|
|
|
|
|
2005-05-13 11:16:05 +00:00
|
|
|
#.FN_HDR Command/notifyReq
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_NOTIFY_REQ,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-12-03 11:43:19 +00:00
|
|
|
#.END
|
|
|
|
#.FN_FTR Command/notifyReq
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.cmd = NULL;
|
2004-10-05 09:18:55 +00:00
|
|
|
#.END
|
2005-05-13 11:16:05 +00:00
|
|
|
|
2006-10-04 15:31:31 +00:00
|
|
|
#.FN_HDR ServiceChangeRequest
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_SVCCHG_REQ,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-12-03 11:43:19 +00:00
|
|
|
#.END
|
2006-10-04 15:31:31 +00:00
|
|
|
#.FN_FTR ServiceChangeRequest
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.cmd = NULL;
|
2005-12-03 11:43:19 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_HDR ContextRequest/topologyReq
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_TOPOLOGY_REQ,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-12-03 11:43:19 +00:00
|
|
|
#.END
|
|
|
|
#.FN_FTR ContextRequest/topologyReq
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.cmd = NULL;
|
2005-12-03 11:43:19 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_HDR ActionRequest/contextAttrAuditReq
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_CTX_ATTR_AUDIT_REQ,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-12-03 11:43:19 +00:00
|
|
|
#.END
|
|
|
|
#.FN_FTR ActionRequest/contextAttrAuditReq
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.cmd = NULL;
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_HDR CommandReply/addReply
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_ADD_REPLY,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_HDR CommandReply/moveReply
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_MOVE_REPLY,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
2005-11-01 16:28:13 +00:00
|
|
|
#.FN_HDR CommandReply/modReply
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_MOD_REPLY,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
2005-11-01 16:28:13 +00:00
|
|
|
#.FN_HDR CommandReply/subtractReply
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_SUB_REPLY,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_HDR CommandReply/notifyReply
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_NOTIFY_REPLY,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
2006-10-04 15:31:31 +00:00
|
|
|
#.FN_HDR ServiceChangeReply
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_SVCCHG_REPLY,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_HDR CommandReply/auditCapReply
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_AUDITCAP_REPLY,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
2009-09-10 05:57:30 +00:00
|
|
|
#.FN_BODY CommandReply/auditCapReply
|
|
|
|
/* h248v1 support */
|
|
|
|
if(h248_version > 1) {
|
|
|
|
%(DEFAULT_BODY)s
|
|
|
|
} else {
|
2012-06-05 10:54:21 +00:00
|
|
|
/* call V1 of the dissector */
|
|
|
|
offset = dissect_h248_AuditReplyV1(implicit_tag, tvb, offset, actx, tree, hf_index);
|
2009-09-10 05:57:30 +00:00
|
|
|
}
|
|
|
|
#.END
|
|
|
|
|
2005-05-13 11:16:05 +00:00
|
|
|
#.FN_HDR CommandReply/auditValueReply
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.cmd = gcp_cmd(curr_info.msg,curr_info.trx,curr_info.ctx,GCP_CMD_AUDITVAL_REPLY,offset,keep_persistent_data);
|
2007-03-18 21:54:07 +00:00
|
|
|
H248_TAP();
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
2009-09-10 05:57:30 +00:00
|
|
|
#.FN_BODY CommandReply/auditValueReply
|
|
|
|
/* h248v1 support */
|
|
|
|
if(h248_version > 1) {
|
|
|
|
%(DEFAULT_BODY)s
|
|
|
|
} else {
|
2012-06-05 10:54:21 +00:00
|
|
|
/* call V1 of the dissector */
|
|
|
|
offset = dissect_h248_AuditReplyV1(implicit_tag, tvb, offset, actx, tree, hf_index);
|
2009-09-10 05:57:30 +00:00
|
|
|
}
|
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_BODY AuditReplyV1
|
|
|
|
/* h248v1 support */
|
|
|
|
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
|
|
|
|
AuditReplyV1_sequence, hf_h248_auditValueReplyV1, ett_h248_AuditReplyV1);
|
|
|
|
#.END
|
|
|
|
|
2005-11-01 16:28:13 +00:00
|
|
|
#.FN_BODY ErrorDescriptor/errorCode
|
2013-09-05 20:55:59 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, &error_code);
|
2013-06-03 03:42:36 +00:00
|
|
|
expert_add_info(actx->pinfo, actx->created_item, &ei_h248_errored_command);
|
2014-02-26 19:29:17 +00:00
|
|
|
|
2006-10-03 17:24:28 +00:00
|
|
|
if (curr_info.cmd) {
|
2007-03-25 21:39:40 +00:00
|
|
|
gcp_cmd_set_error(curr_info.cmd,error_code);
|
2006-10-03 17:24:28 +00:00
|
|
|
} else if (curr_info.trx) {
|
2007-03-25 21:39:40 +00:00
|
|
|
gcp_trx_set_error(curr_info.trx,error_code);
|
2005-12-03 11:43:19 +00:00
|
|
|
}
|
2014-02-26 19:29:17 +00:00
|
|
|
|
2005-11-01 16:28:13 +00:00
|
|
|
return offset;
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
2005-12-06 18:52:17 +00:00
|
|
|
#.FN_HDR TerminationID
|
2021-07-23 19:21:02 +00:00
|
|
|
curr_info.term = wmem_new0(actx->pinfo->pool, gcp_term_t);
|
2007-03-25 21:39:40 +00:00
|
|
|
wild_term = GCP_WILDCARD_NONE;
|
2005-12-06 18:52:17 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_BODY WildcardField
|
|
|
|
tvbuff_t* new_tvb;
|
2007-05-15 05:49:43 +00:00
|
|
|
offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, &new_tvb);
|
2008-01-04 13:39:24 +00:00
|
|
|
tree = proto_item_add_subtree(actx->created_item,ett_wildcard);
|
2012-05-07 22:46:14 +00:00
|
|
|
proto_tree_add_item(tree,hf_h248_term_wild_type,new_tvb,0,1,ENC_BIG_ENDIAN);
|
|
|
|
proto_tree_add_item(tree,hf_h248_term_wild_level,new_tvb,0,1,ENC_BIG_ENDIAN);
|
|
|
|
proto_tree_add_item(tree,hf_h248_term_wild_position,new_tvb,0,1,ENC_BIG_ENDIAN);
|
2005-12-28 19:46:57 +00:00
|
|
|
|
2007-03-25 21:39:40 +00:00
|
|
|
wild_term = tvb_get_guint8(new_tvb,0) & 0x80 ? GCP_WILDCARD_CHOOSE : GCP_WILDCARD_ALL;
|
2009-06-27 13:37:03 +00:00
|
|
|
/* limitation: assume only one wildcard is used */
|
|
|
|
wild_card = tvb_get_guint8(new_tvb,0);
|
2014-02-26 19:29:17 +00:00
|
|
|
|
2005-12-06 18:52:17 +00:00
|
|
|
#.END
|
|
|
|
|
2005-05-13 11:16:05 +00:00
|
|
|
#.FN_BODY TerminationID/id
|
|
|
|
tvbuff_t* new_tvb;
|
2014-05-05 15:37:12 +00:00
|
|
|
h248_term_info_t term_info;
|
|
|
|
|
|
|
|
term_info.wild_card = wild_card;
|
|
|
|
term_info.str = NULL;
|
|
|
|
|
2007-05-15 05:49:43 +00:00
|
|
|
offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, &new_tvb);
|
2014-02-26 19:29:17 +00:00
|
|
|
|
2006-03-10 22:01:10 +00:00
|
|
|
if (new_tvb) {
|
2014-10-29 15:27:42 +00:00
|
|
|
curr_info.term->len = tvb_reported_length(new_tvb);
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.term->type = 0; /* unknown */
|
2006-03-10 22:01:10 +00:00
|
|
|
|
2014-05-05 15:37:12 +00:00
|
|
|
if (h248_term_handle) {
|
|
|
|
call_dissector_with_data(h248_term_handle, new_tvb, actx->pinfo, tree, &term_info);
|
|
|
|
wild_card = 0xFF;
|
|
|
|
}
|
|
|
|
|
2006-10-03 17:24:28 +00:00
|
|
|
if (curr_info.term->len) {
|
2021-07-23 19:21:02 +00:00
|
|
|
curr_info.term->buffer = (guint8 *)tvb_memdup(actx->pinfo->pool,new_tvb,0,curr_info.term->len);
|
2014-05-05 15:37:12 +00:00
|
|
|
if(term_info.str){
|
2021-07-23 19:21:02 +00:00
|
|
|
curr_info.term->str = wmem_strdup_printf(actx->pinfo->pool, "%s %s",
|
2021-07-29 01:21:35 +00:00
|
|
|
bytes_to_str_punct(actx->pinfo->pool,curr_info.term->buffer,curr_info.term->len, 0),
|
2014-05-05 15:37:12 +00:00
|
|
|
term_info.str);
|
|
|
|
}else{
|
2021-07-29 01:21:35 +00:00
|
|
|
curr_info.term->str = bytes_to_str_punct(actx->pinfo->pool,curr_info.term->buffer,curr_info.term->len, 0);
|
2014-05-05 15:37:12 +00:00
|
|
|
}
|
2006-03-10 22:01:10 +00:00
|
|
|
}
|
|
|
|
|
2014-05-05 15:37:12 +00:00
|
|
|
|
2007-03-25 21:39:40 +00:00
|
|
|
curr_info.term = gcp_cmd_add_term(curr_info.msg, curr_info.trx, curr_info.cmd, curr_info.term, wild_term, keep_persistent_data);
|
2006-03-10 22:01:10 +00:00
|
|
|
|
|
|
|
} else {
|
2006-10-03 17:24:28 +00:00
|
|
|
curr_info.term->len = 0;
|
2021-07-23 19:21:02 +00:00
|
|
|
curr_info.term->buffer = (guint8*)wmem_strdup(actx->pinfo->pool, "");
|
|
|
|
curr_info.term->str = wmem_strdup(actx->pinfo->pool, "?");
|
2005-06-20 21:21:06 +00:00
|
|
|
}
|
2005-05-13 11:16:05 +00:00
|
|
|
#.END
|
|
|
|
|
2006-11-07 19:25:59 +00:00
|
|
|
#.FN_BODY SCreasonValueOctetStr VAL_PTR = ¶meter_tvb
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
%(DEFAULT_BODY)s
|
|
|
|
|
|
|
|
if (!parameter_tvb)
|
|
|
|
return offset;
|
|
|
|
|
2007-05-13 20:58:29 +00:00
|
|
|
dissect_h248_ServiceChangeReasonStr(FALSE, parameter_tvb, 0, actx, tree, hf_h248_serviceChangeReasonStr);
|
2009-09-10 05:57:30 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_BODY EventParameter
|
|
|
|
/* H248 v1 support */
|
2012-03-13 13:26:13 +00:00
|
|
|
if (h248_version > 1) {
|
2009-09-10 05:57:30 +00:00
|
|
|
%(DEFAULT_BODY)s
|
|
|
|
} else {
|
2012-06-05 10:54:21 +00:00
|
|
|
offset = dissect_h248_EventParameterV1( implicit_tag, tvb, offset, actx, tree, hf_index);
|
2009-09-10 05:57:30 +00:00
|
|
|
}
|
|
|
|
#.END
|
|
|
|
|
2010-01-21 06:39:25 +00:00
|
|
|
#.FN_BODY SigParameter
|
|
|
|
/* H248 v1 support */
|
2012-06-05 10:54:21 +00:00
|
|
|
if (h248_version > 1) {
|
2009-09-10 05:57:30 +00:00
|
|
|
%(DEFAULT_BODY)s
|
|
|
|
} else {
|
2012-06-05 10:54:21 +00:00
|
|
|
offset = dissect_h248_SigParameterV1( implicit_tag, tvb, offset, actx, tree, hf_index);
|
2009-09-10 05:57:30 +00:00
|
|
|
}
|
|
|
|
#.END
|
2006-11-07 19:25:59 +00:00
|
|
|
|
2005-02-03 21:56:59 +00:00
|
|
|
#.TYPE_ATTR
|
|
|
|
IP4Address/address TYPE = FT_IPv4 DISPLAY = BASE_NONE STRINGS = NULL
|
|
|
|
IP6Address/address TYPE = FT_IPv6 DISPLAY = BASE_NONE STRINGS = NULL
|
2005-05-20 19:38:24 +00:00
|
|
|
ActionRequest/contextId TYPE = FT_UINT32 DISPLAY = BASE_HEX STRINGS = NULL
|
|
|
|
ActionReply/contextId TYPE = FT_UINT32 DISPLAY = BASE_HEX STRINGS = NULL
|
2013-09-05 20:55:59 +00:00
|
|
|
ErrorDescriptor/errorCode TYPE = FT_UINT32 DISPLAY = BASE_DEC|BASE_EXT_STRING STRINGS = &h248_reasons_ext
|