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

AddQueueMember() — Dynamically adds queue members to the specified call queue

Synopsis

    AddQueueMember(queuename[,interface[,penalty]])

Dynamically adds the specified interface to an existing queue named queuename, as specified in queues.conf. If specified, penalty sets the penalty for queues to use this member. Members with a lower penalty are called before members with a higher penalty.

If interface is already a member of the queue and there exists an n+101 priority (where n is the number of the current priority), the call will continue at that priority. Otherwise, it will return an error.

Calling AddQueueMember() without an interface argument will use the interface that the caller is currently using.

    ; add SIP/3000 to the techsupport queue, with a penalty of 1
    exten => 123,1,AddQueueMember(techsupport,SIP/3000,1)

See Also

RemoveQueueMember(), queues.conf

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