It´s not works
What is the best way to setup it.
agents.conf
[general]
persistentagents=yes
[agents]
ackcall=no
agent => 3000,,Alice
agent => 3001,,Bob
extensions_custom.conf
; addqueuemember - 422
exten => _422XXXX,1,Answer
exten => _422XXXX,2,AddQueueMember(200,Local/${EXTEN:3})
exten => _422XXXX,3,Hangup
; removequeuemember - 423
exten => _423XXXX,1,Answer
exten => _423XXXX,2,RemoveQueueMember(200,Local/${EXTEN:3})
exten => _423XXXX,3,Hangup
; agent pause
exten => _416XXXX,1,PauseQueueMember(|Agent/${EXTEN:3})
exten => _416XXXX,n,Hangup()
; agent unpause
exten => _417XXXX,1,UnpauseQueueMember(|Agent/${EXTEN:3})
exten => _417XXXX,n,Hangup()
The queue 200 has not static.
The XXXX is a extension, but for pause is Agent.