pari: branch 2.0 r3969 - /branches/2.0/config/menus.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Mon Oct 20 08:32:50 CDT 2008
Author: pari
Date: Mon Oct 20 08:32:50 2008
New Revision: 3969
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3969
Log:
Adding Macro option in voicemenus
Modified:
branches/2.0/config/menus.html
Modified: branches/2.0/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/menus.html?view=diff&rev=3969&r1=3968&r2=3969
==============================================================================
--- branches/2.0/config/menus.html (original)
+++ branches/2.0/config/menus.html Mon Oct 20 08:32:50 2008
@@ -390,6 +390,11 @@
$('#newstep_custom').show();
tip_chosenStep.innerHTML = 'Add a <i>Custom Step</i> to the VoiceMenu';
break;
+ case 'Macro':
+ lbl('Macro');
+ $('#newstep_custom').show();
+ tip_chosenStep.innerHTML = "macroname|arg1|arg2 .... Executes a macro using the context 'macro-<macroname>'";
+ break;
default:
break;
}
@@ -495,6 +500,9 @@
break;
case 'CustomApp':
newstep = ASTGUI.getFieldValue('newstep_custom') ;
+ break;
+ case 'Macro':
+ newstep = 'Macro(' + ASTGUI.getFieldValue('newstep_custom') + ')' ;
break;
default:
break;
@@ -921,6 +929,7 @@
<option value="DigitTimeout">DigitTimeout</option>
<option value="DISA">DISA</option>
<option value="ResponseTimeout">ResponseTimeout</option>
+ <option value="Macro">Macro</option>
<option value="Playback">Playback</option>
<option value="Ringing">Ringing</option>
<option value="SetMusicOnHold">Set MusicOhHold Class</option>
More information about the asterisk-gui-commits
mailing list