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.

Termination Events<br />

request the remote side to return ANI — gc_ReqANI( )<br />

GCEV_REQANI<br />

indicates successful completion of the function, that is, the requested ANI information was<br />

returned.<br />

GCEV_TASKFAIL<br />

indicates that the function failed. See the “Error Handling” section in the Dialogic ® <strong>Global</strong><br />

<strong>Call</strong> <strong>API</strong> Programming Guide.<br />

Note: A GCEV_DISCONNECTED event is an unsolicited event that may be reported to the application<br />

after a gc_ReqANI( ) function is issued.<br />

Cautions<br />

Errors<br />

Ensure that anibuf buffer is at least as large as GC_ADDRSIZE bytes. Currently, ANI-on-<br />

Demand is available only on the AT&T ISDN network.<br />

If this function is invoked for an unsupported technology, the function will fail. The error value<br />

EGC_UNSUPPORTED will be the <strong>Global</strong> <strong>Call</strong> value returned when the gc_ErrorInfo( )<br />

function is used to retrieve the error code.<br />

The gc_ReqANI( ) function may not be supported in all service-provider environments. Check<br />

whether retrieving billing information is an available option from your service provider.<br />

If this function returns

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

Saved successfully!

Ooh no, something went wrong!