I'm still a newbie when it comes to scripting so bear with me
What I want to do is the following :
When a call comes in on skillset_A, and noone is logged on I want to transfer the call to skillset_B. If noone is logged on to skillset_B, I want to give a message.
Script looks like this :
/* Title: CDN 6497 Test */
/* Ko Script*/
IF OUT OF SERVICE Skillset_A THEN
IF NOT OUT OF SERVICE Skillset_B THEN
QUEUE TO SKILLSET Skillset_B
WAIT 2
END IF
END IF
WAIT 10
IF OUT OF SERVICE Skillset_B THEN
GIVE IVR 6121 WITH TREATMENT 1052
WAIT 2
END IF
/* Ko Script */
QUEUE TO SKILLSET Skillset_A
WAIT 2
GIVE RAN first_ran
GIVE MUSIC music_route
SECTION WaitLoop
IF NOT OUT OF SERVICE Brann THEN
DISCONNECT
END IF
WAIT 28
IF NOT QUEUED THEN
IF OUT OF SERVICE Skillset_A THEN
GIVE RAN closed_ran
GIVE SILENCE
WAIT 2
DISCONNECT
ELSE
WAIT 2
END IF
END IF
GIVE RAN second_ran
EXECUTE WaitLoop
--------------------------------
The following works :
- when skillset A is out of service the call is transferred to skillset_B with skillset_A showing in the display on the terminal
- when skillset_A has a queue the call get's music until agent is available on skillset_A
- when both skillset_A and B are out of service you get the correct message
The following is not working as expected :
- when skillset_A is in service and has an available agent, uou can see skillset_A in the display as you should. But if you look at realtime displays it shows that the agent is handling skillset_B. This also happens if I set the agent on standby on skillset_B??
------
There's probably a simpler way to do it. As I said, I'm just a newbie. There's probably to much code in the script, since this is an existing script that I have edited
All helps is much appreciated! Thanks.
What I want to do is the following :
When a call comes in on skillset_A, and noone is logged on I want to transfer the call to skillset_B. If noone is logged on to skillset_B, I want to give a message.
Script looks like this :
/* Title: CDN 6497 Test */
/* Ko Script*/
IF OUT OF SERVICE Skillset_A THEN
IF NOT OUT OF SERVICE Skillset_B THEN
QUEUE TO SKILLSET Skillset_B
WAIT 2
END IF
END IF
WAIT 10
IF OUT OF SERVICE Skillset_B THEN
GIVE IVR 6121 WITH TREATMENT 1052
WAIT 2
END IF
/* Ko Script */
QUEUE TO SKILLSET Skillset_A
WAIT 2
GIVE RAN first_ran
GIVE MUSIC music_route
SECTION WaitLoop
IF NOT OUT OF SERVICE Brann THEN
DISCONNECT
END IF
WAIT 28
IF NOT QUEUED THEN
IF OUT OF SERVICE Skillset_A THEN
GIVE RAN closed_ran
GIVE SILENCE
WAIT 2
DISCONNECT
ELSE
WAIT 2
END IF
END IF
GIVE RAN second_ran
EXECUTE WaitLoop
--------------------------------
The following works :
- when skillset A is out of service the call is transferred to skillset_B with skillset_A showing in the display on the terminal
- when skillset_A has a queue the call get's music until agent is available on skillset_A
- when both skillset_A and B are out of service you get the correct message
The following is not working as expected :
- when skillset_A is in service and has an available agent, uou can see skillset_A in the display as you should. But if you look at realtime displays it shows that the agent is handling skillset_B. This also happens if I set the agent on standby on skillset_B??
------
There's probably a simpler way to do it. As I said, I'm just a newbie. There's probably to much code in the script, since this is an existing script that I have edited
All helps is much appreciated! Thanks.