25 Jun 2011 @ 7:21 AM 

This was fun. Installed asterisk from ports, version 1.8.

asterisk-gui (which is in /usr/ports/www in case you were looking for it in /usr/ports/net) installs okay. Edited manager.conf and started getting a browser loop. Found a bug report from about a month ago. There is javascript version detection, and it hasn’t been corrected to check for version 1.8, and so it loops badly.

In the file, /usr/local/share/asterisk/static-http/config/js, change the asterisk1.6 to 1.8 like below (highlighted in red):

detectPlatform: function(resp){                sessionData.AsteriskVersionString = resp;                  // logic for platform detection,                if( sessionData.PLATFORM.isAA50 || sessionData.PLATFORM.isABE ){                        if( sessionData.PLATFORM.isAA50 ){                                sessionData.PLATFORM.isOSA = false ;                                sessionData.PLATFORM.isAST_1_4 = false ;                                sessionData.PLATFORM.isAST_1_6 = false ;                                sessionData.listOfCodecs = {                                        ‘ulaw’ : ‘u-law’ ,                                        ‘alaw’ : ‘a-law’ ,                                        ‘gsm’  : ‘GSM’ ,                                        ‘g729’ : ‘G.729A’,                                        ‘g726’ : ‘G.726’ ,                                        ‘g722’ : ‘G.722’                                };                        }                        // ??                }else{                        var resp_lower = resp.toLowerCase();                        if(  resp_lower.contains(“branches/1.4”)  || resp_lower.contains(“asterisk/1.4”) ||  resp_lower.contains(“svn-branch-1.4”) ) {                                sessionData.PLATFORM.isAST_1_4 = true ;                                sessionData.PLATFORM.isAST_1_6 = false ;                        }else if ( resp_lower.contains(“branches/1.6”)  || resp_lower.contains(“asterisk/1.8“) ||  resp_lower.contains(“svn-branch-1.6”) ||  resp_lower.contains(“svn-trunk-“)  ){                                sessionData.PLATFORM.isAST_1_4 = false ;                                sessionData.PLATFORM.isAST_1_6 = true ;                        }else {                                sessionData.PLATFORM.isAST_1_4 = true ;                                sessionData.PLATFORM.isAST_1_6 = false ;                        }                }        },

Posted By: caunter
Last Edit: 25 Jun 2011 @ 07:21 AM

EmailPermalinkComments (0)
Tags
Categories: inputs
 13 Jun 2011 @ 6:27 AM 

The lynx browser is updated at version 2.8.8dev9 – I have blogged about using it to restream IP camera video.

I’m doing a fair amount of interesting video streaming with Scale Engine. We are engineering geo-located fast-start high bandwidth h264 video on demand and live streaming.

Posted By: caunter
Last Edit: 13 Jun 2011 @ 06:30 AM

EmailPermalinkComments (0)
Tags
Categories: Video CDN

 Last 50 Posts
 Back
Change Theme...
  • Users » 330
  • Posts/Pages » 47
  • Comments » 1
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

Music



    No Child Pages.