[asterisk-dev] devicestate

Kevin P. Fleming kpfleming at digium.com
Wed Jan 16 08:58:58 CST 2008

Leif Madsen wrote:

> Once the call was answered the status changed to In Use, and then 
> everything worked as expected. I had a patch made that caused Queue() to 
> not deliver calls to members with a status of Unknown -or- In Use, and 
> that solved my problem for now, but not entirely sure what issues I'll 
> run into in the future because of it :)

The proper fix for this is in SVN trunk Asterisk now, which is to allow
app_queue to check a *different* device for state than it does for
dialing. This will allow you to create a custom set of 'devices' that
you control the state of via whatever logic you choose and then let
app_queue monitor those to determine the availability of queue members.

Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)

More information about the asterisk-dev mailing list