[Home]

Summary:ASTERISK-02025: [patch] assign more group for any channel (app_groupcount)
Reporter:cybershield (cybershield)Labels:
Date Opened:2004-07-15 12:08:59Date Closed:2004-09-25 02:15:27
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_groupcount.c.diff
Description:These feature allow to assign more groups on every channel. Before, for every channel was permitted only one group.
The feature is 100% compatible with the current version of app_groupcount. It don't request modification to the extension.conf if they already used group.


****** ADDITIONAL INFORMATION ******

Example:

* we suppose to create 10 meeting. every meeting accept max 10 people. The max people can partecipate into the all meeting rooms is 50. The exten number identify the meeting room (value between 0 and 9)


exten => _X,1,SetGroup(people)
exten => _X,2,CheckGroup(50)
exten => _X,3,SetGroup(${EXTEN}|room)
exten => _X,4,CheckGroup(10|room)
exten => _X,5,MeetMe(${EXTEN})
exten => _X,103,Hangup()
exten => _X,105,Hangup()

For every channel there are two group:
standard group for count number of people
'room' group for count people into one meeting room


With a single group it is not possible to realize this example.

Comments:By: Mark Spencer (markster) 2004-07-16 00:48:08

I've modified groupcount to take a category (see updated apps).  Tell me if this is sufficient.  You should be able to do what you typed by replacing the |room by @room.  This version, though, allows as many groups as you might want to be in there.

By: cybershield (cybershield) 2004-07-16 08:34:26

sorry mark, i have update asterisk with the last version of the cvs but I do not find changes in app_grounpcount.

By: Brian West (bkw918) 2004-07-16 11:07:08

Mirrors are in sync now.. let me know if thats not what you needed?