bkruse: branch asterisknow r1142 - in /branches/asterisknow: ./ config/
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Thu Jun 21 16:56:43 CDT 2007
Author: bkruse
Date: Thu Jun 21 16:56:43 2007
New Revision: 1142
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1142
Log:
Merged revisions 1141 via svnmerge from
https://origsvn.digium.com/svn/asterisk-gui/trunk
........
r1141 | bkruse | 2007-06-21 16:51:44 -0500 (Thu, 21 Jun 2007) | 1 line
Fixed the problem where if ring groups are defined, then deleted, it still picks them up and leaves the GoTo in the default context.
........
Modified:
branches/asterisknow/ (props changed)
branches/asterisknow/config/ringgroups.html
Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Thu Jun 21 16:56:43 2007
@@ -1,1 +1,1 @@
-/trunk:1-449,489-540,542-557,559,561-577,580-586,588-1080,1085,1094,1097,1100,1103,1116,1120,1124
+/trunk:1-449,489-540,542-557,559,561-577,580-586,588-1080,1085,1094,1097,1100,1103,1116,1120,1124,1141
Modified: branches/asterisknow/config/ringgroups.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/ringgroups.html?view=diff&rev=1142&r1=1141&r2=1142
==============================================================================
--- branches/asterisknow/config/ringgroups.html (original)
+++ branches/asterisknow/config/ringgroups.html Thu Jun 21 16:56:43 2007
@@ -137,6 +137,11 @@
function delete_rg(g){
if(!confirm("Are you sure ?")){ return true; }
var uri = build_action('delcat', 0, RG_FORMAT+g, "", "");
+ /* If we made a goto extension in default, delete the reference. */
+ if(ringgroups[RG_EDITING].rgExten){
+ var rlex = ringgroups[RG_EDITING].rgExten + ',1,Goto(' + RG_FORMAT+RG_EDITING + '|s|1)' ;
+ uri += build_action('delete', 1, specialcontext, "exten", "", rlex);
+ }
makerequest('u','extensions.conf', uri, function(t){
delete ringgroups[g];
clear_table();
More information about the asterisk-gui-commits
mailing list