Answer the question
In order to leave comments, you need to log in
How to compare input variable with value in MySQL database?
Hello! Please tell me how to compare the entered variable with the value in the MariaDB database?
The database can contain up to 10 unique combinations.
When calling an external number, the system asks to enter the code:
exten => trunk,1,Background(enter-secure)
We enter the code:
same => n,Read(enter-digits,,8)
Enter the entered value into the table:
same => n(check),Set(ODBC_ENTER_DIGITS(${CALLERID(num)},${enter-digits})="")
And now the question arises, how to compare two values - entered and one of the ten available ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question