[Asterisk-Users] Access Codes
Alexander Lopez
alex.lopez at opsys.com
Sun Jan 29 15:58:09 MST 2006
Or you can use authenticate() and have it take its 'passwords' form a
text file on your machine.
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> trixter aka Bret McDanel
> Sent: Sunday, January 29, 2006 5:37 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Access Codes
>
> On Sun, 2006-01-29 at 18:00 -0400, Dakota wrote:
> > I would like to setup Asterisk as follows:
> >
> > When users make inter-office calls they can dial the extensions,
> > however if they want to make an external call, that they
> enter a code
> > on their phone, before they external call can go through.
> >
> > We would like to give each user an access code, this way we
> can limit
> > certain employees from making certain calls to certain places.
> >
> > What's the best recommendation for this?
>
> There are 2 basic ways to do this. You can in your dialplan
> do a read and presumably a db check for the extension (I
> assume you dont want hardcoded accounts, but ...)
>
> The other way is via an agi that does the same thing. AGIs
> generally take more cpu than equivalent dialplan entries for
> short lived applications, however for a long lived agi it may
> not (although it can take more ram).
>
>
> >
> --
> Trixter http://www.0xdecafbad.com Bret McDanel
> UK +44 870 340 4605 Germany +49 801 777 555 3402
> US +1 360 207 0479 or +1 516 687 5200
> FreeWorldDialup: 635378
> http://www.sacaug.org/ Sacramento Asterisk Users Group
>
More information about the asterisk-users
mailing list