rbrindley: branch 2.0 r4989 - in /branches/2.0/config: js/menus.js menus.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Wed Oct 21 11:18:16 CDT 2009
Author: rbrindley
Date: Wed Oct 21 11:18:02 2009
New Revision: 4989
URL: http://svnview.digium.com/svn/asterisk-gui?view=rev&rev=4989
Log:
- added WaitForRing to Voice Menus
(closes issue #15676)
Reported by: timeshell
Patches:
menus_html.diff uploaded by timeshell (license 399)
menus_js.diff uploaded by timeshell (license 399)
Modified:
branches/2.0/config/js/menus.js
branches/2.0/config/menus.html
Modified: branches/2.0/config/js/menus.js
URL: http://svnview.digium.com/svn/asterisk-gui/branches/2.0/config/js/menus.js?view=diff&rev=4989&r1=4988&r2=4989
==============================================================================
--- branches/2.0/config/js/menus.js (original)
+++ branches/2.0/config/js/menus.js Wed Oct 21 11:18:02 2009
@@ -270,6 +270,11 @@
$('#newstep_seconds').show();
tip_chosenStep.innerHTML = 'Wait for the user to enter a new extension for a specified number of seconds.';
break;
+ case 'WaitForRing':
+ lbl('WaitForRing');
+ $('#newstep_seconds').show();
+ tip_chosenStep.innerHTML = 'Pause dialplan execution until next ring for a specified number of seconds. Cancels answer if no ring occurs.';
+ break;
case 'toDestination':
lbl('To Destiantion');
$('#newstep_gotoDestination').show();
@@ -414,6 +419,9 @@
break;
case 'WaitExten':
newstep = 'WaitExten(' + ASTGUI.getFieldValue('newstep_seconds') + ')';
+ break;
+ case 'WaitForRing':
+ newstep = 'WaitForRing(' + ASTGUI.getFieldValue('newstep_seconds') + ')';
break;
case 'toDestination':
newstep = ASTGUI.getFieldValue('newstep_gotoDestination');
Modified: branches/2.0/config/menus.html
URL: http://svnview.digium.com/svn/asterisk-gui/branches/2.0/config/menus.html?view=diff&rev=4989&r1=4988&r2=4989
==============================================================================
--- branches/2.0/config/menus.html (original)
+++ branches/2.0/config/menus.html Wed Oct 21 11:18:02 2009
@@ -181,6 +181,7 @@
<option value="SayNumber">SayNumber</option>
<option value="Wait">Wait</option>
<option value="WaitExten">WaitExten</option>
+ <option value="WaitForRing">WaitForRing</option>
<option value="toDestination">Goto Destination</option>
<option value="toDestinationByCallerId">Goto Destination by CallerId</option>
<option value="setLanguage">Set Language</option>
More information about the asterisk-gui-commits
mailing list