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.

gc_GetInfoElem( ) — retrieve IEs associated with a line device<br />

Programming Guide. All <strong>Global</strong> <strong>Call</strong> error codes are defined in the gcerr.h file. If the error<br />

returned is technology specific, see the technology-specific error header file(s) for the error<br />

definition (for example, ccerr.h or isdnerr.h file for the ISDN call control library).<br />

Example<br />

#include <br />

#include <br />

#include <br />

#include <br />

#include <br />

#define MAX_QUEUE_SIZE 20<br />

METAEVENT metaevent;<br />

int evt_hdlr()<br />

{<br />

LINEDEV ldev; /* Line device */<br />

CRN crn; /* <strong>Call</strong> <strong>Reference</strong> Number */<br />

GC_IE_BLK ie_blk; /* Information Element */<br />

GC_INFO gc_error_info; /* <strong>Global</strong><strong>Call</strong> error information data */<br />

int retcode; /* Return Code */<br />

retcode = gc_GetMetaEvent(&metaevent);<br />

if (retcode

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

Saved successfully!

Ooh no, something went wrong!