Dialogic Dialogic Global Call IP IP Phone User Manual


 
Dialogic
®
Global Call IP Technology Guide — November 2007 445
Dialogic Corporation
.
/* Append/create GC_PARM_BLK with specified 183 response code*/
gc_util_insert_parm_val(&parmblkp,
IPSET_SIP_RESPONSE_CODE,
IPPARM_ACCEPT_RESP_CODE,
sizeof(unsigned short, &acceptCode);
rc = gc_SetConfigData(GCTGT_CCLIB_NETIF, boardDev, parmblkp, 0,
GCUPDATE_IMMEDIATE, &request_id, EV_ASYNC);
if (rc != GC_SUCCESS)
{
/* handle error */
}
.
.
.
8.3.2 gc_AcceptInitXfer( ) 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.
Variance for H.323 (H.450.2)
Either the rerouting_num (of type char*) or rerouting_addrblkp (of type
GCLIB_ADDRESS_BLK*) fields of the GC_REROUTING_INFO structure can be used to
specify the rerouting address string to be signaled back to party A and its final destination to party
B. The sub_address fields of the GCLIB_ADDRESS_BLK are ignored and not used.
Note: If both fields are used, the rerouting address string will be a concatenation of the information from
both fields.
The GCEV_ACCEPT_INIT_XFER event is received by the application on the
secondary/consultation call CRN once the transferred call is received as notified via the
GCEV_OFFERED event.
If the call transfer is abandoned by parties A or B before the transfer is completed, the
GCEV_ACCEPT_INIT_XFER_FAIL event is received with a CCLIB cause value of
IPEC_H4502CTAbandon and a Dialogic
®
Global Call API cause value of
GCRV_CALLABANDONED.
If the CTT2 timer (20 seconds) expires before the transfer is completed, the
GCEV_ACCEPT_INIT_XFER_FAIL event is received with a CCLIB cause value of
IPEC_H450CTT2Timeout and a Dialogic
®
Global Call API cause value of GCRV_TIMEOUT.
Variance for SIP
This function does not apply to SIP call transfer. In SIP, party A does not notify party C in advance
of requesting an attended (supervised) transfer operation with gc_InvokeXfer( ), so there is no
opportunity for party C to accept or reject the transfer at the initiation stage.