I'm wanting to play a wav file thru my voice modem before I hang up... on callers that unidentified. I know how to and have my script for unidentifed callers, but would like to say a few words before I hang up on them.
How can I do this?
Thanks,
JT
How to write a script to play a wav file?
Re: How to write a script to play a wav file?
Hi JT,
To play a sound through the modem, use the PhoneSound command in an advanced script. You will have to use it before the HangUp command, of course. You will probably have to reformat your wave file as PCM 8.000 kHz, 16 Bit, Mono -- you can do this in Sound Recorder, which is included with Windows.
So, for example, your unidentified caller script might look like this:
I recommend using the latest beta version of Ascendis Caller ID, as we made some improvements in this area recently.
If I misunderstood your question, please clarify.
Finest regards,
Bill Root
Ascendis Software
To play a sound through the modem, use the PhoneSound command in an advanced script. You will have to use it before the HangUp command, of course. You will probably have to reformat your wave file as PCM 8.000 kHz, 16 Bit, Mono -- you can do this in Sound Recorder, which is included with Windows.
So, for example, your unidentified caller script might look like this:
Code: Select all
//LANGUAGE=DWS
PhoneSound('Disconnect Tones.wav');
Hangup;
If I misunderstood your question, please clarify.
Finest regards,
Bill Root
Ascendis Software