Hi, we use Sangoma SIP Station in our FreePBX System. Lately we moved to a new office building, so our IP address changed. When I tried setting up the server with the new IP address, the setup was alright, and the outbound calls go through. However, there’s no audio and the call gets cut at around 14 seconds. There’s no inbound calls either, no ringing whatsoever. None of the setup files has been changed. I’m a newbie in this field, so bear with me please. Any help is appreciated.
Update: I’ve contacted Sangoma and this is what they told me: “I had a look at your account and can see that the outgoing port is 5060 and the incoming port is 20000. These should both be 5060”
Does that mean I have to set my RTP port range in my FreePBX to 5060? Its currently set to 10000-20000.
Quick things to look at would be firewall restrictions, RTP port ranges, SIP provider trunk settings specifying your IP space (that changed), as well as even SIP ALG being enabled on any hardware firewall/router.
@gregarican SIP ALG is disabled. RTP port range in FreePBX is 10000-20000, I haven’t port forwarded them on my router though, it worked fine on the old IP address without it.
This is how my port forwarding looks like on my router config:
External Starting port: 5060-5160
Internal Starting port: 5060-5160
In Sipstation, you may need to update your IP address
Log into your sipStation account. Go to “my account” then “Trunk Groups” then " Notification and Access Control" See if there is your old IP address listed there.
Also, in FreePBX, did you update the firewall IP address ?
AND, in “settings” > “Sip Settings” your NAT settings there too
I did find a workaround. In the asterisk SIP settings, my local networks was set to 10.0.0.0/24. I’ve changed it to 10.0.0.0/5000. It seems to work now. However, Asterisk registration status in SIP Station seems to be highlighted now, which means its not registered properly.
Does that mean port 24 is not open or maybe currently occupied in my router?
It’s not a port number, and the maximum possible value is 32. It is the number of bits, starting from the left, and in msb first order, which are used to identify the network, rather than the host. I’m really not sure how 5000 would be handled, but chances are that 24 is too big, not too small.
I’m not sure if FreePBX accepts both formats, but the other way of specifying /24 is /255.255.255.0.
the /24 and the /255.255.255.0 mean the same thing. That is a net mask of how many IP Addresses are available on your internal network / subnet Scroll down on this page and you can see :
My question was about your external IP Address, not your internal network. Assuming you an call from extension to extension, then all of your internal networking should be ok.
Also, what is your router ? Did that change too with your new location ?
external IP address gets detected automatically in freePBX. I double-checked the IP and its correct. The only thing that seemed to work in my case is if I change “/24” to some other values like “/5000” or “/5060” in my internal network.
Router stays the same, its just the ISP that changed.