Difference between revisions of "IVR is not working"
From Kolmisoft Wiki
Jump to navigationJump to search
(2 intermediate revisions by one other user not shown) | |||
Line 15: | Line 15: | ||
Run /usr/local/mor/mor_ast_generate_ivr | Run /usr/local/mor/mor_ast_generate_ivr | ||
Output for Asterisk | Output for Asterisk should look like: | ||
[ivr_block1] | [ivr_block1] | ||
switch => Realtime/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/...' sent into invalid extension 's' in context 'ivr_block...', but no invalid handler | |||
Fix: | |||
cd /usr/src/mor/sh_scripts/asterisk/scripts | cd /usr/src/mor/sh_scripts/asterisk/scripts | ||
Line 40: | Line 39: | ||
Retest. | Retest. | ||
<br><br> | |||
= See more = | = See more = | ||
* [[I have a problem with IVR]] | * [[I have a problem with IVR]] |
Latest revision as of 16:09, 9 December 2016
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 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/...' sent into invalid extension 's' in context 'ivr_block...', but no invalid handler
Fix:
cd /usr/src/mor/sh_scripts/asterisk/scripts ./install.sh
Reload Asterisk:
asterisk -vrx "reload"
Retest.