Koozali.org: home of the SME Server

SAIL v3.1.1-20 Code Fixes

Offline apmuthu

  • *
  • 244
  • +0/-0
SAIL v3.1.1-20 Code Fixes
« on: January 20, 2013, 09:44:16 AM »
What undocumented service is running on Port 7601 seen in /opt/sark/scripts/srkhelper.pl ?

Line 274 in /opt/sark/www/sark-common/css/sark.css
Code: [Select]
/* used by sarkedsw  /*should be
Code: [Select]
/* used by sarkedsw  */
Insert at line 22 in /opt/sark/www/provisioning/snom/snom.php:
Code: [Select]
          'Snom 821'=>'snom821.htm',
Changes (patch listed below) in /opt/sark/generator/extensions.php that may be incorporated:
Code: [Select]
--- sail311-20/opt/sark/generator/extensions.php    Mon Oct 08 02:43:27 2012
+++ sail400-34/opt/sark/generator/extensions.php    Wed Dec 26 17:32:16 2012
@@ -92,11 +92,13 @@
 //
     if ($global['COSSTART'] == "ON") {
         $OUT .= "\texten => _X.,1,agi(sarkhpe,OutCos,\${EXTEN},,)\n";   
-        $OUT .= "\texten => _[+*]X.,1,agi(sarkhpe,OutCos,\${EXTEN},,)\n";   
+        $OUT .= "\texten => _[+*]X.,1,agi(sarkhpe,OutCos,\${EXTEN},,)\n";
+        $OUT .= "\texten => _**X.,1,agi(sarkhpe,OutCos,\${EXTEN},,)\n";   
     }
     elseif ($global['CLUSTER'] == "ON") {
         $OUT .= "\texten => _X.,1,agi(sarkhpe,OutCluster,\${EXTEN},,)\n";
         $OUT .= "\texten => _[+*]X.,1,agi(sarkhpe,OutCluster,\${EXTEN},,)\n";
+        $OUT .= "\texten => _**X.,1,agi(sarkhpe,OutCluster,\${EXTEN},,)\n";
     }
     else {
         $OUT .= "\tinclude => qrxvtmny \n";   
@@ -230,7 +232,7 @@
         $OUT .= "\texten => t,1,Hangup\n";
         $OUT .= "\texten => h,1,Hangup\n";
         $OUT .= "\texten => i,1,Playtones(congestion)\n";
-        $OUT .= "\texten => i,2,Hangup\n\n";
+        $OUT .= "\texten => i,2,Hangup\n";
 //
 //    Queues
 //
@@ -334,6 +336,7 @@
         $OUT .= "\n[Cosend]\n";
         $OUT .= "\texten => _X.,1,agi(sarkhpe,OutCluster,\${EXTEN},,)\n\n";
         $OUT .= "\texten => _[+*]X.,1,agi(sarkhpe,OutCluster,\${EXTEN},,)\n\n";
+        $OUT .= "\texten => _**X.,1,agi(sarkhpe,OutCluster,\${EXTEN},,)\n\n";
 //
 //  Meetme
 //

There are some lexical changes in tt_help_core records in r1561 and r1791 in the /opt/sark/amacs folder.

The following scripts in the /opt/sark/amacs/ folder v4.0.0-34 are absent in v3.1.1-20:
Code: [Select]
r1833
r1833SME
r1858
r1915
r1916
r1926
Are the above necessary for v3.1.1-20?

/opt/sark/scripts/srkstst.sh is now available only in SAIL v4.0.0-34 - is it needed even there?

It appears that the $dbh->prepare() and unsetting the closed db handle is not yet implemented in SAIL v4.0.0-34 in /opt/sark/perl/modules/sark/SarkSubs.pm .
« Last Edit: January 20, 2013, 10:56:07 AM by apmuthu »

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: SAIL v3.1.1-20 Code Fixes
« Reply #1 on: January 20, 2013, 11:06:03 AM »
A wiki page has been created for SAIL v3.1.1-20 / Asterisk 1.8 / SME 8.