Dialogic Dialogic Global Call IP IP Phone User Manual


 
Dialogic
®
Global Call IP Technology Guide — November 2007 455
Dialogic Corporation
8.3.11 gc_GetCTInfo( ) Variances for IP
The gc_GetCTInfo( ) function can be used to retrieve product information (via the CT_DEVINFO
structure) for the media sub-device (ipm) attached to the network device (ipt). If no media device is
associated with the network device, the function returns as though not supported.
8.3.12 gc_GetResourceH( ) Variances for IP
The gc_GetResourceH( ) function can be used to retrieve the media device (ipm device) handle,
which is required by GCAMS functions, such as, gc_SetAlarmParm( ) and gc_GetAlarmParm( )
to set and retrieve QoS threshold values. The function parameter values in this context are:
linedev
the network device, that is, the Dialogic
®
Global Call API line device retrieved by the
gc_OpenEx( ) function
resourcehp
the address where the media device handle is stored when the function completes
resourcetype
GC_MEDIADEVICE
Note: Applications must include the gcipmlib.h header file before Dialogic
®
Global Call API can be
used to set or retrieve QoS threshold values.
The other resource types including GC_NETWORKDEVICE (for a network device),
GC_VOICEDEVICE (for a voice device), and GC_NET_GCLINEDEVICE (to retrieve the
Dialogic
®
Global Call API line device handle when the media handle is known) are also supported.
Note: The GC_VOICEDEVICE option above applies only if the voice device was opened with the line
device or opened separately and subsequently attached to the line device.
8.3.13 gc_GetXmitSlot( ) Variances for IP
The gc_GetXmitSlot( ) function can be used to get the transmit time slot information for an IP
Media device. The function parameter values in this context are:
linedev
The Dialogic
®
Global Call API line device handle for an IP device (that is, the handle returned
by gc_OpenEx( ) for a device with :N_iptBxTy in the devicename parameter and a media
device attached).
sctsinfop
A pointer to the transmit time slot information for the IP Media device (a pointer to a CT Bus
time slot information structure).
8.3.14 gc_InitXfer( ) Variances for IP
This function is only available if the call transfer supplementary service was enabled via the
sup_serv_mask field in the IP_VIRTBOARD structure when the board device was started.