How to group Extensions

Hi all,

I wan to make groups. for example, to creat group with name and on it put extensions 2001; 2002; 2003 and so on and when ring enters want to manage first available or most idle extensions to ring does anyone knows how to do that?

core show application queue

queue is onather function I want grouping as in trixbox

You asked for most idle type processing, that requires the full queue logic, even if you limit the queue length to 1.

If you just want simple hunt groups, you simply do:

xxx,1,Dial(First entry)
xxx,n,Dial(Second entry)
xxx,n,Dial(Third entry)

I mean. For example 2001 and 2002 extensions just ended conversation (Call) and when ring enters on number 555XXX I don’t want to ring on 2001 and 2002 because they just ended call now use onather most idle extensions

The easiest way is to use the queue mechanism. You could, I suppose, have a global variable that you incremented for each call and use it to jump to the right starting point in the hunt group, but I think the queue is the easiest way of doing complex scheduling.

OK thanks I’ll try that, But as I know queue rings sequentially if extension 2001 is first and available it will ring first and then onther which are in queue

1.6.0 queues.conf (1.4 is similar):

[quote]; A strategy may be specified. Valid strategies include:
;
; ringall - ring all available channels until one answers (default)
; leastrecent - ring interface which was least recently called by this queue
; fewestcalls - ring the one with fewest completed calls from this queue
; random - ring random interface
; rrmemory - round robin with memory, remember where we left off last ring pass
; linear - rings interfaces in the order specified in this configuration file.
; If you use dynamic members, the members will be rung in the order in; which they were added
; wrandom - rings random interface, but uses the member’s penalty as a weight
; when calculating their metric. So a member with penalty 0 will have
; a metric somewhere between 0 and 1000, and a member with penalty 1 will
; have a metric between 0 and 2000, and a member with penalty 2 will have
; a metric between 0 and 3000. Please note, if using this strategy, the member
; penalty is not the same as when using other queue strategies. It is ONLY used
; as a weight for calculating metric.
;
;strategy = ringall[/quote]

Yes, you are right. That’s just what I needed thanks.

Hello again,

I managed queueing but when somebody rings they hear music on hold and I would like to they hear simply ringing instead of music

Hi

use the r option in the queue application

Ian