1 # T.124/GCC-PROTOCOL.cnf
2 # Copyright 2011 Graeme Lunt
3 #----------------------------------------------------------------------------------------
5 #----------------------------------------------------------------------------------------
20 ConferenceLockResponse
21 ConferenceLockIndication
22 ConferenceUnlockResponse
23 ConferenceUnlockIndication
24 ConferenceTerminateResponse
25 ConferenceTerminateIndication
26 ConferenceEjectUserResponse
27 ConferenceEjectUserIndication
28 ConferenceTransferResponse
29 ConferenceTransferIndication
30 RosterUpdateIndication
31 ApplicationInvokeIndication
32 RegistryMonitorEntryIndication
33 RegistryAllocateHandleResponse
35 ConductorAssignIndication
36 ConductorReleaseIndication
37 ConductorPermissionAskIndication
38 ConductorPermissionGrantIndication
39 ConferenceTimeRemainingIndication
40 ConferenceTimeInquireIndication
41 ConferenceTimeExtendIndication
42 ConferenceAssistanceIndication
44 FunctionNotSupportedResponse
50 ApplicationInvokeSpecifier
63 ConferenceUnlockRequest
64 ConferenceTerminateRequest
65 ConferenceEjectUserRequest
66 ConferenceTransferRequest
67 RegistryRegisterChannelRequest
68 RegistryAssignTokenRequest
69 RegistrySetParameterRequest
70 RegistryRetrieveEntryRequest
71 RegistryDeleteEntryRequest
72 RegistryMonitorEntryRequest
73 RegistryAllocateHandleRequest
78 RegistryModificationRights
80 ChannelAggregationMethod
90 ExtendedE164NetworkAddress
93 #----------------------------------------------------------------------------------------
96 #----------------------------------------------------------------------------------------
100 ConferenceQueryResponse/result QueryResponseResult
101 ConferenceJoinResponse/result JoinResponseResult
102 ConferenceInviteResponse/result InviteResponseResult
105 ConferenceCreateRequest/userData userData-set-of
106 ConferenceCreateResponse/userData userData-set-of
107 ConferenceQueryRequest/userData userData-set-of
108 ConferenceQueryResponse/userData userData-set-of
109 ConferenceJoinRequest/userData userData-set-of
110 ConferenceJoinResponse/userData userData-set-of
111 ConferenceInviteRequest/userData userData-set-of
112 ConferenceInviteResponse/userData userData-set-of
113 #ConferenceAddRequest/userData userData-set-of
114 #ConferenceAddResponse/userData userData-set-of
115 #ConferenceAssistanceIndication/userData userData-set-of
117 #.FN_BODY ConnectData/connectPDU VAL_PTR = &next_tvb
118 tvbuff_t *next_tvb = NULL;
119 proto_tree *next_tree = NULL;
125 /* "2a -> ConnectData::connectPDU length = 42 bytes */
126 /* This length MUST be ignored by the client." */
128 /* Not sure why - but lets ignore the length. */
129 /* We assume the OCTET STRING is all of the remaining bytes */
131 if(tvb_reported_length(next_tvb) == 42) {
132 /* this is perhaps a naive ... */
133 next_tvb = tvb_new_subset_remaining(tvb, (old_offset>>3)+1);
136 next_tree = proto_item_add_subtree(actx->created_item, ett_t124_connectGCCPDU);
138 dissect_t124_ConnectGCCPDU(next_tvb, 0, actx, next_tree, hf_t124_connectGCCPDU);
143 #.FN_BODY UserData/_item/value VAL_PTR = &next_tvb
144 tvbuff_t *next_tvb = NULL;
145 tvbuff_t *t124NSIdentifier = (tvbuff_t*)actx->private_data;
150 if(next_tvb && t124NSIdentifier) {
152 ns = tvb_get_string_enc(actx->pinfo->pool, t124NSIdentifier, 0, tvb_reported_length(t124NSIdentifier), ENC_ASCII|ENC_NA);
154 dissector_try_string_with_data(t124_ns_dissector_table, ns, next_tvb, actx->pinfo, top_tree, false, NULL);
160 #.FN_BODY SendDataRequest/userData VAL_PTR = &next_tvb
161 tvbuff_t *next_tvb = NULL;
167 dissector_try_uint_with_data(t124_sd_dissector_table, channelId, next_tvb, actx->pinfo, top_tree, false, NULL);
173 #.FN_BODY SendDataIndication/userData VAL_PTR = &next_tvb
174 tvbuff_t *next_tvb = NULL;
180 dissector_try_uint(t124_sd_dissector_table, channelId, next_tvb, actx->pinfo, top_tree);
187 #.FN_BODY DomainMCSPDU VAL_PTR = &domainmcs_value
191 switch(domainmcs_value) {
192 case 25: /* sendDataRequest */
193 case 26: /* sendDataIndication */
194 case 27: /* uniformSendDataRequest */
195 case 28: /* uniformSendDataIndication */
199 col_prepend_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ",
200 val_to_str_const(domainmcs_value, t124_DomainMCSPDU_vals, "Unknown"));
207 FN_VARIANT = _str VAL_PTR = &actx->external.direct_reference
209 #.FN_PARS H221NonStandardIdentifier
210 VAL_PTR = (tvbuff_t**)&actx->private_data
212 #.FN_BODY H221NonStandardIdentifier
217 #.FN_BODY ChannelId VAL_PTR = &channelId
221 if(hf_index == hf_t124_channelId_03)
222 col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%d", channelId);
232 #----------------------------------------------------------------------------------------
236 #----------------------------------------------------------------------------------------
237 # vim:set ts=4 sts=2 sw=2: