[Asterisk-Users] Re: call barring
Victor Alvarez
victor at sentidocomun.es
Fri May 20 07:36:52 MST 2005
I was thinking in use realtime asterisk to decide wether to call the agi or not. I mean, add the agi in the first position of the dialplan or delete it for each user. So I can activate - desactivate it and call the script only when necessary.
Thanks,
Victor.
------------------------------
Message: 18
Date: Fri, 20 May 2005 14:39:44 +0200
From: Elmar Haneke <elmar at haneke.de>
Subject: Re: [Asterisk-Users] call barring
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users at lists.digium.com>
Message-ID: <428DDA90.50800 at haneke.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
> Does It sound like correct?
The AGI should set an Variable to indicate if to block or not.
> What do you think about execute a script for
> every call, query the database each time..? Do you think It'll
> overcharge the system?
Usually that should not be a problem since it is run at call
initiation only.
How many call-initiations do you have per second?
If it is about one or more you should redesign your AGI: Build it as
an native executable use the Fast-Agi-Extension and ommit the
DB-Connection (recompile on changed block list).
Elmar
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050520/51cdbf99/attachment.htm
More information about the asterisk-users
mailing list