[asterisk-users] Dynamic Queue Members never called
Tristan
tristan at telemaque.fr
Wed Jul 19 03:11:14 MST 2006
Hi List,
I have a problem with dynamic queue members, they are never called when
a user is queued...
The queue works fine, with a cli command show queue testing I can see
that there's an user waiting
but there are no calls to members done...
Does anybody knows why or do I missed something ?
Thanks,
Tristan
------------------------------------------------------------------------------
Dialplan to enqueue user:
[test]
exten => s,1,Answer
exten => s,2,Dial(Local/enqueue at test/n||g)
exten => s,3,NoOp(End QUEUE)
exten => enqueue,1,Answer
exten => enqueue,2,Queue(testing)
exten => h,1,NoOp(HANGUP IN TEST)
here is the way I configured my queue:
[testing]
strategy = leastrecent
timeout = 15
retry = 1
wrapuptime=0
context = listen-testing
eventwhencalled = yes
eventmemberstatus = yes
announce-frequency = 0
announce-holdtime = off
queue-callerannounce = queue-callerannounce
reportholdtime = no
servicelevel = 20
timeoutrestart = yes
--------------------------------------------------------------
I put on the cli:
CLI> add queue member Local/1001 at dial_queue to testing
--------------------------------------------------------------
part of the dialplan:
[dial_queue]
exten => _XXXX,1,ChanIsAvail(Zap/R3)
exten => _XXXX,n,NoOp(AvailChannel=${AVAILCHAN})
exten => _XXXX,n,Set(__DialChannel=${CUT(AVAILCHAN,,1)})
exten => _XXXX,n,Dial(${DialChannel}/${EXTEN}|${DIALTIMEOUT}|M(agentanswer))
exten => _XXXX,n,GotoIf($[ "${DIALSTATUS}" != "ANSWER" ]?stop|1)
exten => stop,1,Busy
exten => stop,2,NoOp(WARNING AGENT NO ANSWER)
[listen-testing]
exten => *,1,Hangup()
More information about the asterisk-users
mailing list