[Asterisk-Users] Thousands of contexts?

Jay Milk jay at skimmilk.net
Sat Jun 19 08:56:08 MST 2004


AGI script with SQL backend.  You know the user (callerid) and the
dialed number (exten) going into the script, and you return a variable
that says yay or nay.

> -----Original Message-----
> From: Florian Overkamp [mailto:florian at obsimref.com] 
> Sent: Saturday, June 19, 2004 5:15 AM
> To: asterisk-users at lists.digium.com
> Subject: RE: [Asterisk-Users] Thousands of contexts?
> 
> 
> Hi,
> 
> > -----Original Message-----
> > But the thought is correct, use a database to store the data
> > and one context that does a lookup into the database and 
> > populates your callerid. It is a better way of doing things. 
> > You could even host it in the ast_db and then it shouldn't be 
> > too slow as you aren't spawning any outside apps.
> 
> Here's another scenario I'm working with: I am using contexts 
> per user to 'include' the numberranges they are allowed to 
> dial. Any suggestions how to do that without a context per user ?
> 
> 
> Best regards,
> Florian
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com 
> http://lists.digium.com/mailman/listinfo/aster> isk-users
> To 
> UNSUBSCRIBE or update options visit:
>    
http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list