Name
PauseQueueMember() — Temporarily blocks a queue member from receiving calls
Synopsis
PauseQueueMember([queuename
],interface
)
Pauses (blocks calls for) a queue member. The specified
interface will be paused in the given queue. This prevents any calls
from being sent from the queue to the interface until it is unpaused
by the UnpauseQueueMember()
application or the Manager interface. If no
queuename
is given, the interface is paused
in every queue it is a member of. If the
interface
is not in the named queue, or if
no queue is given and the interface
is not
in any queue, it will jump to priority n
+101 (where n
is the current priority), if it
exists.
Returns -1
if the interface
is not found and no extension to jump to exists; otherwise, returns
0
.
exten => 123,1,PauseQueueMember(,SIP/300)
exten => 124,1,UnpauseQueueMember(,SIP/300)
See Also
Get Asterisk: The Future of Telephony now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.