Hello everyone,
We are using a SIP provider to reduce our outgoing phone bill. Unfortunately, our SIP provider isn't providing a very reliable network: about once every two or three days, the SIP server we connect to goes down and we have to go to another one by manually changing the interface definition in our Asterisk box.
I'm getting tired of this so I wondered how I could automate the change. Writing an app or script that verifies if the SIP server is still working isn't that hard: it can either fail to anser to a SIP request or reply with an error message.
Unfortunately, implementing that in our Asterisk system isn't trivial: it's a "managed" box that comes with a web interface for management and if I manually install the script on it, it'll be reverted the next time the box is upgraded.
So I wondered if there was a way to perform that in Astaro. When I check the Astaro "server load balancing", I see something that is al most exactly what I want except that there is no apparent way to tell it to check for SIP service. Nor is there a way to point it to a "test script" that will verify connectivity.
Anyone has a suggestion on how I could fix this ?
This thread was automatically locked due to age.