[asterisk-users] hints through a Local channel

Lenz Emilitri lenz.loway at gmail.com
Mon Dec 14 12:19:17 CST 2009


Hello all,
I am trying to set up a dynamic channel to be used as an Agent dialer for a
queue - you know, trying to replace AgentCallBackLogin for an Asterisk 1.6.

I would like to do something like:

[myagents]
exten => XXX,1,Set(realchan=${DB(myagent/${EXTEN})})
exten => XXX,n,Dial(${realchan},tT,60)

This basically fetches the actual channel to be used for dialling and dials
it. What I would like now is to make app_queue aware in advance of the state
of each channel, something like:

exten => 100,hint,SIP/705   (and this works)

But more dynamical, so I would try and look up the actual channel in the
AstDB, like:

exten => XXX,hint,${DB(myagent/${EXTEN})}

This does not seem to be working - is there a way to work around this issue?

(I admit this is the fist time I'm trying to use devoce state and the
related functions, so maybe there is a very simple slution right in front of
my big nose and I'm not seeing it).....

Thanks a lot for your help,
l.


-- 
Loway - home of QueueMetrics - http://queuemetrics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091214/2906cedc/attachment.htm 


More information about the asterisk-users mailing list