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.

# ca_pamd_minring<br />

# ca_pamd_spdval<br />

# ca_pamd_qtemp<br />

# ca_noanswer<br />

# ca_maxintering<br />

set voice parameters associated with a line device — gc_LoadDxParm( )<br />

A voice parameter file contains parameter definition lines and may contain comment lines. Each<br />

parameter definition line comprises a case-sensitive voice parameter as the first field of the line, a<br />

space, and a second field defining the parameter value.<br />

A comment line begins with either of the following characters:<br />

# character<br />

; character<br />

The gc_LoadDxParm( ) function will return upon the first detected error. The reason for the error<br />

will be stored in the msgbufferp location. Typical error reasons are:<br />

a parsing error (in the .dxp file)<br />

a low-level function call error<br />

an open file failure error<br />

Note: Not all errors can be detected by the gc_LoadDxParm( ) function. Errors in the value of the voice<br />

call analysis parameters in the DX_CAP structure cannot be detected until a call is set up by the<br />

gc_Make<strong>Call</strong>( ) function.<br />

All channel-level parameters set by the voice function, dx_setparm( ), can be set using the<br />

gc_LoadDxParm( ) function. <strong>Global</strong> <strong>Call</strong> uses the dx_setparm( ) parameter names to identify all<br />

voice channel-level parameters:<br />

DXCH_DFLAGS<br />

DXCH_DTINITSET<br />

DXCH_DTMFDEB<br />

DXCH_DTMFTLK<br />

DXCH_MAXRWINK<br />

DXCH_MFMODE<br />

DXCH_MINRWINK<br />

DXCH_PLAYDRATE<br />

DXCH_RECRDRATE<br />

DXCH_RINGCNT (Not used. The default number of rings parameter in the .cdp file sets this<br />

parameter value.)<br />

DXCH_WINKDLY<br />

DXCH_WINKLEN<br />

Also see the Dialogic ® Voice <strong>API</strong> <strong>Library</strong> <strong>Reference</strong> for a description of these parameters.<br />

The gc_LoadDxParm( ) function supports all basic and enhanced call progress fields defined in<br />

the DX_CAP data structure. The parameter value may be entered as a decimal value or as a<br />

hexadecimal value when prefixed with a “0x”. The call analysis parameters defined in the<br />

DX_CAP data structure affect the gc_Make<strong>Call</strong>( ) function. <strong>Global</strong> <strong>Call</strong> uses the DX_CAP data<br />

structure names to identify all call progress parameters:<br />

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

Dialogic Corporation

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

Saved successfully!

Ooh no, something went wrong!