Name
SetGroup() — Sets the channel group to the specified value
Synopsis
SetGroup(groupname
[@category
])
Sets the channel group to the specified
groupname
value. Equivalent to Set(GROUP=
group
)
. Used in conjunction with
CheckGroup()
to limit the number of
calls accessing a particular resource. A group
category
may also be set.
Always returns 0
.
; limit the number of concurrent receptionist calls to three
exten => s,1,SetGroup(receptionist)
exten => s,2,2,CheckGroup(3)
exten => s,3,Dial(${RECEPTIONIST})
exten => s,103,VoiceMail(u${RECEPTION_VM})
See Also
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.