On Wed, Apr 3, 2019, at 12:57 PM, marek cervenka wrote:
> hi,
>
> do you have idea if is possible detect if a call to device(1) is from
> queue? (i.e. if app_queue set some variable)
>
> exten => 800,1,queue(sales) ; queue pick exten 20
>
> exten => 20,1,noop("detect variables")
>
> exten => 20,n,Dial(SIP/20)
>
>
> (1) its through a local interface i.e Local/20@phones
If you're using a Local channel then you control the context it goes to. You
can therefore send it to one which is only used by app_queue, and thus know the
call is from a Queue. You could even have a dialing context per queue to know
which one if you wanted.
--
Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users