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
signature.asc
Description: This is a digitally signed message part
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
