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.

Cautions<br />

Errors<br />

complete the transfer of a call — gc_CompleteTransfer( )<br />

In synchronous mode, after the successful return of the gc_CompleteTransfer( ) function, the<br />

application must call the gc_Release<strong>Call</strong>Ex( ) function for both channels (the consultation call<br />

and the call that was transferred) to return the channels to the Null state.<br />

In asynchronous mode, after receiving the GCEV_COMPLETETRANSFER event, the<br />

application must call the gc_Release<strong>Call</strong>Ex( ) function for both channels (the consultation call<br />

and the call that was transferred) to return the channels to the Null state.<br />

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

{<br />

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

gc_ErrorInfo( &gc_error_info );<br />

printf ("Error: gc_CompleteTransfer() on device handle: 0x%lx,<br />

GC ErrorValue: 0x%hx - %s, 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 91<br />

Dialogic Corporation

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

Saved successfully!

Ooh no, something went wrong!