How to filter bad phone number


#1

Hi,

We are writing code through asterisk AMI interface to dial. We have a long list of cell phone number, fifty percent of these number will fail. Do we have a way to recognize these bad number before we dial so that we can scan the list and discard the bad number?

Thanks

Yhqian


#2

Add the banned number to a Database then use command GotoIf() to always check if the incoming number is banned or not when a call arrived on the PBX.