rbrindley: branch 2.0 r4958 - /branches/2.0/config/js/index.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Jul 1 14:29:14 CDT 2009


Author: rbrindley
Date: Wed Jul  1 14:29:09 2009
New Revision: 4958

URL: http://svn.asterisk.org/svn-view/asterisk-gui?view=rev&rev=4958
Log:

- change ExecIf to the new format if this is a 1.6 system

(closes issue #14805)
Reported by: BobCrandell


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

Modified: branches/2.0/config/js/index.js
URL: http://svn.asterisk.org/svn-view/asterisk-gui/branches/2.0/config/js/index.js?view=diff&rev=4958&r1=4957&r2=4958
==============================================================================
--- branches/2.0/config/js/index.js (original)
+++ branches/2.0/config/js/index.js Wed Jul  1 14:29:09 2009
@@ -117,6 +117,9 @@
 				sessionData.PLATFORM.isAST_1_4 = false ;
 				sessionData.PLATFORM.isAST_1_6 = true ;
 				sessionData.PLATFORM.isAST_1_6_1 = resp_lower.contains('1.6.1') ? true : false;
+				ASTGUI.globals.sbcid_1 = 's,1,ExecIf($[ "${CALLERID(num)}"="" ]?SetCallerPres(unavailable))';
+				ASTGUI.globals.sbcid_2 = 's,1,ExecIf($[ "${CALLERID(num)}"="" ]?Set(CALLERID(all)=unknown <0000000>))';
+		sbcid_2 : 's,2,ExecIf($[ "${CALLERID(num)}"="" ],Set,CALLERID(all)=unknown <0000000>)',
 			} else { /* if system is either 1.4 or unknown */
 				sessionData.PLATFORM.isAST_1_4 = true ;
 				sessionData.PLATFORM.isAST_1_6 = false ;




More information about the asterisk-gui-commits mailing list