I want to authenticate a user before he is able to use the phone. I also want to set his privilege as to where he is allowed to call to...
Preferably, the password should be their VoiceMail password, (every extension (or is that user?) can have voicemail defined - even if its not in use?) ...one should be able to enter the password (variable length) as part of the dial sequence - eg the number to call is 0113140077 and the password is 1234 so dial something like *1234*0113140077 (no prompting!) and what should be written to the Accounts file should rather be the extension that that password is good for... (effectively - the User). This way, using voicemail.conf, users can manage their own passwords. I've seen some wiki stuff on AGI's that allow one to glean for user passwords.. If the system is smart (and the user not so), after dialing a trunk that needs a password and none were provided - then asterisk can prompt for it. It would also be cool if certain extensions did not need a password... (phone in MD's office?, Switchboard, Fax (maybe)) - this needs a flag against the extension - which could be a Privilege Flag. Privilege Flag: (suggestion) 0=internal calls (and emergency/911) 1=local calls 2=long distance 3=cellular 4=no barring at all (international) (Somehow need to Tag the class (privilege level) that a number falls into) Then what about an additional field in the voicemail.conf file that specifies what privilege a person has - ie from a phone with zero privilege, a user with priv 4 can use his password to make an international call... I say "user" rather than "extension" because a user should be able to call from any extension with their own password - the user has the restriction - not the extension. Anyone got anything like this? -- . . ___. .__ Posix Systems - Sth Africa. e.164 VOIP ready /| /| / /__ [EMAIL PROTECTED] - Mark J Elkins, Cisco CCIE / |/ |ARK \_/ /__ LKINS Tel: +27 12 807 0590 Cell: +27 82 601 0496 _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
