[asterisk-users] Fwd: add a new queue strategy: SBR

nik600 nik600 at gmail.com
Mon Mar 9 13:48:28 CDT 2009


On Mon, Mar 9, 2009 at 3:16 PM, James Sneeringer <jsneerin at gmail.com> wrote:

>
> If you are using dynamic queues with Local channels (as described in
> doc/queues-with-callback-members.txt in the Asterisk source), you can
> also optionally implement this functionality directly in the dialplan.
> This has the added benefit of allowing you to choose on a per-agent
> basis who is eligible for autopause.
>
> -James

thanks for your reply, infact i've implemented the agents in the
dialplan as explained in queues-with-callback-members.txt but this
approach doesn't manage the status of the agent!
I can add / remove / pause / unpause the member interface but what
about the "in use" status?
The extension in the context will be every time "Not in use" or shall
i implement hints?

Here there is a piece of my extensions.conf:

[default]
; login procedure for queue 001
exten => _001XXXX,1,Answer
exten => _001XXXX,n,AddQueueMember(001,Local/${EXTEN:3}@agents)
exten => _001XXXX,n,Set(DB(agents/${EXTEN:3})=SIP/${CALLERID(num)})

[agents]
exten => _XXXX,hint,${DB(agents/${EXTEN})}
exten => _XXXX,1,Dial(${DB(agents/${EXTEN})})

and there isn't an "agent" but only an extension on a queue.

What do you think about that?

maybe i should open a new post but i think that this kind of approach
isn't much better than the callback functionality, what do you think
about that?

-- 
/*************/
nik600
http://www.kumbe.it



More information about the asterisk-users mailing list