Want to filter numbers

Dear All,

In my asterisk server , i want to filter numbers for inbound call . Means that only numbers saved in the database will be allowed to enter in the queue . Your suggestions will be helpful .



If you didn’t mind doing it directly in extensions.conf, you could use the / syntax in the extension pattern:

exten => extension/caller-id,n,…

thanks , trying to more dig in…will let you know . thank you

make one AGI script and connect your database and verify the caller id from your database and perform the next action.

There should be no need to use AGI.