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_AlarmSourceObjectID( ) — return the ASO ID for the current alarm event<br />

Example<br />

#include <br />

#include <br />

#include <br />

#include <br />

METAEVENT metaevent;<br />

unsigned long aso_id;<br />

int rc;<br />

/*<br />

-- This code assumes that the current event is GCEV_ALARM<br />

-- event and that gc_GetMetaEvent() has already been called<br />

-- to place the current event information into metaevent<br />

*/<br />

See Also<br />

None<br />

rc = gc_AlarmSourceObjectID(&metaevent, &aso_id);<br />

if (rc < 0)<br />

{<br />

/* get and process the error */<br />

}<br />

else<br />

{<br />

printf("Alarm source object ID is %d\n", aso_id);<br />

}<br />

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

Dialogic Corporation

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

Saved successfully!

Ooh no, something went wrong!