Koozali.org: home of the SME Server

SAIL 4 DEB Build 62 and Fixes

Offline apmuthu

  • *
  • 244
  • +0/-0
SAIL 4 DEB Build 62 and Fixes
« on: April 06, 2013, 03:44:21 PM »
SAIL4deb Build 62 sporting multicast SIP has been released and the post release bug fixes are here.

The Unified patch for the bugfixes is:
Code: [Select]
opt/sark/php/sarkextension/javascript.js | 2 +-
 opt/sark/php/sarkextension/view.php      | 2 +-
 opt/sark/php/sarkroute/view.php          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opt/sark/php/sarkextension/javascript.js b/opt/sark/php/sarkextension/javascript.js
index 58d5a5c..8a0f3c6 100644
--- a/opt/sark/php/sarkextension/javascript.js
+++ b/opt/sark/php/sarkextension/javascript.js
@@ -26,7 +26,7 @@
 
        },
        messages: {
-           newpkey: "Please enter a valid extension number (3 or 4 digits)",
+           pkey: "Please enter a valid extension number (3 or 4 digits)",
            vmailfwd: "Invalid email address",
            cfim: "Call forward must be blank (default) or a numeric integer",
            cfbs: "Call forward must be blank (default) or a numeric integer",
diff --git a/opt/sark/php/sarkextension/view.php b/opt/sark/php/sarkextension/view.php
index 311da6a..290495d 100644
--- a/opt/sark/php/sarkextension/view.php
+++ b/opt/sark/php/sarkextension/view.php
@@ -317,7 +317,7 @@ private function showNew() {
     $this->myPanel->aLabelFor('device');
     $this->myPanel->popUp('device', $devices);
     $this->myPanel->aLabelFor('devicerec');
-    $this->myPanel->popUp('devicerec', array('default','None','OTR','OTRR','Inbound','Outbound'));
+    $this->myPanel->popUp('devicerec', array('default','None','OTR','OTRR','Inbound','Outbound','Both'));
     $this->myPanel->aLabelFor('vmailfwd');
     echo '<input type="text" name="vmailfwd" id="vmailfwd" size="20"  />' . PHP_EOL;
     $this->myPanel->aLabelFor('macaddr');
diff --git a/opt/sark/php/sarkroute/view.php b/opt/sark/php/sarkroute/view.php
index 388ee22..eea76b9 100644
--- a/opt/sark/php/sarkroute/view.php
+++ b/opt/sark/php/sarkroute/view.php
@@ -279,7 +279,7 @@ private function showEdit($key=False) {
     $trunklist = array();
     array_push($trunklist, "None");
     $sql = "select li.pkey,ca.technology from lineio li inner join carrier ca on li.carrier=ca.pkey " .
-            "where ca.technology='IAX2' OR ca.technology='SIP' OR ca.technology='DAHDI' ";           
+            "where ca.technology='IAX2' OR ca.technology='SIP' OR ca.technology='DAHDI' OR ca.technology='Custom' ";           
     $rows = $this->helper->getTable("lineio", $sql);
   
     foreach ($rows as $row) {