SOLVED fspbx install

islandtech

Wassamassaw
Joined
Jan 11, 2009
Messages
758
Reaction score
175
Following the icing on the cake guide: Changing the SIP Port for Phone Registrations
Step 9. Restart IPtables: iptables-restart
command not found
should the command include the hyphen
 
Its /usr/local/sbin/iptabes-restart since the full path is required on FS PBX. If that is added to $PATH on the root login, you run into problems with some of the FS PBX or FreeSwitch stuff.
Actually, on my system, the /usr/local/sbin is in my $PATH already and that command works.

Perhaps if you log out and back in, your $PATH will be updated and then iptables-restart will work for you.

Code:
~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
 
Last edited:
Thanks @kenn10

path was ok

find / -name iptables-restart returned no results

copied iptables-restart from my local incredible pbx and placed it in /usr/local/sbin
made it executable ran iptables-restart then systemctl restart freeswitch
changed the phones to the new port but they did not register
step 8. /etc/iptables/rules.v4 I had to add -A INPUT -p udp -m udp --dport NNNN -j ACCEPT for sip and tls-sip
after iptables-restart and sysremctl restart freeswitch the phones registered
 
Sounds like something fell apart during the extras install but you figured it out.
 

Members online

Forum statistics

Threads
26,714
Messages
174,592
Members
20,282
Latest member
lahensd
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top