PAMI icon indicating copy to clipboard operation
PAMI copied to clipboard

Validate number using PAMI

Open gutorsantos opened this issue 3 years ago • 0 comments

Hello,

I'm working on a new project that i have to implement a RDD (random digit dialing) and I have to generate random numbers from a series of parameters. After the generation, I must validate if the number phone exists. So, that's where PAMI enters. Apparently, the validation is quite simple, if rings (or it's busy or out of area), the number exists so it's valid, if returns 404, the number doesn't exist.

However, I'm a little confused, about how can I catch this returnings from Asterisk. Could someone help?

gutorsantos avatar May 06 '22 12:05 gutorsantos