bkruse: branch asterisknow r2747 - /branches/asterisknow/config/home.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Mar 31 13:02:07 CDT 2008


Author: bkruse
Date: Mon Mar 31 13:02:06 2008
New Revision: 2747

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=2747
Log:
We want to make sure this macro does not compare
arguments of "14" < "6", but rather 14 < 6.
(Numerical instead of strings.)

(closes issue #12331)

Modified:
    branches/asterisknow/config/home.html

Modified: branches/asterisknow/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/home.html?view=diff&rev=2747&r1=2746&r2=2747
==============================================================================
--- branches/asterisknow/config/home.html (original)
+++ branches/asterisknow/config/home.html Mon Mar 31 13:02:06 2008
@@ -209,7 +209,7 @@
 		chs.build_action ( 'delcat', c , mtd, '', '');
 		chs.build_action ( 'newcat', c , mtd, '', '');
 
-		chs.build_action ( 'append', c , mtd, 'exten', 's,1,set(CALLERID(all)=${IF($["${LEN(${CALLERID(num)})}" > "6"]?${CALLERID(all)}:${ARG2})})' );
+		chs.build_action ( 'append', c , mtd, 'exten', 's,1,set(CALLERID(all)=${IF($[${LEN(${CALLERID(num)})} > 6]?${CALLERID(all)}:${ARG2})})' );
 		chs.build_action ( 'append', c , mtd, 'exten', 's,n,Dial(${ARG1})' );
 		chs.build_action ( 'append', c , mtd, 'exten', 's,n,Goto(s-${DIALSTATUS},1)' );
 		chs.build_action ( 'append', c , mtd, 'exten', 's-NOANSWER,1,Hangup' );




More information about the asterisk-gui-commits mailing list