# Asterisk Project : Call Queues

Added by mdavenport , edited by mdavenport on Aug 27, 2010

Template holder while we wait for input on a good README for call queues. Please open a bug report and add text to this document

##### General advice on the agent channel

##### Using dynamic queue members

##### SIP channel configuration

Queues depend on the channel driver reporting the proper state for each member of the queue. To get proper signalling on
queue members that use the SIP channel driver, you need to enable a call limit (could be set to a high value so it
is not put into action) and also make sure that both inbound and outbound calls are accounted for.

Example:

    [general]
    limitonpeer = yes

    [peername]
    type=friend
    call-limit=10

##### Other references

- queuelog.txt
- queues-with-callback-members.txt

(Should we merge those documents into this?)

## Comments:

I don't know if there is a correct place to talk on my problem or but! but i am looking to do a Queue failover. for example, in the case that i have 2 queue: support-central support-provinces i have two state: 1- queue max length. 2- no member available. in both situation, i want to send provinces caller to central queue. Posted by shayne.alone@gmail.com at Dec 21, 2010 03:11
hope this question to be a good point, for starting a wiki on queue management. Posted by shayne.alone@gmail.com at Dec 21, 2010 03:14
Okay, so that will be a combination of dialplan then - try provinces queue first and then second line of dialplan rings the central queue - as well as use of the maxlen, joinempty, and leavewhenempty queue options. Are you familiar with those options from queues.conf.sample ? Posted by mdavenport at Dec 21, 2010 08:50
Dear Malcolm; first of all, thanks for your hellp... i was trying somewhat like what you told,but it's my first try, so i hope to have your help the following is what i did right now, and i hope to update it with queue length check today... i will do my tries and report the result ASAP. sorry if it's dirty dialplan Posted by shayne.alone@gmail.com at Dec 22, 2010 00:16
it seems to be a better job of course it's not still ready for a WIKI, i like to modify it as a macro,but how should i convert them into a WIKI page? is it enough to turn them into a label? Posted by shayne.alone@gmail.com at Dec 22, 2010 07:56
The best way to turn things into a Wiki page is to create content in your private space. From there, Wiki mods can pull it into mainline content. We'll have the workflow software installed in the near future to simply the contribution process. Posted by mdavenport at Dec 22, 2010 08:48