Good afternoon, don’t notice my english because I’m using google translator .
I have a problem with the external connections of my FreePBX 15.0.16.75, all the calls I make from outside last only 30s, even * 43 the echo test after 30s hangs up the call.
This is the sip settings configuration. I changed the sip port from 5060 to 8765, to test and still giving the problem.
This one is my Firewall that is running in a hundred, where it is doing nat for Freepbx.
iptables -t nat -A PREROUTING -i $WAN1_eth -p tcp --dport 10000:20000 -j DNAT --to-dest 10.10.10.199
iptables -t nat -A PREROUTING -i $WAN1_eth -p udp --dport 10000:20000 -j DNAT --to-dest 10.10.10.199
iptables -t nat -A PREROUTING -i $WAN1_eth -p tcp --dport 8091 -j DNAT --to-dest 10.10.10.199:8765
iptables -t nat -A PREROUTING -i $WAN1_eth -p udp --dport 8091 -j DNAT --to-dest 10.10.10.199:8765
Here is the pjsip set logger on.
https://pastebin.com/vh8EAgy6
CLI log
https://pastebin.com/RVj2zkhk
And if I make any connection or echo test on the same network where the serivador works normally without a problem.
Thank you.