VoiceGuide IVR Software Main Page
Jump to content

Path On "no Wav File"

Recommended Posts

Sometime ago I asked if no wav file was found what would happen. The response was that the system would error out.

 

Would it be possible to have a path "on play error" instead. So for example, if VG did not find the wav file specified in the specified location, a path could be taken rather than a script error and stopping VG's script all together?

 

In our current (old) IVR system, I have used this as a technique (intentionally) quite often to determine different conditions and if the wav file is missing the script takes a different path.

 

Basically we have paths that are: On Play Finished, On Play Terminated (caller inputs a number), On Play Error, etc.... Our old system actually treats a play error as an event (result or condition).

 

Would this be possible. I am looking to replace our current system with VG but I need to rewrite our scripts for VG and would like to keep much of the same "logic" and controls as we have had success with in the past. This would keep my databases, client setups, etc the same and allow me to parallel the two systems in operation until everthing is switched over. It also would speed up my rewrite since the flow would be the same.

 

Thanks in advance.

Share this post


Link to post

Script would not 'error out' if file is not found. It would play a "Sound file could not be found" message.

 

If the sound file was of incorrect format then VG would play "Error playing this file" message. You can however intercept this error using this path:

 

On {WAVERR_BADFORMAT} goto ...

 

You can try updating your installation of v5.2.3 of VG with the attached .EXE - it should allow you to use a

 

On {ERR_NOTFOUND} goto ...

 

path - which if defined will be taken if a sound file cannot be found.

VgMulti_5.2.3038.zip

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×