GROUP()

GROUP([category])

Reads/sets the group for the channel (channels may be grouped as required).

exten => 123,1,Set(GROUP()=outgoing)                ; set group
exten => 123,n,GotoIf($[${GROUP_COUNT()} > 10]?200)   ; too many outgoin
g calls?
exten => 123,n,Dial(7785553233)                          ; dial
exten => 123,200,SetVar(DIALSTATUS=CHANUNAVAIL)       ; too many outgoin
g calls, refuse
[Note]

Internal help for this application in Asterisk 1.4: 

  -= Info about function 'GROUP' =- 

[Syntax]
GROUP([category])

[Synopsis]
Gets or sets the channel group.

[Description]
Gets or sets the channel group.

diff output to internal help in Asterisk 1.2: 

- none - 

See also. the section called “GROUP_COUNT(), the section called “GROUP_LIST(), the section called “GROUP_MATCH_COUNT()