Skip to content

AddQueueMember()

Synopsis

Dynamically adds queue members.

Description

Dynamically adds interface to an existing queue. If the interface is already in the queue it will return an error.

This application sets the following channel variable upon completion:

  • AQMSTATUS - The status of the attempt to add a queue member as a text string.

    • ADDED

    • MEMBERALREADY

    • NOSUCHQUEUE

Syntax

AddQueueMember(queuename,[interface,[penalty,[options,[membername,[stateinterface,[wrapuptime]]]]]])
Arguments
  • queuename

  • interface

  • penalty

  • options

    • p - Add queue member in paused state.

    • r(reason) - Specify a reason why the member is in paused state.

      • reason required
  • membername

  • stateinterface

  • wrapuptime

See Also

Generated Version

This documentation was generated from Asterisk branch 22 using version GIT