New to scripting - need some help

Unanswered Question

Hi all,

I am new to scripting and am trying to setup a script like below. I am having trouble with it, especially playing music on hold. Anybody have a script that might match this?

Call hits queue.

No agents available, play on hold music for 20 secs, option to go to VM

reprompt after 20 seconds give option to go to voicemail then music for 30 seconds

then just loop this.

any help would be appreciated :)

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Chris Deren Fri, 09/12/2008 - 08:07

Use the sampel icd.aef script and under queue change the logic to the following:

-hold 20 sec


-loop label

-menu step with choice to enter 1 for VM

- 1 - call redirect to VM extension

- no input - hold 30 seconds

- unhold

- goto loop



matt.rossmeisl Fri, 09/12/2008 - 08:09

Queue to Skill group step



- Hold step

- Delay 20

- Unhold step

- Menu step

-press 1

- Call redirect to your VM extension

- default

- Label: Hold loop

- Hold step

- Delay 30

- Unhold step

- Menu step

-press 1

- Call redirect to your VM extension

- default

- Goto: Hold loop

Hi all,

thanks for the help.

I have the queue working putting the person on hold.

Now i need to add the option for while they are on hold they can press 1 to go to VM.

I can't seem to get the menu to work. A coworker of mine says in order for it to work i need to do a "Get Digits" command.

Am i in the right direction.

I want the user to be able to press 1 to go to voicemail while they hear the greeting and while they are on hold as well.

thanks for any help!


Chris Deren Mon, 09/15/2008 - 07:41

You can either use get digits or menu step, if you are to collect single digit then menu is a better choice as it saves you creating If statements.

Also, keep in mind that with Hold/Unhold steps your caller will not be able to press the digit while the music is played, and will only be able to make the selection while the prompt is being player. If you prefer to script it so that it callers can enter the option at any time use "play prompt" step to stream MOH from the IPCC server rather than CallManager MOH.



Steven Griffin Mon, 09/15/2008 - 08:45

My general rule of thumb is to keep my steps in the queue such that they can be interrupted at any time by the caller. Thus I put the caller on-hold and then have a menu step take the place of any delay step. The menu step is configured without a prompt and has a zero for the repeat option. The caller can press 1 to leave a voicemail and if they press 1 the menu will activate.

Call flow is:

Prompt Step -> "Please wait for next agent or press 1 to leave a VM"

On-Hold step

Menu Step -> Option 1 to route to VM pilot, no repeat and delay of 30 seconds or longer depending on the customer requirements.

Off-Hold step

Go to beginning of queue.


This Discussion