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
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
This may belong on -biz, but does anyone have experience with a decent and cheap IVR/prompt recording house? Are decent and cheap mutually exclusive? A nice *sounding* lady would be nice... you can keep any burly voice studios to yourself :) Thanks Dave
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Gibbons wrote:> This may belong on -biz, but does anyone have experience with a decent and cheap IVR/prompt recording house? > > Are decent and cheap mutually exclusive? > > A nice *sounding* lady would be nice... you can keep any burly voice studios to yourself :) >I use Allison. www.theivrvoice.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFLJrn8CFu3bIiwtTARAoFmAKCfrzh1vXWv3isJdPjEGFbEHYLUvwCfSsCd piy49OgEVTFou+fizd25bmo=g2iu -----END PGP SIGNATURE-----