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

From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with '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 …')
 
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
To install it:
To install it:


  cd /usr/src/asterisk-1.8.23.0
  cd /usr/src/asterisk
  make menuconfig
  make menuconfig


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'

Latest 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'