......when the modem dies! you cant access the internet anymore so the modem needs rebooting!
I have a Draytek modem, I have it set to automatically reboot during the early morning to try & avoid this, but sometimes when theres a lot of traffic &/or downloading the internet connection goes kind of stail. (ie. the connection is active/ alive but no new traffic can go in or out of the modem, eg. cant access Google via ping or web browser.)
So this is the problem, I need a reliable phone system but to have that I also need consistant access to my ISP & Voip provider. No or very minimal down time. :-)
On some occasions google (for example) will be accessible but the trixbox's SIP registration fails, this is seen as a greyed out trunk when viewing the FOP. When either we cant access the internet, call out or the FOP shows the greyed out trunk, rebooting the modem corrects the issue everytime.
Using a windows pc I have a batch file which pings a web address, if the ping returns an error level to say that there was no response I am sent an internal message, like that of the old Windows Messenger. Only problem with this is sometimes the IP designated will respond but the SIP registration will still show that its failed.
Has anyone has gone down this road b4?
Can anyone suggest how I can mimic the SIP registration in a batch file or vbs script, so that if the SIP registration fails I can be notified straight away, determined by the returned error level?
Cheers in advance!

Member Since:
2010-10-31