One may try this to make GUI works with asterisk 1.8
Here is a quick and dirty patch, the isAST_1_6_1 will give you most
of the actions that you need. I just got my svn access so I will work
to add 1.8, 1.10 support to this soon. Keep in mind that the new
mjson addition to the manager will enable us to rewrite a lot of this
more cleanly.
Index: config/js/index.js
===================================================================
--- config/js/index.js (revision 5132)
+++ config/js/index.js (working copy)
@@ -134,13 +113,11 @@
'h263p': 'H.263p',
'h264' : 'H.264'
};
-
- /* add video codecs for 1.6 platforms */
- } else { /* if system is either 1.4 or unknown */
- sessionData.PLATFORM.isAST_1_4 = true ;
- sessionData.PLATFORM.isAST_1_6 = false ;
+ } else {
+ sessionData.PLATFORM.isAST_1_4 = false ;
+ sessionData.PLATFORM.isAST_1_6 = true ;
+ sessionData.PLATFORM.isAST_1_6_1 = true ;
}
- }
},
check_ReadWritePermissions : function(){
@@ -551,7 +528,7 @@
}
//if( sessionData.PLATFORM.isAA50 ){
- DOM_mainscreen.src = 'home.html?status=1';
+ DOM_mainscreen.src = 'home.html?status=0';
//}
if( sessionData.PLATFORM.isAA50 &&
sessionData.PLATFORM.AA50_SKU.contains('800') ){
@@ -1117,7 +1094,7 @@
* doing time intervals for includes :-/
* */
if (!sessionData.PLATFORM.isAST_1_6) {
- top.session.delimiter = '|';
+ top.session.delimiter = ',';
}
}; |