I'll look at it. You're right, it should burp.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
#!/bin/sh
# get a list of macs amd manufacturers from IEEE
#
[ ! -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 "http://www.sailpbx.com/sail/public/manuf.txt" > /tmp/manuf.txt
ret=$?
if test "$ret" != "0"; then
logger SARKgetmaclist - **** Link fail - Could not fetch new manufacturer MAC DB ****
exit 4
fi
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
$short_vendor_cols = explode($delim,$vendorline,3);
$short_vendor_cols = preg_split('/\s+/',$vendorline,3);
sudo rm /opt/sark/www/sark-common/manuf.txt
sudo sh /opt/sark/scripts/getmaclist.sh
root@ip-10-0-1-34:~# cat /etc/shorewall/local.lan
LAN=10.0.1.0/24
php /opt/sark/generator/setip.php
May 8 15:31:51 ip-10-0-1-34 php: SRK setip Interface name on this node: eth0
May 8 15:31:51 ip-10-0-1-34 php: SRK setip IPV4: 10.0.1.34
May 8 15:31:51 ip-10-0-1-34 php: SRK setip staticIPV4:
May 8 15:31:51 ip-10-0-1-34 php: SRK setip Network address: 10.0.1.0
May 8 15:31:51 ip-10-0-1-34 php: SRK setip netmask: 255.255.255.0
May 8 15:31:51 ip-10-0-1-34 php: SRK setip CIDR: 24
QuoteThe description says
"Optional: 1 or 2 digit pre-select code which you can use to seize a specific trunk (must be systemwide unique)"
And I see you have a ":" after the number but that also did not work.
The pre-select and the dial plan in the phone worked fine on earlier versions of Sark. Doing a snGrep during a call it does not select the correct trunk. Why pre-select? To get the right DiD associated to the call for the called party to ring back on the correct line. Unless there is another way to do it?
91:
dpkg -i /home/{someuser}/sail_6.2.0-24+deb10u1_all.deb