×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Time of Day Script question

Time of Day Script question

Time of Day Script question

(OP)
Hello,

I am currently working on a new script and I can't get the time of day to work the way I'd like, see below. I'm not experienced in scripting so bare with me. I want calls outside of business hours to be routed to the closed message, currently it happens when everyone is logged out regardless of the time. I added an application variable named Claims_Hours_gv and set the business hours up in there. Will the time of day variable only work if all agents are logged out? I would like callers to hear the closed message after 4:30pm even when an agent forgets to logout, is that possible?

IF (DATE = Holidays_gv) THEN
EXECUTE Closed
END IF

IF (DAY OF WEEK <> Bus_Days_gv) AND
(TIME OF DAY <> Claims_Hours_gv) THEN
EXECUTE Closed
END IF

IF OUT OF SERVICE Claims_sks THEN
EXECUTE Closed
END IF

IF NOT OUT OF SERVICE Claims_sks THEN
QUEUE TO SKILLSET Claims_sks
ELSE
EXECUTE Closed
END IF

WAIT 7

GIVE IVR 7035 WITH TREATMENT 1004015

GIVE MUSIC 1

SECTION First_Loop

IF NOT QUEUED THEN
IF NOT OUT OF SERVICE Claims_sks THEN
QUEUE TO SKILLSET Claims_sks
ELSE
EXECUTE Closed
END IF
END IF

WAIT 45

GIVE IVR 7035 WITH TREATMENT 1014015

EXECUTE First_Loop

SECTION Closed

ROUTE CALL 7425


FYI- 7425 is an SDN that points to an application which plays the announcement

Any help is appreciated

RE: Time of Day Script question

Change this bit

CODE -->

IF (DAY OF WEEK <> Bus_Days_gv) AND
   (TIME OF DAY <> Claims_Hours_gv) THEN
EXECUTE Closed
END IF 
to

CODE

IF (DAY OF WEEK <> Bus_Days_gv) OR
   (TIME OF DAY <> Claims_Hours_gv) THEN
EXECUTE Closed
END IF 

RE: Time of Day Script question

(OP)
Thanks for your reply. I made that change but it still plays the closed message during those hours when nobody is logged in. I know I can make it work by using a time control block in Application Builder but I thought it was possible through scripting. Is it because this call center is not fronted by an auto attendant and the calls go directly to an agent? My only concern is if someone forgets to logout, the queue will act likes it's open after hours and queue the calls. This department opted to have agents put in not ready when they miss a call center call instead of logging them out.

RE: Time of Day Script question

"it still plays the closed message during those hours when nobody is logged in. "

That is what this command is doing

CODE

IF OUT OF SERVICE Claims_sks THEN
EXECUTE Closed
END IF 
You didn't say what you wanted to happen during business hours when nobody is logged in.
What do you want?

RE: Time of Day Script question

(OP)
Sorry Stanley, that actually worked. I forgot while I was testing I changed the time of day variable, once I adjusted that it worked. If I have someone logged in after hours but in not ready the closed message plays. Thanks for your help.

RE: Time of Day Script question

these two bits do much the same thing

IF OUT OF SERVICE Claims_sks THEN
EXECUTE Closed
END IF

IF NOT OUT OF SERVICE Claims_sks THEN
QUEUE TO SKILLSET Claims_sks
ELSE
EXECUTE Closed
END IF

you could lose the first bit

RE: Time of Day Script question

(OP)
Okay so I can remove that first section below without any impact?

IF OUT OF SERVICE Claims_sks THEN
EXECUTE Closed
END IF

One thing I read in the books was your supposed to make changes in Local then sync to the Global script. Is there any issues with making changes in Global while a skillset is active because I was trained to just make the changes in Global? This script in particular is not being used yet because the phones aren't programmed but I have it active.

RE: Time of Day Script question

I agree with bignose21 but it does raise the question - do you really want callers to get the closed treatment during business hours if nobody is logged in? That relies on the agents always remembering. You might want to consider routing the call to an MCR key on several phones so somebody will be alerted.

I never got the point of using Local mode to change scripts. Just seemed like extra steps to confuse me. I do try to copy and save the text of a script before I make changes so it can be quickly pasted back if necessary.

RE: Time of Day Script question

Like Stanley says it would normally have outside business hours set to a Closed Message, Holidays either to same closed or a Holiday specific message, and then the OUT OF SERVICE Skillset to either another group of phones or a message saying there is currently a technical issue etc.

RE: Time of Day Script question

(OP)
Got it, so this out of service portion of the script only applies to when nobody is logged in. Which can also mean there is a technical issue and the call center is down or unreachable. If I chose to add an MCR to someone's phone would it be as simple as that, just add an MCR to a set or sets and change the script to execute to that when out of service? I've seen issues when adding shared extensions to call center phones in the past. If I remember correctly I think it impacted the MWI on the phone. Have you ever seen that?

RE: Time of Day Script question

You will need be aware of forwarding and hunting. The DN that you use will likely follow the HUNT and FDN of the TN where it is MARP. So if it goes to voice mail then you need to have a mailbox or announcement of some kind.
If you don't want it going to voice mail then you can put it on a data TN to have control of the MARP.
There is a good instruct from Gene here:
http://ghtrout.net/files/MARP_TN_on_Data_TN_Port.h...

RE: Time of Day Script question

(OP)
Hi Guys. I'm coming down to the last few days before my new call center goes live. Does my script look okay above? Test calls seem fine. I only have 2 hold treatments so I believe if the caller stays on hold for awhile, the 2nd treatment keeps repeating after the music. Just trying to dot my i's and cross my t's.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close