Difference between revisions of "IVR is not working"
From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with '= Troubleshooting= 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…') |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= Troubleshooting= | = Troubleshooting= | ||
Make sure /etc/asterisk/asterisk.conf has | |||
execincludes = yes | |||
Make sure /etc/asterisk/extensions_mor.conf has | Make sure /etc/asterisk/extensions_mor.conf has | ||
Line 11: | 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@realtime_ext | 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 | ||
./install.sh | ./install.sh | ||
Reload Asterisk: | |||
asterisk -vrx "reload" | |||
Retest. | Retest. | ||
<br><br> | <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.