Difference between revisions of "IVR is not working"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 30: | Line 30: | ||
If it is not '''@extensions''', but '''@realtime_ext''' then it means old Asterisk 1.4 compatible script is used and we need to upgrade it to support Asterisk 1.8 (@extensions): | If it is not '''@extensions''', but '''@realtime_ext''' then it means old Asterisk 1.4 compatible script is used and we need to upgrade it to support Asterisk 1.8 (@extensions): | ||
You will get such error with Asterisk 1.4 configuration for Asterisk 1.8: | |||
Channel 'Local/xxx' sent into invalid extension 's' in context 'ivr_blockxxx', but no invalid handler | |||
Fix: | |||
cd /usr/src/mor/sh_scripts/asterisk/scripts | cd /usr/src/mor/sh_scripts/asterisk/scripts | ||
Line 40: | Line 46: | ||
Retest. | Retest. | ||
Revision as of 12:59, 17 September 2013
Troubleshooting
Make sure /etc/asterisk/asterisk.conf has
execincludes = yes
Make sure /etc/asterisk/extensions_mor.conf has
#include extensions_mor_ivr.conf
Make sure /etc/asterisk/extensions_mor_ivr.conf has
#exec /usr/local/mor/mor_ast_generate_ivr
Run /usr/local/mor/mor_ast_generate_ivr
Output for Asterisk 1.4 should look like:
[ivr_block1] switch => Realtime/ivr_block1@realtime_ext ... ...
For Asterisk 1.8 ir should look like:
[ivr_block1] switch => Realtime/ivr_block1@extensions ... ...
If it is not @extensions, but @realtime_ext then it means old Asterisk 1.4 compatible script is used and we need to upgrade it to support Asterisk 1.8 (@extensions):
You will get such error with Asterisk 1.4 configuration for Asterisk 1.8:
Channel 'Local/xxx' sent into invalid extension 's' in context 'ivr_blockxxx', but no invalid handler
Fix:
cd /usr/src/mor/sh_scripts/asterisk/scripts ./install.sh
Reload Asterisk:
asterisk -vrx "reload"
Retest.