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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Symposium Scripting question

Status
Not open for further replies.

beckman68

Technical User
Jul 31, 2002
186
US
I want to route to a mailbox set up on the CallPilot after hours or if no one is logged in to the skill set. Can someone help me with scripting this out? I have a Symposium Release 5.0. Thank you.
 
This is what i currently do to achieve the same thing:

C U S T O M E R S E R V I C E - OPEN

Call Variables:
skillset_cv skillset Primary skillset
priority_cv priority
frrt_cv RAN First RAN
srrt_cv RAN Second RAN
dn_cv DN Night Treatment

***********************************************************************************/


ASSIGN 2072 TO dn_cv (The value under attribute is vm access number)


/************************************************************************************
C U S T O M E R S E R V I C E - CLOSED

***********************************************************************************/

ROUTE CALL 2072 /* OCTEL MAILBOX */

 
If I add the dn_cv as the voicemail access number it does not roue it to a mailbox it just routes to the CallPilot voicemail main login. Here is what I have:

IF DAY OF WEEK = MONDAY..FRIDAY AND
TIME OF DAY = 7:00..19:00 THEN
EXECUTE Bus_Hrs
ELSE
IF DAY OF WEEK = SATURDAY AND
TIME OF DAY = 3:00..3:05 THEN
EXECUTE Bus_Hrs
ELSE
ROUTE CALL dn_cv (= voicemail access DN)

END IF
END IF

SECTION Bus_Hrs

IF DATE = holiday THEN
ROUTE CALL dn_cv

END IF

IF NOT OUT OF SERVICE HelpDesk_Hotline THEN
QUEUE TO SKILLSET HelpDesk_Hotline WITH PRIORITY 5
WAIT 2
ELSE
ROUTE CALL dn_cv

END IF

GIVE RAN 31

WAIT 2

GIVE MUSIC 10

WAIT 35

GIVE RAN 31

WAIT 2

SECTION loop

WAIT 20

IF NOT QUEUED THEN
IF NOT OUT OF SERVICE HelpDesk_Hotline THEN
QUEUE TO SKILLSET HelpDesk_Hotline WITH PRIORITY 5
WAIT 2
ELSE
ROUTE CALL dn_cv


END IF
END IF

GIVE RAN 31
 
I am currently using Call pilot as a bridge to my Octel. I don't know if you can build alias boxes in Call pilot to route to the mail box you want. I have a phantom set built in my pbx (2072). On my Octel, I built a vm 2072 that points to 6272.

Here is my script.

Master Script:

SECTION CustService
IF (DAY OF WEEK = MONDAY .. FRIDAY) AND (TIME OF DAY <> cs_bus_hrs_mon_fri) THEN
EXECUTE SCRIPT cust_srvc_nite_app
END IF

IF (DAY OF WEEK = SATURDAY .. SUNDAY) AND (TIME OF DAY <> cs_bus_hrs_sat_sun) THEN
EXECUTE SCRIPT cust_srvc_nite_app
END IF

EXECUTE SCRIPT cust_srvc_app


C U S T O M E R S E R V I C E - OPEN

Call Variables:
skillset_cv skillset Primary skillset
priority_cv priority
frrt_cv RAN First RAN
srrt_cv RAN Second RAN
dn_cv DN Night Treatment

Notes:
Holidays, Special Hours of Operation, and Closed are evaluated at the Master
Script.

History:

Chg night fwd number to new phantom

***********************************************************************************/

ASSIGN cust_srvc TO skillset_cv
ASSIGN 4 TO priority_cv
ASSIGN 11 TO frrt_cv
ASSIGN 11 TO srrt_cv
ASSIGN 2072 TO dn_cv

EXECUTE SCRIPT call_flows_ino

/************************************************************************************
C U S T O M E R S E R V I C E - CLOSED

Notes:
Holidays, Special Hours of Operation, and Closed are evaluated at the Master
Script.

History:
Chg night fworward to new phantom

***********************************************************************************/

ROUTE CALL 2072 /* OCTEL MAILBOX */



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top