Dear all,
I was thinking to install Hylafax on my FreePBX Distro to add FAX capability. I am wondering how people manage faxes with Hylafax and FreePBX?
Best.
Dear all,
I was thinking to install Hylafax on my FreePBX Distro to add FAX capability. I am wondering how people manage faxes with Hylafax and FreePBX?
Best.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
To fix the ucp not staying alive problem, the default keys are too short for opsnssl , edit the last line of /etc/ssl/opsnssl.cfg to say 1 not 2 until you get better keys.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
I was wondering if the email send from FreePBX is encrypted? I am particularly interested in email notification of received Faxes.
I use Gmail as my SMTP provider. I looked at /etc/postfix/main.cf and at the end it says:
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_type = cyrus
smtp_use_tls = yes
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
relayhost = smtp.gmail.com:587
myhostname = nameofmydomain.com
mydomain = nameofmydomain.com
myorigin = nameofmydomain.com
I think based on this information that the email transmission is encrypted but appreciated reassurance.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
I have a couple items in the caller ID management. When attempting to add another entry an error occurs.
PBXact 14.0.5.5
open a commercial module ticket at https://support.sangoma.com
FYI,
I looked at the email header and it was encrypted:
version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128
Known issue:
https://issues.freepbx.org/browse/FREEPBX-17839
Delete id 0 or open a support ticket.
I did try to turn edge on and upgrade to the latest version and that made things worse as I received exceptions during the install. I downgraded to 13.0.8.9 and now it works. It is working now so I will leave things alone.
it saying that it 4 line phone how to setup the phone make calls and how to intercom my friend has the same phone i have do i used ip address
So, I know bash scripts aren’t allowed here so what i post is not one but with a simple modification it might help those who boldly go (this works on DO/Buster)
#!/bin/nofuckingwayits a scriptforbash, if i was it would just be #!bin/bash, but it's not ;-)
# stage 1 setup base environment for DO, maybe others
#make as swap file for the needy
dd if=/dev/zero of=/.swapfile bs=1M count=1000
chmod 600 /.swapfile
mkswap /.swapfile
echo -e "/.swapfile\tswap\tswap" >> /etc/fstab
swapon -a
# get apt ready to apt
apt-get -y update
apt-get -y upgrade
# get php7.0 ready
apt install -y software-properties-common ca-certificates apt-transport-https curl gnupg2
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list
# install node/npm , (don't use 10+)
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get install -y nodejs
#fix the Cementos/Debian libicu thingy
echo 'icuinfo 2>/dev/null|grep "\"version\""|sed "s/.*\">\(.*\)<.*/\1/g"' > /usr/bin/icu-config
chmod +x /usr/bin/icu-config
#stage 2 install the needed debs
apt-get install -y mlocate asterisk apache2 libapache2-mod-fcgid build-essential openssh-server apache2 mariadb-server \
mariadb-client bison flex php7.0 php7.0-curl php7.0-cli php7.0-pdo php7.0-mysql php7.0-mbstring php7.0-xml \
sox libncurses5-dev libssl-dev mpg123 libxml2-dev libnewt-dev sqlite3 libsqlite3-dev pkg-config automake \
libtool autoconf git unixodbc-dev uuid uuid-dev libasound2-dev libogg-dev libvorbis-dev libicu-dev \
libcurl4-openssl-dev libical-dev libneon27-dev libsrtp2-dev libspandsp-dev sudo subversion libtool-bin \
python-dev unixodbc dirmngr postfix sudo mc traceroute rsync sngrep ffmpeg
#set a reduced security for defult freepbx keys
sed -i 's/^CipherString.*/CipherString = DEFAULT@SECLEVEL=1/' /etc/ssl/openssl.cnf
#stage 3 install FreePBX
systemctl stop asterisk
rm -rf /etc/asterisk
mkdir /etc/asterisk
touch /etc/asterisk/{modules,cdr}.conf
chown asterisk. /var/run/asterisk
chown -R asterisk. /etc/asterisk
chown -R asterisk. /var/{lib,log,spool}/asterisk
chown -R asterisk. /usr/lib/asterisk
rm -rf /var/www/html
sed -i 's/\(^upload_max_filesize = \).*/\120M/' /etc/php/7.0/apache2/php.ini
cp /etc/apache2/apache2.conf /etc/apache2/apache2.conf_orig
sed -i 's/^\(User\|Group\).*/\1 asterisk/' /etc/apache2/apache2.conf
sed -i 's/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf
sed -i 's/^memory_limit.*$/memory_limit = 256M/g' /etc/php/7.0/apache2/php.ini
a2enmod rewrite
service apache2 restart
cd /usr/src
wget http://mirror.freepbx.org/modules/packages/freepbx/freepbx-15.0-latest.tgz
tar vxfz freepbx-15.0-latest.tgz
rm -f freepbx-15.0-latest.tgz
cd freepbx
./start_asterisk start
./install -n
#last stage get, the basic modules working for UCP
fwconsole ma upgradeall
fwconsole ma downloadinstall certman
fwconsole ma downloadinstall userman
fwconsole ma downloadinstall ucp
#fix notifications so oly the good guys remain
mysql asterisk -e 'delete from notifications'
fwconsole r
#should be ready go . . .
exit 0
Currently, there is a problem with pm2 on restaring the machine, I fix it with
fwconsole downloadinstall ucp,
a while after boot ( do the proper systemd enable rc-local thing )
wbrtc is dependent on ucp so include that disable/enable around the downloadinstall
(Thanks to all the behind the scenes dudes who got me going on this)
Google Voice is now a “pie in the sky” on anything but a proprietary ata, you get what you pay for, look for a paid solution, just do the math on sub 1cent per minute calls in your case over a month.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
Rather than reinventing the wheel, there’s a fully automated script that’s been available for years:
https://www.dslreports.com/forum/r30661088-PBX-FreePBX-for-the-Raspberry-Pi
The included script (install) and archive (install.tar.gz) will build
FreePBX 13, 14, or 15 plus Asterisk 13, 15, 16, or 16-GVSIP on a Raspberry Pi.
iptables, dnsmasq, and exim4 are also installed.
Installation takes a approximately 35 minutes to complete on a Raspberry Pi 4B.
Hi,
I have set up a VM FreePBX 14.0.13.4, and a sip trunk to my local phone provider which is working fine. The pbx is behind a Zyxel firewal which then connects to the router. Every Sunday morning at 04:30 I suppose the phone provider is doing some DSLAM maintenance or firmware upgrades and my SIP trunk goes down and does not re-register until I come to office and stop asterisk for at least 60 minutes and restart it, or stop the pbx’s network or of course reboot the pbx, or reboot my firewall. I have a static IP, NAT Settings as follows:
NAT=yes
IP configuration=Dynamic IP (though changed today that to Static IP)
Override External IP=myhostname (though changed that today to my public IP)
I have setup pbx’s SIP Settings as follows:
Registration Timeout=65
Registration Attempts=0
Minimum Expiry=60
Maximum Expiry=300
Default Expiry=120
Here is what I get in logs:
[2019-07-14 04:31:10] VERBOSE[5271] asterisk.c: Remote UNIX connection
[2019-07-14 04:31:10] VERBOSE[3326] asterisk.c: Remote UNIX connection disconnected
[2019-07-14 04:31:10] VERBOSE[5271] asterisk.c: Remote UNIX connection
[2019-07-14 04:31:10] VERBOSE[3332] asterisk.c: Remote UNIX connection disconnected
[2019-07-14 04:31:41] ERROR[5353] netsock2.c: getaddrinfo(“myhostname”, “(null)”, …): Name or service not known
[2019-07-14 04:31:41] NOTICE[5353] chan_sip.c: Warning: Re-lookup of ‘myhostname’ failed!
[2019-07-14 04:31:45] NOTICE[5353] chan_sip.c: Peer ‘LINE1’ is now UNREACHABLE! Last qualify: 32
[2019-07-14 04:31:55] VERBOSE[5271] asterisk.c: Remote UNIX connection
[2019-07-14 04:31:55] VERBOSE[3343] asterisk.c: Remote UNIX connection disconnected
[2019-07-14 04:32:00] ERROR[5283] netsock2.c: getaddrinfo(“serviceprovider”, “(null)”, …): Name or service not known
[2019-07-14 04:32:00] WARNING[5283] acl.c: Unable to lookup ‘serviceprovider’
[2019-07-14 04:32:13] WARNING[5353] chan_sip.c: Retransmission timeout reached on transmission 4f007b4e61e3178c442bfb8d2caf604c@[::1] for seqno 5130 (Critical Request)
Packet timed out after 31999ms with no response
[2019-07-14 04:32:56] ERROR[5283] netsock2.c: getaddrinfo(“serviceprovider”, “(null)”, …): Name or service not known
[2019-07-14 04:32:56] WARNING[5283] acl.c: Unable to lookup ‘serviceprovider’
[2019-07-14 04:33:36] VERBOSE[5271] asterisk.c: Remote UNIX connection
[2019-07-14 04:33:36] VERBOSE[3591] asterisk.c: Remote UNIX connection disconnected
[2019-07-14 04:33:42] ERROR[5353] netsock2.c: getaddrinfo(“serviceprovider”, “(null)”, …): Name or service not known
[2019-07-14 04:33:42] WARNING[5353] acl.c: Unable to lookup ‘serviceprovider’
[2019-07-14 04:33:46] ERROR[5283] netsock2.c: getaddrinfo(“myinternalpbx”, “(null)”, …): Name or service not known
[2019-07-14 04:33:46] WARNING[5283] acl.c: Unable to lookup ‘myinternalpbx’
[2019-07-14 04:33:52] NOTICE[5353] chan_sip.c: – Registration for ‘myusername@serviceprovider’ timed out, trying again (Attempt #2)
[2019-07-14 04:34:24] WARNING[5353] chan_sip.c: Retransmission timeout reached on transmission 4f007b4e61e3178c442bfb8d2caf604c@[::1] for seqno 5132 (Critical Request)
Packet timed out after 31999ms with no response
[2019-07-14 04:34:29] VERBOSE[5271] asterisk.c: Remote UNIX connection
[2019-07-14 04:34:29] VERBOSE[3733] asterisk.c: Remote UNIX connection disconnected
[2019-07-14 04:34:57] NOTICE[5353] chan_sip.c: – Registration for ‘myusername@serviceprovider’ timed out, trying again (Attempt #4)
[2019-07-14 04:35:14] VERBOSE[5271] asterisk.c: Remote UNIX connection
[2019-07-14 04:35:14] VERBOSE[3892] asterisk.c: Remote UNIX connection disconnected
[2019-07-14 04:35:29] WARNING[5353] chan_sip.c: Retransmission timeout reached on transmission 4f007b4e61e3178c442bfb8d2caf604c@[::1] for seqno 5133 (Critical Request)
Packet timed out after 32000ms with no response
Might that be a configuration problem of my pbx, or something is messing with the firewall’s NAT?
Nothing special.
Each FreePBX is in a different location and is also connected to the Analog PBX via E1.
Thank you for your help @Stewart1 @BlazeStudios @lgaetz
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.