ChickenMan81
MIS
Hello all,
I have two DNISs that are coming into the same CDN and run from the same script. However I need to point each DNIS to a different closed and holiday message. Is there a way to do this and keep both DNIS in the same script, or do I need to build a script for each DNIS. I've enclosed the script below.
Thanks again for any help or pointing me to a thread if this has already been answered.
Regards,
Tyson
I have two DNISs that are coming into the same CDN and run from the same script. However I need to point each DNIS to a different closed and holiday message. Is there a way to do this and keep both DNIS in the same script, or do I need to build a script for each DNIS. I've enclosed the script below.
Code:
/* Canada Consumer Support English, dnis 1115. 1107 , cdn 8919*/
IF LOGGED AGENT COUNT emergency_skillset > 0 THEN
EXECUTE Emergency
END IF
IF (DATE = holidays) THEN
EXECUTE Holiday
END IF
/*IF ((DAY OF MONTH = 15) AND
(TIME OF DAY <> 11:59..21:00)) THEN
EXECUTE Closed_two
END IF*/
IF LOGGED AGENT COUNT tempdown_skillset > 0 THEN
EXECUTE Tempdown
END IF
IF ((DAY OF WEEK = MONDAY..FRIDAY) AND
(TIME OF DAY <> 8:30..17:30)) THEN
EXECUTE Closed
END IF
/*IF ((DAY OF WEEK = SATURDAY..SUNDAY)) THEN
EXECUTE Closed
END IF*/
IF OUT OF SERVICE canada_consumer_support_eng THEN
EXECUTE Closed
END IF
IF (IDLE AGENT COUNT canada_consumer_support_eng >=1) THEN
EXECUTE Agent_Available
ELSE
IF (OLDEST CALL canada_consumer_support_eng<=45) THEN
EXECUTE No_Agent
ELSE
IF (OLDEST CALL canada_consumer_support_eng >=45) THEN
EXECUTE Agent_Msg
END IF
END IF
END IF
SECTION First_Loop
IF OUT OF SERVICE canada_consumer_support_eng THEN
EXECUTE Closed
ELSE
QUEUE TO SKILLSET canada_consumer_support_eng WITH PRIORITY 2
WAIT 2
END IF
GIVE MUSIC 4
WAIT 15
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT Second_msg_vs
END VOICE SESSION
WAIT 20
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT final_msg_vs
END VOICE SESSION
WAIT 20
SECTION Wait_Loop
IF NOT QUEUED THEN
IF NOT OUT OF SERVICE canada_consumer_support_eng THEN
QUEUE TO SKILLSET canada_consumer_support_eng
WITH PRIORITY 2
WAIT 2
END IF
END IF
EXECUTE Wait_Loop
SECTION Closed
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT closed_vs
END VOICE SESSION
DISCONNECT
/*SECTION Closed_two
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT closed_two_vs
END VOICE SESSION
DISCONNECT*/
SECTION Holiday
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT holiday_vs
END VOICE SESSION
DISCONNECT
SECTION Agent_Available
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT agt_avail_vs
END VOICE SESSION
WAIT 2
EXECUTE First_Loop
SECTION No_Agent
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT less_fourfive_vs
END VOICE SESSION
WAIT 2
EXECUTE First_Loop
SECTION Agent_Msg
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT more_fourfive_vs
END VOICE SESSION
WAIT 2
EXECUTE First_Loop
SECTION Emergency
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT emergency_vs
END VOICE SESSION
DISCONNECT
SECTION Tempdown
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT tempdown_vs
END VOICE SESSION
Regards,
Tyson