VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
atux at null.net Guest
|
Posted: Tue Oct 11, 2016 6:25 am Post subject: [asterisk-users] send a call to moh until user is available |
|
|
in asterisk 11 i have an extension 4450 that gets all the calls from a particular number (eg 1234567890).
in extensions.conf i do have the following:
exten => 1234567890,n,Dial(SIP/4450,20,mg)
exten => 1234567890,n,Hangup()
the problem that i have is that when extension 4450 is busy then the call goes to hangup. i would like if the extension 4450 is busy the caller to hear moh and when available return to the extension 4450. I would like that to be for 1 minute, then busy (3) and then hangup.
could someone provide me an example, please? |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
mefhigoseth at gmail.com Guest
|
Posted: Tue Oct 11, 2016 7:17 am Post subject: [asterisk-users] send a call to moh until user is available |
|
|
Hi Tux John,
The behavior you need is cover in Asterisk within a Queue.
1. Create a new queue in queues.conf and assign as static member, the 4450 extension.
2. In your dialplan, you need to route the incomming calls to the new queue and pass as argument the timeout in seconds you want when hangup the waiting calls.
When a new call arrives, it enter the queue. The Callee ear moh music, while the 4450 ring if its available. Ir not, the queue system wait until the 4450 become available, an then send the call.
Please, refer to http://www.asteriskguru.com/tutorials/queues.html
The #3 title (simple queue) is all you need.
Cheers |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|