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.

Termination Events<br />

None<br />

Cautions<br />

retrieve information associated with the call — gc_Get<strong>Call</strong>Info( )<br />

Table 6. gc_Get<strong>Call</strong>Info( ) info_id Parameter ID Definitions (Continued)<br />

info_id Parameter Definition Technology<br />

ORIGINATION_ADDRESS Request the calling party address<br />

(for example, ANI).<br />

PRESENT_RESTRICT The calling party presentation<br />

restriction:<br />

0 – presentation allowed<br />

1 – presentation restricted<br />

2 – address not available<br />

(national use only)<br />

U_IES Unformatted user-to-user<br />

Information Elements (IEs) retrieved<br />

in CCITT format. The application<br />

needs to allocate sufficient memory<br />

(up to 256 bytes) to hold the<br />

retrieved IEs. The IEs are returned<br />

as raw data and must be parsed and<br />

interpreted by the application. Use<br />

the GC_IE_BLK data structure to<br />

retrieve unprocessed IEs.<br />

See also the Dialogic ® <strong>Global</strong> <strong>Call</strong><br />

ISDN Technology Guide for DPNSSrelated<br />

IEs.<br />

UUI User-to-User Information. See also<br />

the Dialogic ® <strong>Global</strong> <strong>Call</strong> ISDN<br />

Technology Guide for technologyspecific<br />

information.<br />

E1 CAS, T1 Robbed Bit,<br />

Analog, ISDN PRI,<br />

SS7†, IP<br />

An incoming Information Element (IE) is not accepted until the existing IE is read by the<br />

application. A GCEV_NOUSRINFOBUF event is sent to the application.<br />

Multiple IEs in the same message - only happens to Network Specific Facility IE. When it<br />

happens, the library stores all IEs. If the combination of IEs is longer than the storage capacity,<br />

the library discards the overflow IEs and issues a GCEV_NOFACILITYBUF event to the<br />

application.<br />

Ensure that the application verifies that the buffer pointed to by the valuep parameter is large<br />

enough to hold the information requested by the info_id parameter. For ANI and DNIS, the<br />

largest expected string length is defined by GC_ADDRSIZE.<br />

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

Dialogic Corporation<br />

digits<br />

SS7 byte<br />

ISDN string<br />

ISDN string<br />

valuep<br />

Format<br />

† Not supported in all protocols; check your protocol in the Dialogic ® <strong>Global</strong> <strong>Call</strong> Country Dependent Parameters (CDP) for<br />

PDK Protocols Configuration Guide or contact your Dialogic sales representative.<br />

‡ The gc_Get<strong>Call</strong>Info( ) function with an info_id parameter of CONNECT_TYPE should only be called after a<br />

GCEV_CONNECTED or GCEV_MEDIADETECTED event is received.

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

Saved successfully!

Ooh no, something went wrong!