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.

initiate a supervised call transfer — gc_SetupTransfer( )<br />

GCEV_TASKFAIL<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 />

Cautions<br />

The gc_SetupTransfer( ) function can be used only when an active call is in the Connected call<br />

state.<br />

Errors<br />

If this function returns original_crn, &pline->consultation_crn, EV_ASYNC) == -1) {<br />

/* process error return as shown */<br />

gc_ErrorInfo( &gc_error_info );<br />

printf ("Error: gc_SetupTransfer() on device handle: 0x%lx, GC ErrorValue: 0x%hx - %s,<br />

CCLibID: %i - %s, CC ErrorValue: 0x%lx - %s\n",<br />

Dialogic ® <strong>Global</strong> <strong>Call</strong> <strong>API</strong> <strong>Library</strong> <strong>Reference</strong> — January 2008 335<br />

Dialogic Corporation

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

Saved successfully!

Ooh no, something went wrong!