Difference between revisions of "IVR is not working"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(One intermediate revision 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 1.4 should look like:
Output for Asterisk should look like:
 
[ivr_block1]
switch => Realtime/ivr_block1'''@realtime_ext'''
...
...
 
For Asterisk 1.8 ir should look like:


  [ivr_block1]
  [ivr_block1]
Line 33: Line 26:
You will get such error with Asterisk 1.4 configuration for Asterisk 1.8:
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
  Channel 'Local/...' sent into invalid extension 's' in context 'ivr_block...', but no invalid handler


Fix:
Fix:
Line 49: Line 42:


<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.




See more