Opensips high availability

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Opensips high availability

Francjos
I have this scenario:

Two Opensips are registered at ovh. When icoming calls are made, they land in one of the two Opensips, the one registered last. When i stop the later, the other Opensips does not answer those incoming calls immediately, i have to restart it and re-register it at ovh.
I understand that i have to write a script that must automate all of the instructions.

1) first, each Opensips must know that the other has stopped working
2) second, after knowing that, this Opensips must restart and register to ovh immediately in order to be able to receive those incoming calls.

Any ideas of how the script can be written?

Thank you.