We have a relatively stable FreePBX system. In the advanced SIP settings section we have
NAT = Yes
IP Configuration = Public
Calls work, both incoming and outgoing.
but
We are on a static IP address. So we should be able to switch IP configuration to ‘static’, and type in the
External IP = xxx.xxx.xxx.xxx
Local Networks = 192.168.0.0/255.255.255.0
However when we do this, outbound calls continue to work, but inbound calls do the following :
When we dial in we hear the first 20 secs of the IVR message and then the sound ‘fades out’ sharply and the call is dropped. During the IVR message that we can hear, none of the DTMF number options will work.
This should work (even if you have NAT and don’t have a public IP) as long as you have no remote extensions and as long as you don’t forward any calls from an incoming SIP trunk to an outgoing SIP trunk without first picking up the call and playing some kind of audio.
If that doesn’t work, try another VOIP provider to see if there’s a difference. If your VOIP provider has a configuration option to support NAT, turn it on.
If that doesn’t work, try forwarding UDP ports 5060 and 10,000 through 20,000 to your PBX and see if that has any impact.
It shouldn’t have that effect. I’ve used a static IP on all my FreePBX installs without encountering the problem you describe.
That’s why I’ve suggested trying another VOIP provider. If it only happens on the VOIP provider that you’re using now, then you should contact them for technical support.