Difference between revisions of "IVR is not working"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(4 intermediate revisions by 2 users 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]
  [ivr_block1]
  switch => Realtime/ivr_block1'''@realtime_ext'''
  switch => Realtime/ivr_block1'''@extensions'''
  ...
  ...
  ...
  ...


For Asterisk 1.8 ir should look like:
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):


[ivr_block1]
You will get such error with Asterisk 1.4 configuration for Asterisk 1.8:
  switch => Realtime/ivr_block1'''@extensions'''
 
...
  Channel 'Local/...' sent into invalid extension 's' in context 'ivr_block...', but no invalid handler
...


If it is not @extensions, then
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>
= Channel 'Local/xxx' sent into invalid extension 's' in context 'ivr_blockxxx', but no invalid handler =


Solution:


<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