We have an ongoing and intermittent issue with our FreePBX, it will occasionally stop receiving calls and stop allowing outgoing calls. This is easily fixed by restarting the router that the FreePBX is connecting through but is a concern as it may take some time before we are aware of the issue, during which time customers are unable to phone us.
Is there a way we can monitor for the connection dropping out? (note that the Internet connection doesn’t drop out, just the FreePBX stops working)
I have checked the logs on the FreePBX and when we make an outgoing call during a failure it produces the following:
[2014-05-30 10:03:03] VERBOSE[C-00040129] chan_sip.c: – Got SIP response 480 “Temporarily Unavailable” back from 126.96.36.199:5060
[2014-05-30 10:03:03] VERBOSE[C-00040129] app_dial.c: – SIP/MNF-SIP-OUT-1-000402ef is circuit-busy
[2014-05-30 10:03:03] VERBOSE[C-00040129] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
However, this is only produced when we make a call, nothing seems to be logged when the connection initially stops working.
I’m hoping there is some kind of tool (preferably Windows-based) that we can run from another PC on our LAN that will periodically check for a connection to 188.8.131.52:5060 and will produce a warning to a log file, event log or send an email when the connection stops working.
Any ideas greatly appreciated!