[asterisk-users] app_queue New Function ToggleQueueMemberUse()

Rajkumar S rajkumars at gmail.com
Mon Feb 23 06:45:42 CST 2009


Resurrecting an old thread.

On Fri, 9 May 2008, Russell Bryant wrote:

> Benoit Plessis wrote:
>> So i'm wondering if someone already as made a dialplan function that 
>> could toggle the 'Use' flag of an agent ? or if this kind of function 
>> would be integrated into the core if i build it ?

<snip>

> Alternatively, if you would like to control the usability of an agent 
> through the dialplan, then you could use the DEVICE_STATE() function to 
> create a custom device state.  Then, you could list your custom "device" 
> as what app_queue should look at before attempting to call the agent.

How can this be done? I have looked much and there are no document/mail 
explaining how this can be done. An example especially in the context of 
queues-with-callback-members document would be very very helpful.

with regards,

raj



More information about the asterisk-users mailing list