[asterisk-gui] Asterisk 1.8 and Asterisk 2 GUI

Andrew Latham lathama at gmail.com
Wed Jan 12 05:31:53 CST 2011


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 = ',';
                }
        };



~~~ Andrew "lathama" Latham lathama at gmail.com ~~~



On Wed, Jan 12, 2011 at 4:03 AM, Rupert Utteridge <rupertu at dtasia.net> wrote:
> Happy New Year to the Asterisk community.
>
>
>
> I have been checking and there does not appear to be any activity with
> Asterisk 1.8 operating with the Asterisk 2 GUI and interoperability? I
> apologise if this is incorrect.
>
>
>
> From last findings and my own experience is that these two do not
> interoperate yet? If anyone has a fix for this they are please to share we
> would be very interested in testing.
>
>
>
> Rupert Utteridge
>
>
>
> Sydney:        +61 2 9037 4191
>
> Hong Kong: +852 2517 0933
>
> Beijing:         +86 10 6510 1588
>
>
>
> Skype:          rupertdtasia
>
> Web:             www.dtasia.net
>
>
>
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-gui
>



More information about the asterisk-gui mailing list