Picture of Wim 4127
Registered 6 years 309 days
Wim 4127 Friday, 15 May 2020, 07:23 AM
Active/standby and SOAP connection
Hi,

we are testing an application integration with SOAP in an architecture where there is an active PBX and a standby PBX. The application that connects to the SOAP interface has knowledge about both URLs to connect to.

We see following behaviour:
- The application starts and is connected to the active PBX and performs regular echo requests as is needed for the SOAP connection.
- As soon as we stop the active PBX, the application detects the echo messages fail and tries to connect to the standby URL.
- Application gets connected to standby PBX and fetches all user/call information
- After a period of time, we turn back on the active PBX.

What is the expected behaviour then? This is not really documented in the wiki, or I could not find it, and, I could also not find it in the forum.
Questions we need to know:
- Will the phones automatically reregister to the master?
- Will the SOAP connection on the standby be failing so that the echo that is running on the standby now can detect this and try the active PBX?

Please explain what happens if the active PBX gets back online.
Picture of Christoph Künkel (innovaphone)
Moderator Registered 15 years 189 days
Christoph Künkel (innovaphone) Saturday, 16 May 2020, 12:45 AM
Re: Active/standby and SOAP connection
Yes, the phones will switch back to the master automatically once the master is available again.
Your SOAP application should try to re-establish the connection to the master. Once this succeeds, it should consider the connection to the standby (which technically still succeeds) void.

Regards, Christoph
← You can define your color theme preference here