08.01.2013 Views

Dialogic® Global Call API Library Reference

Dialogic® Global Call API Library Reference

Dialogic® Global Call API Library Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Parameter Description<br />

ret_rerouting_<br />

infopp<br />

not used in IP; should be set to NULL<br />

mode set to EV_ASYNC for asynchronous execution<br />

initiate a supervised transfer — gc_InitXfer( )<br />

After receiving GCEV_INIT_XFER to indicate that the initiate transfer request was successful, the<br />

application at party A can obtain the rerouting destination number or address from extevtdatap in<br />

the METAEVENT data structure associated with the GCEV_INIT_XFER event. This rerouting<br />

destination number or address can be used in the subsequent gc_InvokeXfer( ) function that<br />

invokes the call transfer. The application does not need to allocate or deallocate the extevtdatap.<br />

Termination Events<br />

GCEV_INIT_XFER<br />

indicates that the gc_InitXfer( ) function was successful (implies that the request was<br />

accepted by remote party C)<br />

GCEV_INIT_XFER_FAIL<br />

indicates that the function failed. For more information, see the “Error Handling” section in<br />

the Dialogic ® <strong>Global</strong> <strong>Call</strong> <strong>API</strong> Programming Guide.<br />

GCEV_INIT_XFER_REJ<br />

indicates that the initiate transfer request was successfully invoked by party A via the<br />

gc_InitXfer( ) function, but the request was rejected by remote party C<br />

Cautions<br />

Errors<br />

For supervised call transfer, gc_InitXfer( ) must be called before gc_InvokeXfer( ).<br />

The gc_InitXfer( ) function can be called only when the call is in the GCST_CONNECTED<br />

call state.<br />

After receiving GCEV_INIT_XFER_FAIL or GCEV_INIT_XFER_REJ, the application<br />

should not call the gc_InvokeXfer( ) function to invoke the call transfer.<br />

If this function returns

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!