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 _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
