Solved

Asterisk Queue : Play a message "continue to hold or press 2 to leave a voicemail"

Posted on 2013-06-03
3
680 Views
Last Modified: 2013-06-05
Dear Experts:

Once a caller has been queued by Queue(qName), how do we get the on-hold music to say "continue to hold of press 2 to leave a voicemail" and leave these windows of opportunities for the caller to press that number ?

Thanks

Robert.
0
Comment
Question by:robert90
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
nauliv earned 500 total points
ID: 39218028
Robert, this is actually quite easy. All you need to do is specify the following in your queues.conf for the queue(e) you want to provide the feature:

* context=context-name
* periodic-announce=file-name
* periodic-announce-frequency=seconds  this is how frequently the message "continue to hold of press 2 to leave a voicemail" will be played. you don't need to do this at the onhold music level

Then in your dialplan, create a context [xxxxxxx], with one or more extensions (one digit extensions only)  matching the option you want.

With the example you provided, the result will be:

In queues.conf

[qName]
periodic-announce=continue-hold-or-two
periodic-announce-frequency=60
context=exitqueue

In extensions.conf

[exitqueue]
exten => 2,1,Voicemail(1234@vmcontext)


Let us know if you have any question.
0
 

Author Comment

by:robert90
ID: 39218296
wao nauliv, that was a quick answer, thanks so much. it seems to be exactly what i need. i will be testing this tomorrow and let you know.
0
 

Author Comment

by:robert90
ID: 39221367
it works flawlessly, thanks a **lot** for your help!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let’s list some of the technologies that enable smooth teleworking. 
What do we know about Legacy Video Conferencing? - Full IT support needed! - Complicated systems at outrageous prices! - Intense training required! Highfive believes we need to embrace a new alternative.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question