Solved

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

Posted on 2013-06-03
3
719 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hey there Heard about jingle, the add on for XMPP that enables point to point audio between two XMPP clients. No server config necessary. Actually quite a cool feature. However, how good is it if you can not use those voice capabilities to do a P…
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
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, f…
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…

734 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