TIPS No application 'MYSQL' for extension

Robert Copelan

New Member
Joined
Aug 4, 2018
Messages
2
Reaction score
0
I am running Incredible PBX 13.0.192.19. I have a context that uses the app_mysql to try and build a white list of allowed callers:
exten => s,1,Answer
exten => s,n,NoOp("Caller ID IS: ${CALLERID(number)}")
exten => s,n,MYSQL(Connect connid HOST USER PASSWORD database)
exten => s,n,MYSQL(Query resultid ${connid} SELECT name,ban FROM directory WHERE number='${CALLERID(number)}')
...
In modules.conf there is app_mysql.so listed but the file isn't in /usr/lib/asterisk/modules. I don't see how to load it via the admin GUI. Can someone please point me to where this is documented as clearly I'm looking in all the wrong places.
THanks very much.
Robert
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,229
If I'm not mistaken, I think Digium killed this in Asterisk 13. You have to use ODBC for the queries.
 

Members online

Forum statistics

Threads
25,825
Messages
167,862
Members
19,250
Latest member
mark-curtis
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top