Un-top-posting...

On Wed, Aug 26, 2009 at 4:39 AM, David A. Bandel<[email protected]>

Had a request from a customer: ?is it possible for a customer, using a password to restrict others from making long distance/cell calls? That is, the user set a level of service?

[mailto:[email protected]] On Behalf Of Roberto Piola Sent: Wednesday, August 26, 2009 6:37 AM

Hint: an AGI application that looks into a database for passwords, and the decides, according to the prefix, if the call is allowed or not

On Wed, 26 Aug 2009, Danny Nicholas wrote:

You could also do this in the dialplan without AGI.

If this is an "only the boss can make $$$ calls" and the password is unlikely to change, hardcode it in the dialplan.

Next step up is to store the password in the Asterisk DB.

Next step up would be an external database (MySQL) and a web page for frequent updates. Personally, at this stage I would use an AGI to keep the dialplan from getting ugly.

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to