User`s guide

Dialogic
®
System Release 6.0 PCI for Windows
®
Release Update, Rev 62 — January 30, 2008 209
Dialogic Corporation
gc_util_insert_parm_val(&t_pParmBlk, GCSET_SUPP_XFER, GCPARM_PRIMARYCALL_CRN,
sizeof(unsigned long), session[channelPrimary].crn);
t_gclibmakecallblk.ext_datap = t_pParmBlk;
t_gclibmakecallblk.destination = session[channelPrimary].rerouting_addrblk;
int frc = gc_MakeCall(session[channelXfer].ldev, &session[channelXfer].crn,
NULL, &t_gcmakecallblk, 0, EV_ASYNC);
if((GC_SUCCESS != frc) ||(0 == session[channelXfer].crn))
{
printf("GC_APP : [%d] Gc_MakeCall failed: : crn 0x%lx\n", channelXfer,
session[channelXfer].crn);
PrintGCError(session[channelXfer].ldev);
}
gc_util_delete_parm_blk(t_pParmBlk);
return GC_SUCCESS;
}
1.51.4 SIP Variances for Call Transfer Functions
1.51.4.1 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 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.
1.51.4.2 gc_AcceptXfer( ) 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.
The parmblkp parameter is ignored for IP technology and should be set to NULL.
The gc_AcceptXfer( ) function can be used at party B only after receiving a
GCEV_REQ_XFER event. The application can obtain information on the rerouting
number or address in a GC_REROUTING_INFO data structure dereferenced from the
extevtdatap in the METAEVENT structure.
Both the rerouting_num (type char *) and the rerouting_addr (type
GCLIB_ADDRESS_BLK) fields of the GC_REROUTING_INFO structure contain the
same rerouting address string that was explicitly signaled from party A in SIP call transfers
or H.450.2 blind call transfers, or from party C via gc_AcceptInitXfer( ) in H.450.2
supervised call transfers. The rerouting number to be used in the subsequent