Detect If Call To Device Is From Queue

Home » Asterisk Users » Detect If Call To Device Is From Queue
Asterisk Users 1 Comment

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

tnx

Marek

One thought on - Detect If Call To Device Is From Queue

  • 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: http://www.digium.com & http://www.asterisk.org