Difference between revisions of "No application 'MYSQL' for extension"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 14: Line 14:
  make install
  make install


and then restart Asterisk. That is all.
Do: asterisk -vvrx 'module load app_mysql.so'


To check if module is loaded:
To check if module is loaded:


  asterisk -vrx 'module show like mysql'
  asterisk -vrx 'module show like mysql'

Revision as of 09:48, 21 August 2013

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'