Dialogic Dialogic Global Call IP IP Phone User Manual


 
252
Dialogic Corporation
}
else
{
gc_util_insert_parm_ref(&gcParmBlk,
IPSET_TUNNELEDSIGNALMSG,
IPPARM_TUNNELEDSIGNALMSG_PROTOCOL_OBJECTID,
(unsigned char)sizeof(IP_TUNNELPROTOCOL_OBJECTID),
&tsmTpObjId);
/* Note the use of the extended gc_util function because TSM data may exceed 255 bytes */
gc_util_insert_parm_ref_ex(&gcParmBlk,
IPSET_TUNNELEDSIGNALMSG,
IPPARM_TUNNELEDSIGNALMSG_CONTENT,
(unsigned char)(strlen(pMsgContent)+1),
pMsgContent);
/* Now fill in the Tunneled Signaling message Non Standard data fields, if used */
/* Note the use of the extended gc_util function because NSD data may exceed 255 bytes */
gc_util_insert_parm_ref_ex(&gcParmBlk,
IPSET_TUNNELEDSIGNALMSG,
IPPARM_TUNNELEDSIGNALMSG_NSDATA_DATA,
(unsigned char)(strlen(ptsmNSData_Data)+1),
ptsmNSData_Data);
if (choiceOfNSData)
/* App decides the CHOICE of Non Standard OBJECTIDENTIFIER. */
/* It cannot set both objid & H221 */
{
// Set the NS Object ID
gc_util_insert_parm_ref(&gcParmBlk,
IPSET_TUNNELEDSIGNALMSG,
IPPARM_TUNNELEDSIGNALMSG_NSDATA_OBJID,
(unsigned char) (strlen(ptsmNSData_Oid)+1),
ptsmNSData_Oid
}
else
{
// Set the H221
gc_util_insert_parm_ref(&gcParmBlk,
IPSET_TUNNELEDSIGNALMSG,
IPPARM_TUNNELEDSIGNALMSG_NSDATA_H221NS,
(unsigned char)sizeof(IP_H221NONSTANDARD),
&tsmH221NS);
4.18.4 Sending Tunneled Signaling Messages
Once the GC_PARM_BLK containing the TSM information has been composed by the
application, the application must pass the parameter block to the call control library to be
transformed into a tunneled message that can be inserted into an H.225 message. The mechanism
used to hand the TSM information to the library varies depending on what Global Call function and
corresponding H.225 message will be used to send the TSM.
Table 16 lists the H.225 message types that can be used to send tunneled signaling messages along
with the corresponding Global Call mechanism that is used set the TSM information and the
Global Call function that is used to send each message type.