[asterisk-commits] branch oej/aum-trunk - r7476 in /team/oej/aum-trunk: ./ configs/ doc/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Dec 14 15:22:48 CST 2005


Author: oej
Date: Wed Dec 14 15:22:44 2005
New Revision: 7476

URL: http://svn.digium.com/view/asterisk?rev=7476&view=rev
Log:
Adding README and config too

Added:
    team/oej/aum-trunk/configs/aum.conf.sample
    team/oej/aum-trunk/doc/README.aum
Modified:
    team/oej/aum-trunk/   (props changed)

Propchange: team/oej/aum-trunk/
            ('svnmerge-integrated' removed)

Added: team/oej/aum-trunk/configs/aum.conf.sample
URL: http://svn.digium.com/view/asterisk/team/oej/aum-trunk/configs/aum.conf.sample?rev=7476&view=auto
==============================================================================
--- team/oej/aum-trunk/configs/aum.conf.sample (added)
+++ team/oej/aum-trunk/configs/aum.conf.sample Wed Dec 14 15:22:44 2005
@@ -1,0 +1,66 @@
+;AUM configuration file
+
+[general]
+;debug=yes			; AUM debugging
+
+;------------ REALTIME
+;realtimecachelimit = 100	; Maximum number of users in realtime cache
+				; Default = 100
+
+;The groups section contain a list of all groups
+; We have to do this to pre-load groups
+; (Looking for another solution)
+[groups]
+group=edvina
+group=digium
+group=asteriskmanagers
+
+; Group definition
+; Groups are used as templates for users, not as objects in themselves
+[digium]
+type=group
+musicclass=digium-sales-pitch
+setvar=DIGIUMSTAFF=yes
+
+[edvina]
+type=group
+musicclass=edvina-slow
+deny=all
+permit=192.168.40.0/24
+
+[asteriskmanagers]
+type=group
+managerperm=system		; Manager permissions for these users
+setvar=SUPERUSER=400
+
+[admin]				; Admin user
+;Which groups does this user belong to?
+group=asteriskmanagers
+group=digium
+;Pin code for this user
+pincode=1235
+email=postmaster at mylittledomain.com
+firstname=Charlie
+lastname=Root
+
+[nancy]
+pincode=1234
+group=asteriskmanagers
+group=edvina
+email=nancy.petterson at digium.com
+jabber=nancypet at digium.com
+mailbox=3000 at default
+mailboxcallback=3000 at sipusers
+exten=3000 at sipusers
+disacontext=disalocal
+callerid=Nancy Petterson <3000>
+accountcode=3000
+musicclass=nancy-music
+firstname=Nancy R.
+lastname=Petterson
+title=Sales mngr
+language=se
+timezone=GMT+1
+permit=123.12.12.12/255.255.255.0
+deny=123.132.23.123/255.255.255.0
+managerperm=write,read

Added: team/oej/aum-trunk/doc/README.aum
URL: http://svn.digium.com/view/asterisk/team/oej/aum-trunk/doc/README.aum?rev=7476&view=auto
==============================================================================
--- team/oej/aum-trunk/doc/README.aum (added)
+++ team/oej/aum-trunk/doc/README.aum Wed Dec 14 15:22:44 2005
@@ -1,0 +1,43 @@
+The Asterisk User Management Module - AUM
+----------------------------------------------------
+
+For now, the docs are in doxygen format in res_aum.c
+
+------------------------------------------------------
+
+Example database table for aumusers in MySQL realtime.
+You can load a user in realtime mode with "aum load rtuser <name>"
+
+The realtime cache mechanism makes the user stay in memory until
+we hit the roof of the cache. When a user is accessed, it's moved
+to the top of the cache. When the cache is full, the record at the
+bottom will be released to give room for a new user.
+
+The cache stats wil lbe shown with "aum show stats".
+
+---------------------------------------------------------------
+
+CREATE TABLE `aumusers` (
+  `name` varchar(30) NOT NULL default '',
+  `title` varchar(20) default NULL,
+  `firstname` varchar(20) default NULL,
+  `lastname` varchar(20) default NULL,
+  `email` varchar(50) default NULL,
+  `jabber` varchar(40) default NULL,
+  `sip` varchar(50) default NULL,
+  `pin` varchar(5) default NULL,
+  `group` varchar(60) default NULL,
+  `context` varchar(50) default NULL,
+  `callerid` varchar(70) default NULL,
+  `secret` varchar(15) default NULL,
+  `musicclass` varchar(20) default NULL,
+  `chanvar` varchar(60) default NULL,
+  `callgroup` varchar(20) default NULL,
+  `pickupgroup` varchar(20) default NULL,
+  `numericid` varchar(10) default NULL,
+  `sipdomain` varchar(100) default NULL,
+  `language` varchar(6) default NULL,
+  `accountcode` varchar(20) default NULL,
+  PRIMARY KEY  (`name`)
+) TYPE=MyISAM;
+    



More information about the asterisk-commits mailing list