Name

GROUP — Associates the channel into a set group

Synopsis

GROUP([category])

Gets or sets the channel group.

; Permit only one user to access the paging system at once.
exten => 8000,1,Set(GROUP()=pager)
exten => 8000,n,GotoIf($[${GROUP_COUNT(pager)} > 1]?hangup)
exten => 8000,n,Page(SIP/101&SIP/102&SIP/103&SIP/104)
exten => 8000,n(hangup),Hangup

Get Asterisk: The Future of Telephony, 2nd Edition 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.