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!

Avaya Orchestratin Designer

Status
Not open for further replies.

waiora1

MIS
Feb 28, 2016
15
DE
Please could any one help with a problem I have with a call handling script.
Basically the call is in a holding queue and if the caller presses 1 they get sent to VM which is what I want it to do.
If the caller does not press 1 I would like them to stay in the holding queue.
The issue I am having is that it plays the comfort message and I press 1 it does what it should.
If nothing is pressed it still sends them to VM regardless that the default is execute Loop
Please see below. Any help would be much appreciated.

GIVE RINGBACK

IF NOT OUT OF SERVICE skillset_cv THEN
QUEUE TO SKILLSET skillset_cv WITH PRIORITY priority_cv
WAIT 2
ELSE
OPEN VOICE SESSION
PLAY PROMPT
VOICE SEGMENT unfore_msg
END VOICE SESSION
DISCONNECT
END IF

WAIT 5

OPEN VOICE SESSION
PLAY PROMPT
VOICE SEGMENT comf_1
COLLECT 1 DIGITS INTO dn1_cv
INTER DIGIT TIMER 3
END VOICE SESSION

WHERE dn1_cv EQUALS
VALUE 1: ROUTE CALL Phantom Dn to VM
DEFAULT: EXECUTE Loop
END WHERE

SECTION Loop

GIVE RINGBACK
WAIT 15

OPEN VOICE SESSION
PLAY PROMPT
VOICE SEGMENT test_comf
COLLECT 1 DIGITS INTO dn1_cv
INTER DIGIT TIMER 3
END VOICE SESSION

WHERE dn1_cv EQUALS
VALUE 1: ROUTE CALL Phantom DN to VM
END WHERE
 
Check the value for dn1_cv in the variables. I'm guessing it is set at 1 so that is what the script uses.
 
I have checked the dn1_cv variable and this is set to value of 0
 
Not sure if you posted the entire script but your second WHERE statement (after SECTION Loop) does not have a DEFAULT value so it's not clear what might happen.
 
Basically the second thread will be the same as the first.
What I'm trying to do is as follows
The caller is waiting in the queue for the next available agent but they can press 1 to leave and go to voice mail.
If they do not press 1 then it will keep them in the queue and loop until the next agent become available.
Hope this makes sense.
 
Sorry I forgot to mention what is happening at the moment.
When the caller is in the holding queue the comfort message is played and you can press 1 to leave a VM which is working.
If they don't press anything then it rings but goes to the VM message and not to comfort message 2.
 
Like people are saying you would need a default to loop back round after second message is played

SECTION Loop

GIVE RINGBACK
WAIT 15

OPEN VOICE SESSION
PLAY PROMPT
VOICE SEGMENT test_comf
COLLECT 1 DIGITS INTO dn1_cv
INTER DIGIT TIMER 3
END VOICE SESSION

WHERE dn1_cv EQUALS
VALUE 1: ROUTE CALL Phantom DN to VM
DEFAULT: EXECUTE Loop
END WHERE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top