bkruse: branch 2.0 r4018 - /branches/2.0/config/js/astman.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Sat Oct 25 04:59:34 CDT 2008


Author: bkruse
Date: Sat Oct 25 04:59:32 2008
New Revision: 4018

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4018
Log:
Late night bug fixes!
We need to find a better way around this, as we won't be able to
accuratly tell what username _is_ actually there.
(closes issue #13779)

Modified:
    branches/2.0/config/js/astman.js

Modified: branches/2.0/config/js/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/astman.js?view=diff&rev=4018&r1=4017&r2=4018
==============================================================================
--- branches/2.0/config/js/astman.js (original)
+++ branches/2.0/config/js/astman.js Sat Oct 25 04:59:32 2008
@@ -1192,7 +1192,9 @@
 		//var uname_lc = uname.toLowerCase();
 		// TODO: come up with a better alternative than this
 		// cli output of 'sip show registry' shows only a part of long usernames
-		var uname_lc = uname.toLowerCase().substr(0,12);
+		// We should use action: status like we do for active channel monitoring.
+		
+		var uname_lc = uname.toLowerCase().substr(0,10);
 
 		for(var i = 0; i < lines.length; i++) {
 			var line = lines[i].trim().toLowerCase();




More information about the asterisk-gui-commits mailing list