[asterisk-users] User-invoked call restrictions
Steve Edwards
asterisk.org at sedwards.com
Wed Aug 26 11:33:49 CDT 2009
Un-top-posting...
> On Wed, Aug 26, 2009 at 4:39 AM, David A. Bandel<david.bandel at gmail.com>
>>
>> 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:asterisk-users-bounces at lists.digium.com] 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 sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list