Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CC6 Dnis Question

Status
Not open for further replies.

Latvia1

Programmer
Aug 30, 2002
132
US
I would like the Dnis Digits 54741 to go to our voice mail # 15701 after hours only. I am not sure where in the script it should go. I was thinking right after PLAY PROMPT VOICE SEGMENT aa_vs_cr_closed and before the disconnect. All other DNIS still will get the disconnect. Thanks in advance

IF DATE = cr_holiday_dom THEN
GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT aa_vs_cr_holiday
ROUTE CALL 15701
END IF

IF DAY OF WEEK = MONDAY..THURSDAY AND TIME OF DAY = cr_time_closed_dom OR
DAY OF WEEK = FRIDAY AND TIME OF DAY = cr_time_closed_friday OR
DAY OF WEEK = SATURDAY AND TIME OF DAY = cr_time_closed_saturday OR
DAY OF WEEK = SUNDAY AND TIME OF DAY = cr_time_closed_sunday THEN
GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT aa_vs_cr_closed
___________________________________________________________

IF DNIS = 54741 THEN
ROUTE CALL 15701)
___________________________________________________________


DISCONNECT
END IF

IF cr_meeting = TRUE THEN
GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT aa_vs_cr_meeting
ROUTE CALL 15701
END IF

IF OUT OF SERVICE cr_domestic THEN
GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT aa_vs_cr_out_of_service

END IF

GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT aa_vs_calls_monitor

QUEUE TO SKILLSET cr_domestic

WAIT 2

GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT aa_vs_agents_busy

WAIT 30

EXECUTE loop

SECTION loop

IF OUT OF SERVICE cr_domestic THEN
GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT aa_vs_cr_out_of_service
ROUTE CALL 15701
END IF

IF NOT QUEUED THEN
QUEUE TO SKILLSET cr_domestic
END IF

WAIT 2

END IF

IF (AGE OF CALL > cr_long_wait) THEN
GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT aa_vs_cr_long_wait
ROUTE CALL 15701
END IF

WAIT 30
GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT aa_vs_continue_to_hold

WAIT 2

EXECUTE loop



 
You are correct, that is the place of the after hours treatment.
Mind the IF statement must be closed via an END IF so you can build it like this:

IF DAY OF WEEK = MONDAY..THURSDAY AND TIME OF DAY = cr_time_closed_dom OR
DAY OF WEEK = FRIDAY AND TIME OF DAY = cr_time_closed_friday OR
DAY OF WEEK = SATURDAY AND TIME OF DAY = cr_time_closed_saturday OR
DAY OF WEEK = SUNDAY AND TIME OF DAY = cr_time_closed_sunday THEN
GIVE CONTROLLED BROADCAST ANNOUNCEMENT
PLAY PROMPT VOICE SEGMENT aa_vs_cr_closed
_________________________________________________________
IF DNIS = 54741 THEN
ROUTE CALL 15701
ELSE
_________________________________________________________
DISCONNECT
_________________________________________________________
END IF
_________________________________________________________
END IF
 
Thank you for the reply, We ending up having the vendor do it. But it is good to know I was on the right path.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top