Page 1 of 1

What did a do wrong

Posted: Sat Dec 19, 2015 11:31 pm
by DonFrancesco
I have setup a router with the basic setting, I have found a very nice video on Youtube, now everything work fine except that when I try to connect a SIP phone, an Asterisk phone system or a simple Free Soft phone none will connect to the Voip provider.

If I take the soft phone and run it on a different network it works right away, I have open a hairpin NAT from outside to the Asterisk server connected to the Mikrotik router, I have connection and sound but the ANY SIP connection from inside the Lan is unable to connect to the Voip Provider.

I am able to ping the provider from a terminal in Mikrotik and from the terminal in Asterisk server. I see that Asterisk reach the Voip provider but it can't establish the connection. It is like any UPD connection is drop.


The video on Youtube is from ISP Supplies, very good video by the way.
Here is the video that I have watch on Youtube https://www.youtube.com/watch?v=ulDefmf1ces

Re: What did a do wrong

Posted: Sat Dec 19, 2015 11:55 pm
by ConnectivityEngineer
There are various solutions for SIP clients behind NAT, some of them in client side (STUN, TURN, ICE), others in server side (Proxy RTP as RtpProxy,MediaProxy).

Sadly - we are not sure how your SIP provider is providing the solution to your setup - SO - this information might need to be tweaked just a little bit.

Mikrotik provides a SIP Helper - called SIP ALG which is located under /IP>Firewall>Service ports

To disable, run this command from the terminal:

/ip firewall service-port disable sip

Or from winbox just navigate to IP>Firewall and then click on the Service Ports tab and disable it through the GUI.

See if that helps

Re: What did a do wrong

Posted: Sun Dec 20, 2015 5:03 am
by DonFrancesco
Update

I have change the network card and the problem is gone, everything is working fine.

Re: What did a do wrong

Posted: Tue Dec 22, 2015 9:14 am
by ConnectivityEngineer
Awesome. Thanks for updating the forum - far to often folks keep threads hanging !

+1 for your reputation :-)