This appendix lists the error defines that may be returned for the Voice Library functions.
For error codes returned for SCbus functions and a description of the error, refer to the SCbus Routing Software Reference.
The following table contains the list of errors that can be returned using the ATDV_LASTERR( ) and ATDV_ERRMSGP( ) functions
Table 22. Voice Function Errors
Error Define |
Error String |
EDX_AMPLGEN |
Invalid Amplitude Value in Tone Generation Template |
EDX_ASCII |
Invalid ASCII Value in Tone Template Description |
EDX_BADDEV |
Device Descriptor error |
EDX_BADIOTT |
DX_IOTT structure error |
EDX_BADPARM |
Parameter error |
EDX_BADPROD |
Function Not Supported on this Board |
EDX_BADTPT |
DX_TPT structure error |
EDX_BUSY |
Device or channel is Busy |
EDX_CADENCE |
Invalid Cadence Component Values in Tone Template Description |
EDX_CHANNUM |
Invalid Channel Number Specified |
EDX_DIGTYPE |
Invalid Dig_type Value in Tone Template Description |
EDX_FLAGGEN |
Invalid tn_dflag field in Tone Generation Template |
EDX_FREQDET |
Invalid Frequency Component Values in Tone Template Description |
EDX_FREQGEN |
Invalid Frequency Component in Tone Generation Template |
EDX_FWERROR |
Firmware Error |
EDX_IDLE |
Device is Idle |
EDX_INVSUBCMD |
Invalid sub-command number |
EDX_MAXTMPLT |
Max number of Tone Templates Exist or user-defined tones for the board[from r2_creatfsig( )] |
EDX_MSGSTATUS |
Invalid Message Status Setting |
EDX_NOERROR |
No Error |
EDX_NONZEROSIZE |
Reset to Default was Requested but size was non-zero |
EDX_SPDVOL |
Must Specify either SV_SPEEDTBL or SV_VOLUMETBL |
EDX_SVADJBLKS |
Invalid Number of Speed/Volume Adjustment Blocks |
EDX_SVMTRANGE |
An Entry in SV_SVMT was out of Range |
EDX_SVMTSIZE |
Invalid Table Size Specified |
EDX_SYSTEM |
Error from operating system; use dx_fileerrno( ) to obtain error value |
EDX_TIMEOUT |
I/O Function Timed Out |
EDX_TONEID |
Invalid Tone Template ID |
Click here to contact Dialogic Customer Engineering
Copyright 2002, Dialogic Corporation