No application 'MYSQL' for extension

From Kolmisoft Wiki
Revision as of 09:48, 21 August 2013 by Mindaugas (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Do:

asterisk -vvrx 'module load app_mysql.so'

To check if module is loaded:

asterisk -vrx 'module show like mysql'