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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access