[Asterisk-Users] call barring
    Elmar Haneke 
    elmar at haneke.de
       
    Fri May 20 05:39:44 MST 2005
    
    
  
> 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
    
    
More information about the asterisk-users
mailing list