List Info

Thread: bkruse: trunk r1710 - in /trunk: ./ config/queues.html




bkruse: trunk r1710 - in /trunk: ./ config/queues.html
user name
2007-10-22 13:54:54
Author: bkruse
Date: Mon Oct 22 13:54:54 2007
New Revision: 1710

URL: http://svn.digium.com/view/asterisk-gui?view=rev&am
p;rev=1710
Log:
Merged revisions 1709 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-gui/branches/1.4


........
r1709 | bkruse | 2007-10-22 13:54:24 -0500 (Mon, 22 Oct
2007) | 3 lines

Fixing an issue with finding queues.
(Closes issue #10992)

........

Modified:
    trunk/   (props changed)
    trunk/config/queues.html

Propchange: trunk/
------------------------------------------------------------
------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/config/queues.html
URL: h
ttp://svn.digium.com/view/asterisk-gui/trunk/config/queues.h
tml?view=diff&rev=1710&r1=1709&r2=1710
============================================================
==================
--- trunk/config/queues.html (original)
+++ trunk/config/queues.html Mon Oct 22 13:54:54 2007
 -43,24
+43,21 
 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,Answer()', a+',1,Answer()'); 
-	uri += build_action('update', 1, specialcontext ,'exten',
b+',2,Queue($)', a+',2,Queue($)'); 
+	var uri = build_action('update', 0, specialcontext
,'exten', b+',1,Queue($)', a+',1,Queue($)'); 
 	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,Answer()');
-	uri += build_action('append', 1, specialcontext ,'exten',
a+',2,Queue($)'); 
+	var uri = build_action('append', 0, specialcontext
,'exten', a+',1,Queue($)'); 
 	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,Answer()'); 
-	uri += build_action('delete', 1, specialcontext ,'exten',
'',a+',1,Queue($)'); 
+	var uri = build_action('delete', 0, specialcontext
,'exten', '',a+',1,Queue($)'); 
 	makerequest('u','extensions.conf', uri, function(t){return
true;});
 }
 


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

asterisk-gui-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-g
ui-commits

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )