182 Voice API for Windows Operating Systems Library Reference — November 2003
dx_createtone( ) — create a new tone definition for a specific call progress tone
toneinfo.toneseg[0].tnoff_min = 400; /* Debounce Min. OFF Time */
toneinfo.toneseg[0].tnoff_max = 550; /* Debounce Max. OFF Time */
tonedata.toneseg[0].tn_rep_cnt = 4;
if ((result =
dx_createtone(brdhdl, TID_BUSY1, &tonedata, EV_SYNC)
) == -1) {
printf("create tone for TID_BUSY1 failed\n");
/* Perform system error processing */
exit(1);
}
!
!!
!See Also
dx_deletetone( )
dx_querytone( )