Solved

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

Posted on 2013-06-03
3
731 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

Healthcare providers, insurance companies and other covered entities trust eFax Corporate to transmit their most sensitive documents. eFax Corporate can help your organization implement a HIPAA compliant cloud faxing solution.
Messaging apps are amazing tools with the power to do a lot of good, but the truth is the process of collaborating with coworkers requires relationships established through meaningful communication - the kind of communication that only happens face-…
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…
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…

696 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