app_queue: allow dynamically adding a queue member in paused state.

Fixes: #1007

UserNote: use the p option of AddQueueMember() for paused member state.
Optionally, use the r(reason) option to specify a custom reason for the pause.

(cherry picked from commit 1689aaa576)
This commit is contained in:
Sperl Viktor
2024-11-27 17:36:39 +01:00
committed by Asterisk Development Team
parent 3e16927bfd
commit 63f366850a
2 changed files with 87 additions and 16 deletions

View File

@@ -571,12 +571,12 @@ monitor-type = MixMonitor
; must also preload pbx_config.so and chan_local.so (or pbx_ael.so, pbx_lua.so,
; or pbx_realtime.so, depending on how your dialplan is configured).
;
; syntax: member => interface,[,penalty][,membername][,state_interface][,ringinuse][,wrapuptime]
; syntax: member => interface,[,penalty][,membername][,state_interface][,ringinuse][,wrapuptime][,paused]
;
;member => DAHDI/1
;member => DAHDI/2,10
;member => DAHDI/3,10,Bob Johnson
;member => Local/1001@agents,0,May Flowers,Agent:1001
;member => Local/1002@agents,0,John Doe,Agent:1002
;member => Local/1000@default,0,John Smith,SIP/1000
;member => Local/2000@default,0,Lorem Ipsum,SIP/2000,no
;member => Local/1000@default,0,John Smith,PJSIP/1000
;member => Local/2000@default,0,Lorem Ipsum,PJSIP/2000,no