[asterisk-users] hints through a Local channel

Stephen Davies stephen.l.davies at gmail.com
Mon Dec 14 15:20:11 CST 2009


What you are missing is the new state-interface parameter to AddQueueMember.

You can't use functions in a hint exten.

Steve

On 12/14/09, Lenz Emilitri <lenz.loway at gmail.com> wrote:
> 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
>

-- 
Sent from my mobile device



More information about the asterisk-users mailing list