O'Reilly logo

Asterisk: The Future of Telephony by Leif Madsen, Jared Smith, Jim Van Meggelen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required