bkruse: branch asterisknow r1583 - in /branches/asterisknow: ./ config/

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Sep 11 23:40:51 CDT 2007


Author: bkruse
Date: Tue Sep 11 23:40:51 2007
New Revision: 1583

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1583
Log:
Merged revisions 1581 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-gui/branches/1.4

........
r1581 | bkruse | 2007-09-11 23:38:06 -0500 (Tue, 11 Sep 2007) | 3 lines

Quick fix for queues.
(closes issue #10583)

........

Modified:
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/queues.html

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: branches/asterisknow/config/queues.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/queues.html?view=diff&rev=1583&r1=1582&r2=1583
==============================================================================
--- branches/asterisknow/config/queues.html (original)
+++ branches/asterisknow/config/queues.html Tue Sep 11 23:40:51 2007
@@ -43,21 +43,24 @@
 function rename_extension(a,b){
 	// rename extension 'a' in extensions.conf to 'b'
 	// change 'exten => a,1,Queue' in default to 'exten => b,1,Queue'
-	var uri = build_action('update', 0, specialcontext ,'exten', b+',1,Queue(${EXTEN})', a+',1,Queue(${EXTEN})' ); 
+	var uri = build_action('update', 0, specialcontext ,'exten', b+',1,Answer()', a+',1,Answer()'); 
+	uri += build_action('update', 1, specialcontext ,'exten', b+',2,Queue(${EXTEN})', a+',2,Queue(${EXTEN})'); 
 	makerequest('u','extensions.conf', uri, function(t){return true;} );
 }
 
 function add_extension(a){
 	// add extension 'a' in extensions.conf 
 	// add 'exten => a,1,Queue' to default
-	var uri = build_action('append', 0, specialcontext ,'exten', a+',1,Queue(${EXTEN})');
+	var uri = build_action('append', 0, specialcontext ,'exten', a+',1,Answer()');
+	uri += build_action('append', 1, specialcontext ,'exten', a+',2,Queue(${EXTEN})'); 
 	makerequest('u','extensions.conf',uri, function(t){return true;} );
 
 }
 
 function delete_extension(a){
 	// delete extension 'a' in extensions.conf
-	var uri = build_action('delete', 0, specialcontext ,'exten', '',a+',1,Queue(${EXTEN})'); 
+	var uri = build_action('delete', 0, specialcontext ,'exten', '',a+',1,Answer(); 
+	uri += build_action('delete', 1, specialcontext ,'exten', '',a+',1,Queue(${EXTEN})'); 
 	makerequest('u','extensions.conf', uri, function(t){return true;});
 }
 




More information about the asterisk-gui-commits mailing list