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
Get Asterisk: The Future of Telephony now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.