[Asterisk-Users] Re: (Un)PauseQeueMamber usage

Joe jrothstein at comcentrixs.com
Sat Jan 28 12:29:12 MST 2006


Thanks for the reply BJ. Your example makes sense for out-bound traffic, but
what about calls transferred from a queue to an agent?

I plan on setting up agent extensions (if possible via macro) something like
this for example:

exten => 1234,1,PauseQueueMember (|Agent/101)
exten => 1234,2,Dial(Agent/101,tg)
exten => 1234,3,UnPauseQueueMemeber(|Agent/101)
exten => 1234,4,Hangup()

Agents will login using AgentCallBackLogin. In the example above, Agent 101
will login from extension 1234. This would work well if Agent 101 was always
sitting at the phone with extension 1234. This will more than likely not be
the case.

Is this what I need:

exten => 1234,1,PauseQueueMember(|Agent/${AGENTBYCALLERID_${CALLERIDNUM}})
exten => 1234,2,Dial(Agent/${AGENTBYCALLERID_${CALLERIDNUM}},tg)
exten => 
1234,3,UnPauseQueueMemeber(|Agent/${AGENTBYCALLERID_${CALLERIDNUM}})
exten => 1234,4,Hangup()

Not sure if this is the proper use of this variable or not.

Regards to all,
Joe









More information about the asterisk-users mailing list