• Welcome to SAIL Community Supported PBX . Please login or sign up.
 
May 17, 2024, 03:32:55 PM

News:

SMF updated to 2.0


Recent posts

Pages 1 ... 3 4 5 6 7 ... 10
41
Hi,

Would you mind running the install again please?   We'd missed all of the module combinations.  Apologies.  I thin it should work for you now.
42
General Discussion on SAIL and Asterisk / Re: provisioning templates - K...
Last post by efga - January 07, 2022, 09:01:26 PM
Thanks! Just followed the instructions on ubuntu-20.04.3, but it complaints about unmet dependencies for sailhpe (>= 6.0.0-2). In addition the sounds package appears missing to at the moment from the repo.
43
Yes, it is available now and the install instructions can be found here

http://sailpbx.com/mediawiki/index.php/SARK_V6.2.0_install

Before you do this install you should back up your existing config and download it to your desktop before you proceed.   Better yet, install it as a new side-by-side image and apply a backup from your existing system.





44
General Discussion on SAIL and Asterisk / Invalid MAC address
Last post by sysadmin - December 13, 2021, 05:01:11 PM
In version 6 systems you may encounter the above message when adding a new extension.   The cause is a URL change in the location of the wireshark public mainufacturers' database.   We are working up a fix in source but it will take a few days.  In the meantime here is a module fix you can apply directly to your system.

The module which fetches the manufacturers database is

/opt/sark/scripts/getmaclist.sh

Replace the module with this one

#!/bin/sh
# get a list of macs amd manufacturers
#

[ ! -e /opt/sark/www/sark-common/manuf.txt ]  && touch /opt/sark/www/sark-common/manuf.txt
chown www-data:www-data /opt/sark/www/sark-common/manuf.txt
curl -L -s "https://gitlab.com/wireshark/wireshark/-/raw/master/manuf" > /tmp/manuf.txt
if [ -s /tmp/manuf.txt ]; then
        diff /opt/sark/www/sark-common/manuf.txt /tmp/manuf.txt
        if [  "$?" -ne "0" ] ; then
                mv /tmp/manuf.txt /opt/sark/www/sark-common/manuf.txt
                logger SARKgetmaclist - updated manufacturer MAC DB
        else
                logger SARKgetmaclist - manufacturer MAC DB up to date
        fi
else
        logger SARKgetmaclist - **** Could not fetch new manufacturer MAC DB ****
fi

This module gets run every Sunday at 00:00 hours so it will self heal if you leave it to its own devices.  However, you can prime it by simply running the module.

sudo sh /opt/sark/scripts/getmaclist.sh
     
45
Debian / Re: Difficult modem
Last post by sysadmin - November 14, 2021, 11:47:32 AM
That's unfortunate.   Asterisk can only listen on a single port for SIP.  Look here for a full explanation

https://github.com/asterisk/asterisk/blob/master/configs/samples/sip.conf.sample

From 6.2 you can set the SIP listen port in the Net->IP Settings panel and SARK will switch it for you.  However, there are consequences to doing that.  Most, if not ALL, SIP carriers only listen on 5060 so you'll need to deal with that if you want to talk to one.   You can do that by setting port=5060 in the trunk definition for the connection.   However, Asterisk will still not listen on 5060 so it will need to be a trunk you register with in order for it to work.   Moreover, you will need to set all of your downstream phones to register with Asterisk using 7070.   This varies from manufacturer to manufacturer so you'll need to read up on it.

Finally, if your remote SARK is simply communicating with another Asterisk then you might consider using IAX to do the trunking, thus sidestepping the issue altogether.   

Very naughty of the modem/router to be using a well-known port for some other purpose.     

 
46
Debian / Re: Top Menu items missing
Last post by sysadmin - November 14, 2021, 11:38:05 AM
It can be a few things. 

Is this during an upgrade?

Did you port a previous database backup?   
47
Debian / Difficult modem
Last post by compsos - October 21, 2021, 11:03:46 PM
Hi
Debain 10
System
PBX release: 16.2.1
SAIL Release: 6.0.1-57+deb10u1
HPE Release: 6.0.0-2
Endpoints defined: 4

On a remote site we have been blessed with a modem that answers port 5060. So far no way to shut it down.
How can we set sark to operate the trunk on say 7070?
We have entered port=7070 in the stanza but no luck.
Thanks
48
General Discussion on SAIL and Asterisk / Re: provisioning templates - K...
Last post by efga - October 09, 2021, 11:03:26 AM
Quote from: sysadmin on September 09, 2021, 07:22:27 PMThe BLF template setting has been exposed in 6.2.0-18.  The 6.2 installation procedure has changed and I will post a write-up in the main wiki showing how to install it.



Anything further on the availability of the 6.2.0-18 release and the write-up on the change in installation procedure? Thank you.
49
Debian / Re: Top Menu items missing
Last post by compsos - September 13, 2021, 06:06:27 AM
I did get an error on this code
public function request_syscmd ($data) {

//establish connection to the daemon

        $fp = fsockopen( "127.0.0.1", 7601, $errno, $errdesc, 1)
                or die("Connection to 127.0.0.1:7601 failed");
        $ret = null;
// read the ack sent by server.
        $ack[] = fgets($fp, 8192);
    $this->logit(" request_syscmd sending -> $data", 5 );
        fputs($fp, "$data\n");
//      while( ! preg_match(' /EOT/ ',$ret)) {
        while (1) {
                $ret .= fgets($fp, 8192);
                if ( ! preg_match(' /EOT/ ',$ret)) {
                        break;
                }
        }
        fclose($fp);
        return ($ret);

}

Log
/var/log/apache2/error.log:[Mon Sep 13 08:14:42.160251 2021] [php7:warn] [pid 746] [client 192.168.175.140:60394] PHP Warning:  fsockopen(): unable to connect to 127.0.0.1:7601 (Connection refused) in /opt/sark/php/srkHelperClass on line 73, referer: https://pbx.domain/php/sarknetwork/main.php

But I can telnet at the port fine.
50
Debian / Re: Top Menu items missing
Last post by compsos - September 13, 2021, 12:01:27 AM
I should clarify that I do get the Commit and Update buttons just not the navigation ones.
Pages 1 ... 3 4 5 6 7 ... 10