Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 179
create a new tone definition for a specific call progress tone — dx_createtone( )
dx_createtone( )
create a new tone definition for a specific call progress tone
!
!!
! Description
The dx_createtone( ) function creates a new tone definition for a specific call progress tone. On
successful completion of the function, the TONE_DATA structure is used to create a tone definition
for the specified call progress tone.
Prior to creating a new tone definition with dx_createtone( ), use dx_querytone( ) to get tone
information for that tone, then use dx_deletetone( ) to delete that tone.
Name: int dx_createtone(brdhdl, toneid, *tonedata, mode)
Inputs: int brdhdl
a valid physical board device handle
int toneid
tone ID of the call progress tone
TONE_DATA *tonedata
pointer to the TONE_DATA structure
unsigned short mode
mode
Returns: 0 if successful
-1 if failure
Includes: srllib.h
dxxxlib.h
Category: Call Progress Analysis
Mode: Asynchronous or synchronous
Platform: DM3