arnaudcoquelet / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

IVR exit action order wrong when updating IVR entry #846

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add an IVR, be sure to specify an exit action
2. Look up IVR in dialplan manager, notice lua:ivr_menu.lua is priority 40, 
while the exit action is 45
3. Update the IVR settings
4. Look up the IVR in dialplan manager, notice that both lua:ivr_menu.lua and 
the exit action are now 40.

What is the expected output? What do you see instead?
Ths exit action should have a higher priority than the ivr menu script. This is 
the case when initially adding it, but not afterwards.

What version of the product are you using? On what operating system?
FusionPBX 3.3

Please provide any additional information below.
Editing app/ivr_menu/resources/classes/switch_ivr_menu.php at line 621 
replacing 040 with 045 resolves the issue.

Original issue reported on code.google.com by neovor...@gmail.com on 7 Feb 2015 at 8:01

GoogleCodeExporter commented 9 years ago
If you are still on FusionPBX 3.3 then your version is outdated and we 
recommend that you upgrade.  I have just tested on 3.7.1 dev branch as per your 
steps above and the exit action is correct at 45.

Original comment by ewsamu...@gmail.com on 24 Mar 2015 at 10:42