TeleFlow Forums
http://teleflow.org/phpbb/

Time based setting
http://teleflow.org/phpbb/viewtopic.php?f=1&t=966
Page 1 of 1

Author:  jadadea [ Fri Jul 16, 2010 3:06 pm ]
Post subject:  Time based setting

Is Teleflow able to transfer calls based on a time setting?

ie:

7am to 3pm=xxx-xxx-xxx1
3pm to 11pm=xxx-xxx-xxx2
11pm to 7am=xxx-xxx-xxx3
call fail over =xxx-xxx-xxx4

Author:  Tim [ Wed Jul 21, 2010 10:31 am ]
Post subject:  Re: Time based setting

Yes, TeleFlow can make comparisons against the current time, and follow
separate logic paths.

You can use the Compare Step to compare the current time to the ranges you are concerned with. Use the TeleFlow system variable @TIME to retrieve the current time. I would recommend you create your own variable to store the phone number to be transferred to.

The logic would work like this:
if @TIME >= "07:00:00" and @TIME < "15:00:00" then set @PHONE = "xxx-xxx-xxx1"
else if @TIME >= "15:00:00" and @TIME < "23:00:00" then set @PHONE = "xxx-xxx-xxx2"
etc.

Alternatively, you can use the Run Basic Step to contain all the logic in a single step.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/