VoiceGuide IVR Software Main Page
Jump to content

Stopping Call Forward During Certain Times A Day

Recommended Posts

Team,

Once someone leaves a voicemail and the system calls the "call forward" phone number. Is there a way to turn this feature on and off depending what time of day it is?

 

Thanks.

-Brandon

Share this post


Link to post

Yes.

 

In the voicemail script's (see \system\vm\ directory) the forwarding of voicemail mesasges takes place when this command is called:

 

VG.Vm_Event iLineId, "FORWARD", sVmbId, sVmLmRec, "", ""

 

You just need to modify the VB Scripts to make sure this command will only be called during certian times.

 

dStartTime = #11:00:00 AM#

dEndTime = #6:00:00 PM#

 

if Time >= dStartTime and Time <= dEndTime then

'OK to forward msg

VG.Vm_Event iLineId, "FORWARD", sVmbId, sVmLmRec, "", ""

end if

 

To find all places from where the forwarding occurs its probably best to open all .VGS scripts in a text editor and then just to a text search for all occurrences of:

 

"FORWARD"

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
×