hello, I hava analog lines for my freepbx. I’m having the problem when the internet goes down the phones don’t work. I’m not sure why is that. Does it require internet for the freepbx to be working, Or is there a way if the internet goes down freepbx still works?
I’m getting ip address from my router. I’m also able to ping my whole network including the freepbx server.
You’ll have to do a bit of troubleshooting when the internet is out to see why things are failing. Your local extensions that are on the same network as your phone system shouldn’t require any sort of internet connection to talk to each other.
There are some issues with chan_sip and DNS that could cause this. If your extensions are all pjsip, that shouldn’t be a problem.
If your internet router is serving as your DHCP server, it might misbehave when there is no WAN connection.
If neither of the above is applicable: Do the phones remain registered? If not, what gets logged when they try? Do they keep their private IP address? If they are registered, what happens when calling another extension? When calling an external number? When an outside call comes in?
Would whatever is causing your internet outage also affect your analog lines? If your analog lines are from your ISP then I would say that’s what you are running into.
Check that neither the PBX nor the Grandstream is using STUN or ICE (neither should be relevant to this connection). Also check that the Grandstream is not using an external DNS.
If you still have trouble, paste the Asterisk log for a failing call (including pjsip logger and/or sip debug) at pastebin.com and post the link here.