Hello all,<br>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. <br><br>I would like to do something like:<br><br>[myagents]<br>
exten => XXX,1,Set(realchan=${DB(myagent/${EXTEN})})<br>exten => XXX,n,Dial(${realchan},tT,60)<br><br>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:<br>
<br>exten => 100,hint,SIP/705 (and this works)<br><br>But more dynamical, so I would try and look up the actual channel in the AstDB, like:<br><br>exten => XXX,hint,${DB(myagent/${EXTEN})}<br><br>This does not seem to be working - is there a way to work around this issue?<br>
<br>(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).....<br><br>Thanks a lot for your help,<br>
l.<br><br clear="all"><br>-- <br>Loway - home of QueueMetrics - <a href="http://queuemetrics.com" target="_blank">http://queuemetrics.com</a><br><br>