[asterisk-users] Queues don't follow dialplan if no members are registered

John Kiniston johnkiniston at gmail.com
Tue Jul 28 12:12:05 CDT 2015


In your queues.conf do you have a leavewhenempty and joinempty set?

in queues.conf
[myqueue]
leavewhenempty = strict
joinempty = strict
strategy = ringall
ringinuse = no


On Tue, Jul 28, 2015 at 9:58 AM, Andrew Martin <amartin at xes-inc.com> wrote:

> Hello,
>
> I am running Asterisk 11 on CentOS 6.x. I have configured several queues as
> follows in extensions.conf:
> exten => s,1,Queue(myqueue,rtnC,18)
> same => n,Background(user_unavail)
> same => n,WaitExten(10)
> exten => 1,1,Voicemail(1111 at my-vm,s)
>
> This rings the phones in the queue for 18 seconds. If no queue members
> answer,
> the caller is then prompted to press 1 and leave a voicemail. This works
> well
> when at least 1 member is registered in the queue, however if no members
> are
> registered in the queue, the Queue() call never seems to return, and thus
> the
> remaining steps in the dialplan never execute. How can I correct this
> behavior
> so that even if the queue has no registered members, the dialplan is still
> followed?
>
> Thanks,
>
> Andrew
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, solve equations, analyze a new problem, pitch manure,
program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
---Heinlein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150728/53cf4968/attachment.html>


More information about the asterisk-users mailing list