PASS or PIN to MySQL

Hello,

Is possible to verify DISA PIN or Password with a MySQL?

Best regdas,

Al

I’ve never tried using DISA before… but…

You could use “Read()” to read a variable and store it.
Then you could check it against the database, pass or fail it and do whatever you want that way.

As I said, I have never used the DISA in Asterisk.

May I ask why you need so many pins as to necessitate the use of a database? Tracking the calls I would imagine.

Hello,

I am using DISA to authorized calls, My company issues complementary call for customers. We have a few nunber for that pourpuse. I belive the right way to create and control PIN is with a file that update when customer use his/her PIN.

Regars,

AL

Hello,

Somebody , any Ideas

regards,

Al

Hello,

Any ideas?

Regards,

Al

Is this possible?

DISA can’t work directly with a database, can use a single password or a list of passwords from a text file; from the book Asterisk TFOT 2nd:

[quote]
DISA(password[,context[,callerid[,mailbox[@vmcontext]]]])
DISA(password-file[,callerid[,mailbox[@vmcontext]]])
Allows outside callers to obtain an “internalâ€

Hello,

I can’t use a txt file. The reason is because when the caller use specific pass this will be mark invalid. Pass is for one time use.

I red your information, so is my best interest use an external application like a2billing or some of that nature?

Best regards,

AL