VoiceGuide IVR Software Main Page
Jump to content

Evaluate Expression

Recommended Posts

For some reason this expression isn't working right.

 

Mondays and Friday's we're open 10am - 5:30pm

and

Tues, Wed, Thur we're open 10am to 4pm.

 

The system doesn't seem to be detecting false

to play the closed script.

 

((($RV_DAY >= 2) and ($RV_DAY <= 4)) and (($RV_HOUR >= 10) and ($RV_HOUR <= 16))) or ((($RV_DAY = 1) or ($RV_DAY = 5)) and (($RV_HOUR >= 10) and (($RV_HOUR = 17) and ($RV_MINUTE < 30)) )

Share this post


Link to post

The expression should be:

 

((($RV_DAY >= 2) and ($RV_DAY <= 4)) and (($RV_HOUR >= 10) and ($RV_HOUR < 16))) or ((($RV_DAY = 1) or ($RV_DAY = 5)) and ((($RV_HOUR >= 10) and ($RV_HOUR < 17)) or (($RV_HOUR = 17) and ($RV_MINUTE < 30)))

 

There has been talk about making a "Time Switch" module which will make selection of day/time easier...

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
×