×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Avaya Orchestratin Designer

Avaya Orchestratin Designer

Avaya Orchestratin Designer

(OP)
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

RE: Avaya Orchestratin Designer

Check the value for dn1_cv in the variables. I'm guessing it is set at 1 so that is what the script uses.

RE: Avaya Orchestratin Designer

(OP)
I have checked the dn1_cv variable and this is set to value of 0

RE: Avaya Orchestratin Designer

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.

RE: Avaya Orchestratin Designer

(OP)
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.

RE: Avaya Orchestratin Designer

(OP)
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.

RE: Avaya Orchestratin Designer

Okay but can you post the whole script so we can see exactly?

RE: Avaya Orchestratin Designer

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close