No application 'MYSQL' for extension

From Kolmisoft Wiki
Revision as of 09:47, 21 August 2013 by Mindaugas (talk | contribs)
Jump to navigationJump to search

If you see such error:

[2013-08-21 08:55:20] WARNING[10891] pbx.c: No application 'MYSQL' for extension (custom_context_mor, 98745698569586, 1)

Means that app_mysql.so module is required for your configuration.

To install it:

cd /usr/src/asterisk
make menuconfig

Go to "Add-ons" and mark "app_mysql". Save changes and exit.

make install

and then restart Asterisk. That is all.

To check if module is loaded:

asterisk -vrx 'module show like mysql'