I did an integration of heartbeat with Asterisk, and it works well:
- Server1 and Server2 have Asterisk and Heartbeat up, and the call enters in Server1
- When I shut down Hearbeat in Server1. Server2 take over control and the call enters in it.
- When I turn on again Server1, the call enters again in Server1
All of this works well if i shut down/turn on hearbeat, but if I only shut down Asterisk in Server1 (but heartbeat still on) the call doesn’t enter in Server2. (It doesn’t enter anywhere)
Is there a way to perform this behaviour? I need that when only the asterisk service on Server1 fails, the call enters in the asterisk service on Server2.