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.

GC_PARM_DATA_EXT<br />

retrieved parameter data<br />

typedef struct<br />

{<br />

unsigned long version;<br />

void* pInternal;<br />

unsigned long set_ID;<br />

unsigned long parm_ID;<br />

unsigned long data_size;<br />

void* pData;<br />

}GC_PARM_DATA_EXT, *GC_PARM_DATA_EXTP;<br />

Description<br />

retrieved parameter data — GC_PARM_DATA_EXT<br />

The GC_PARM_DATA_EXT structure contains parameter data retrieved from a GC_PARM_BLK<br />

by the gc_util_find_parm_ex( ) and gc_util_next_parm_ex( ) functions. These functions were<br />

added to the Dialogic ® <strong>Global</strong> <strong>Call</strong> <strong>API</strong> library to support the retrieval of parameters whose values<br />

may exceed 255 bytes in length. The functions always return the retrieved parameter information in<br />

a GC_PARM_DATA_EX structure regardless of whether the parameter value actually exceeds 255<br />

bytes.<br />

The set ID and parm ID as a pair identify the parameter. Set IDs and parm IDs that are common to<br />

multiple <strong>Global</strong> <strong>Call</strong> technologies are listed in the <strong>Dialogic®</strong> <strong>Global</strong> <strong>Call</strong> <strong>API</strong> <strong>Library</strong> <strong>Reference</strong>,<br />

and additional technology-specific parameters are listed in each of the various <strong>Global</strong> <strong>Call</strong><br />

Technology Guides. Unless a particular set ID/parm IP pair specifically indicates that it supports<br />

parameter data that exceeds 255 bytes in length, users should assume that the parameter data length<br />

does not exceed 255.<br />

The parameters that currently support extended-length values include:<br />

IPSET_MIME (or IPSET_MIME_200OK_TO_BYE) / IPPARM_MIME_PART_HEADER<br />

IPSET_MIME (or IPSET_MIME_200OK_TO_BYE) / IPPARM_MIME_PART_TYPE<br />

IPSET_NONSTANDARDCONTROL / IPPARM_NONSTANDARDDATA_DATA<br />

IPSET_NONSTANDARDDATA / IPPARM_NONSTANDARDDATA_DATA<br />

IPSET_SDP / all four parameter IDs (supported in 3PCC operating mode only)<br />

IPSET_SIP_MSGINFO / IPPARM_SIP_HDR<br />

IPSET_TUNNELEDSIGNALMSG / IPPARM_TUNNELEDSIGNALMSG_DATA<br />

Applications must use the INIT_GC_PARM_DATA_EXT( ) function to initialize the structure<br />

with the correct version number and default field values before using the structure in a call to<br />

gc_util_find_parm_ex( ) or gc_util_next_parm_ex( ). Passing a pointer to an uninitialized<br />

structure in the function call may cause an operational error.<br />

Field Descriptions<br />

The fields of GC_PARM_DATA_EXT are described as follows:<br />

version<br />

identifies the version of the data structure implementation. This field is reserved for library use<br />

and should not be modified by applications.<br />

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

Dialogic Corporation

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

Saved successfully!

Ooh no, something went wrong!