Dialogic Dialogic Global Call IP IP Phone User Manual


 
Dialogic
®
Global Call IP Technology Guide — November 2007 483
Dialogic Corporation
The following are the relevant function parameters:
target_type
GCTGT_CCLIB_NETIF
target_id
IPT board device
datap
pointer to GC_PARM_BLK with additional response information
Because some of the data may be protocol specific (in future releases), there is a facility to set the
protocol type using the following IP parameter element in the GC_PARM_BLK, datap:
IPSET_PROTOCOL
IPPARM_PROTOCOL_BITMASK
and one of the following parameter data values:
IP_PROTOCOL_H323
IP_PROTOCOL_SIP
IP_PROTOCOL_H323 | IP_PROTOCOL_SIP
Note: The default value for the protocol when not specified by the application is IP_PROTOCOL_H323.
The GCEV_SERVICEREQ event indicates that a service has been requested by an H.323
gatekeeper or a SIP registrar. The event is received on an IPT board device handle. The event data
includes a specification of the protocol used in the following parameter element:
IPSET_PROTOCOL
IPPARM_PROTOCOL_BITMASK
and one of the following parameter data values:
IP_PROTOCOL_H323
IP_PROTOCOL_SIP
8.3.24 gc_SetAlarmParm( ) Variances for IP
The gc_SetAlarmParm( ) function can be used to set QoS threshold values. The function
parameter values in this context are:
linedev
The media device handle, retrieved using the gc_GetResourceH( ) function. See
Section 4.21.2, “Retrieving the Media Device Handle”, on page 264 for more information.
aso_id
The alarm source object ID. Set to ALARM_SOURCE_ID_NETWORK_ID.
ParmSetID
Must be set to ParmSetID_qosthreshold_alarm.
alarm_parm_list
A pointer to an ALARM_PARM_FIELD structure. The alarm_parm_number field is not used.
The alarm_parm_data field is of type GC_PARM, which is a union. In this context, the type
used is void *pstruct, and is cast as a pointer to an IPM_QOS_THRESHOLD_INFO structure,
which includes an IPM_QOS_THRESHOLD_DATA structure that contains the parameters
representing threshold values. See the IPM_QOS_THRESHOLD_INFO data structure pages