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:[EMAIL PROTECTED] 
> Sent: Saturday, June 19, 2004 5:15 AM
> To: [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED] 
> http://lists.digium.com/mailman/listinfo/aster> isk-users
> To 
> UNSUBSCRIBE or update options visit:
>    
http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
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

Reply via email to