We are testing Asterisk Realtime configuration with ODBC/MySql.
This is our extconfig.xonf
extensions => odbc,asterisk,extensions
In the extension.conf we have inserted this line:
switch => Realtime/mainmenu@extensions
where mainmenu is the context.
and in the table ‘extensions’ we have this line:
ID CONTEXT EXTEN PRIORITY APP APPDATA
1 mainmeu 666 1 voicemail (somedata)
When we try to call 666 asterisk respond with the following error:
WARNING[8906]: pbx.c: 2404 __ast_pbx_run: Invalid extension ‘6’, but no rule ‘i’ in context ‘mainmenu’.
Can someone help me?