Вы находитесь на странице: 1из 4

Script Name: C:\Program Files (x86)\wfavvid_902\Scripts\Templates\Custom\Deep Ocean

[based on Simple_Queuing].aef
/* Simple Queuing Template */
Start
Accept (--Triggering Contact--)
/* Check if Call Center is OPEN or CLOSED */
Day of Week
Mon-Wed
Time of Day
OPEN
Goto playWelcome
CLOSED
Goto CLOSED
Thur
Time of Day
OPEN
Goto playWelcome
CLOSED
Goto CLOSED
Fri
Time of Day
OPEN
Goto playWelcome
CLOSED
Goto CLOSED
Sat
Time of Day
OPEN
Goto playWelcome
CLOSED
Goto CLOSED
Sun
Goto CLOSED
/* This step is only used if the Call Center is closed */
CLOSED:
Call Redirect (--Triggering Contact-- to CUC_VM_Pilot)
Successful
Busy
Invalid
Unsuccessful
/* This step is only used if the call center is open */
playWelcome:
Play
Prompt (--Triggering Contact--, WelcomePrompt)
Select Resource (--Triggering Contact-- from CSQ_Oceanic)
Selected
Play Prompt (--Triggering Contact--, QueuePrompt)
Connect (--Triggering Contact-- to SRS_TempResourceSelectedVar2)
Connected
Failed
Goto queueLoopOceanic
Queued
queueLoopOceanic:
CurrentWaitDurationInQ = Get Reporting Statistic (--Triggering Contact--,
Current Wait Duration[CSQ_Oceanic] from CSQ IPCC Express)
If (CurrentWaitDurationInQ >= 6) Then
True
Select Resource (--Triggering Contact-- from CSQ_Others)

Selected
Play Prompt (--Triggering Contact--, QueuePrompt)
Connect (--Triggering Contact-- to SRS_TempResourceSelectedVar
2)
Connected
Failed
Goto queueLoopOthers
Queued
queueLoopOthers:
Play Prompt (--Triggering Contact--, QueuePrompt)
Call Hold (--Triggering Contact--)
Delay DelayWhileQueued sec
Call Unhold (--Triggering Contact--)
Goto queueLoopOthers
False
If (TimesThruQ == 3) Then
True
Menu (--Triggering Contact--, P[Press_1forVM_or_2forStayInQ.wav])
1 - VoiceMail
Goto CLOSED
2 - StayInQueue
Set TimesThruQ = 0
Timeout
Set TimesThruQ = 0
Unsuccessful
Set TimesThruQ = 0
False
Play Prompt (--Triggering Contact--, QueuePrompt)
SecretCodeKey = Get Digit String (--Triggering Contact--)
Successful
If (SecretCodeKey == "4815162342") Then
True
AgentHurley = Get User (User ID: "anna.marie")
Successful
Unsuccessful
Select Resource (--Triggering Contact--, AgentHurley)
Connected
Failed
False
Timeout
Unsuccessful
Call Hold (--Triggering Contact--)
Delay DelayWhileQueued sec
Call Unhold (--Triggering Contact--)
Increment TimesThruQ
Goto queueLoopOceanic
End

Name
resourceID
CSQ
DelayWhileQueued
WelcomePrompt
QueuePrompt
SRS_TempResourceSelectedVar2
CSQ_Oceanic
CUC_VM_Pilot
TimesThruQ
CurrentWaitDurationInQ
CSQ_Others
A
SecretCodeKey
AgentHurley

Type
String
String
int
Prompt
Prompt
User
String
String
int
int
String
String
String
User

Value
""
""
45
SP[ICD\ICDWelcome.wav]
SP[ICD\ICDQueue.wav]
null
"Oceanic"
"1850"
0
0
"Others"
"4815162342"
""
null

Attributes
Parameter
Parameter
Parameter
Parameter
Parameter
Parameter
Parameter

Resources

Вам также может понравиться