login | register
Sun 07 of Sep, 2008 [20:44 UTC]

voip-info.org

Discuss [0] History

Asterisk cmd PauseQueueMember

Created by: lenz,Last modification on Thu 03 of Jul, 2008 [22:53 UTC] by ZX81
Update: in Asterisk 1.4 it has the following details (i.e. you can use an interface rather than an agent):

Synopsis

Pauses a queue member

Description

  PauseQueueMember([queuename]|interface[|options]):
Pauses (blocks calls for) a queue member.
The given 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 with UnpauseQueueMember 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, if it exists and the appropriate options are set.
The application will fail if the interface is not found and no extension
to jump to exists.
The option string may contain zero or more of the following characters:
      'j' — jump to +101 priority when appropriate.
 This application sets the following channel variable upon completion:
    PQMSTATUS      The status of the attempt to pause a queue member as a
                    text string, one of
          PAUSED | NOTFOUND
Example: PauseQueueMember(|SIP/3000)

Synopsis


 Pauses a queue member

Description

  PauseQueueMember([queuename]|agent[|options]):

Pauses an agent on a queue, i.e. the agent will not receive calls but s/he is still a member of the queue.

If no queue is given, agent is paused on all queues.

The option string may contain zero or more of the following characters:
  • j - jump to priority n+101 if the agent is not a member of the queue

Example

  PauseQueueMember(|Agent/101)

Pauses Agent/101 on all queues s/he is a member of.

In extensions.conf:
  exten => *11ZXXX,1,PauseQueueMember(|Agent/${EXTEN:3});

If *111001 is dialed, Agent/1001 will be paused on all queues s/he is a member of.

See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ


Comments