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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

}<br />

See Also<br />

initiate and complete a one-step transfer — gc_BlindTransfer( )<br />

/* Transfer the original call to the consultation call at 993-3000 */<br />

if (gc_BlindTransfer(pline->original_crn, "9933000", NULL, 0, EV_ASYNC) == -1)<br />

{<br />

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

gc_ErrorInfo( &gc_error_info );<br />

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

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

pline-> ldev, gc_error_info.gcValue, gc_error_info.gcMsg,<br />

gc_error_info.ccLibId, gc_error_info.ccLibName,<br />

gc_error_info.ccValue, gc_error_info.ccMsg);<br />

return (gc_error_info.gcValue);<br />

}<br />

/* The gc_Release<strong>Call</strong>Ex() function must be called next on both the<br />

/* consultation_crn and the original_crn to return the local<br />

/* channels to the NULL state. */<br />

return (0);<br />

gc_CompleteTransfer( )<br />

gc_SwapHold( )<br />

gc_SetupTransfer( )<br />

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

Dialogic Corporation

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

Saved successfully!

Ooh no, something went wrong!