rbrindley: branch 2.0 r4723 - /branches/2.0/config/js/astman.js
    SVN commits to the Asterisk-GUI project 
    asterisk-gui-commits at lists.digium.com
       
    Wed Apr  8 13:19:38 CDT 2009
    
    
  
Author: rbrindley
Date: Wed Apr  8 13:19:34 2009
New Revision: 4723
URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4723
Log:
- if iax, use the first 10 chars of the trunk name
- if sip, use the first 12 chars of the trunk name
Modified:
    branches/2.0/config/js/astman.js
Modified: branches/2.0/config/js/astman.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/astman.js?view=diff&rev=4723&r1=4722&r2=4723
==============================================================================
--- branches/2.0/config/js/astman.js (original)
+++ branches/2.0/config/js/astman.js Wed Apr  8 13:19:34 2009
@@ -1181,8 +1181,10 @@
 
 		if(ttype=='iax'){
 			var lines = registry.iax2.split('\n');
+			uname = uname.substring(0,10);
 		}else if(ttype=='sip'){
 			var lines = registry.sip.split('\n');
+			uname = uname.substring(0,12);
 		}
 
 		//var uname_lc = uname.toLowerCase();
    
    
More information about the asterisk-gui-commits
mailing list