Hi, I find problems with IP VOICE.
In all the installations that I use Mikrotik router the voice lines fail.
The ports are open, the firewall is configured correctly but the line is not registered with the SIP protocol, either by port 5060 or by another.
Normally at first it works but after a few days it stops working, the phone is not registered. Restart and nothing. I change the port on the 9060 and it works again and so on.
This happens to me with several lines that I have with both gatewat PAP2 cisco, as asterisk PBX, and with IP phones.
It’s something of the Mikrotik, but I can not find it. Have you met with this? Do you know what solution you can have?
Don’t set port forwarding. Leave SIP on port 5060.
Your phone will send a UDP REGISTER packet on port 5060 to your SIP provider. The Mikrotik will then know to forward inbound packets back to your phone. You will see this in IP > Firewall > Connections. Your SIP provider will require a register packet every 2 or so minutes, thus the Mikrotik will keep that port dynamically forwarded.
If your phone does not use SSL/TLS, then the Mikrotik will analyze packets on port 5060 to determine what ports were negotiated for audio streams and forward ports accordingly.
If your phone goes offline again, use Packet Sniffer for atleast 2 minutes (filter on port 5060). You should see your phone sending a register packet to your SIP provider, and a response. If one or the other is missing, you know where to start troubleshooting.
Hi, thanks for the answers, the default mktk already has the service enabled IP port 5060 “in ip-firewall-service ports”
If I open ports manually disable this service.
Anyway would you say that I’ve tried and we’ve also fails.
When you do manage the PBX (i.e. it is your own service), by far the best thing to do is remove the NAT
between the phone and the PBX.
This can be done by setting up a suitable VPN between the router and a router at the PBX site, so you
can transport IP packets using unique addresses at each end and no NAT.