Dialogic Dialogic Global Call IP IP Phone User Manual


 
Dialogic
®
Global Call IP Technology Guide — November 2007 141
Dialogic Corporation
IP-Specific Operations
This alternative response to media session proposals is enabled using the gc_SetConfigData( )
function, passing it a GC_PARM_BLK that includes the following parameter:
IPSET_CONFIG
IPPARM_1PCC_REJECT_VIDEO
value = not used
Once this alternative rejection mode has been enabled, the setting remains in effect until the library
is stopped and the application exits.
The following code snippet illustrates how applications would enable the optional rejection mode:
gc_util_insert_parm_val(&pParmBlock, IPSET_CONFIG, IPPARM_1PCC_REJECT_VIDEO, sizeof(int), 0);
long t = 0;
int rc = gc_SetConfigData(GCTGT_CCLIB_NETIF,
boarddev,
pParmBlock,
0,
GCUPDATE_IMMEDIATE,
&t,
EV_ASYNC);
4.4.6 Configuring Proceeding Message Generation (H.323)
When using the H.323 protocol, the application can configure whether the Proceeding message is
sent under application control (using the gc_CallAck( ) function) or automatically by the stack.
The default behavior is for the stack to send Proceeding automatically.
The generation of the Proceeding message is configured using the gc_SetConfigData( ) function.
To configure the generation of the Proceeding message, the GC_PARM_BLK that is passed to the
function must contain the following parameter element:
GCSET_CALL_CONFIG
GCPARM_CALLPROC
Possible values:
GCCONTROL_APP – The application must use gc_CallAck( ) to send the Proceeding
message. This is the default.
GCCONTROL_TCCL – The stack sends the Proceeding message automatically.
4.5 Retrieving Current Call-Related Information
To support large numbers of channels, the Dialogic
®
Global Call API library must perform all
operations in asynchronous mode. To support this, an extension function variant allows the retrieval
of a parameter as an asynchronous operation.
The retrieval of call-related information is a four step process:
1. Set up a GC_PARM_BLK that identifies which information is to be retrieved. The
GC_PARM_BLK includes GC_PARM_DATA blocks. The GC_PARM_DATA blocks specify
only the Set_ID and Parm_ID fields, that is, the value_size field is set to 0. The list of
GC_PARM_DATA blocks indicate to the call control library the parameters to be retrieved.