Fanvil Phone failover feature settings

Introduction

Failover refers to the mechanism in which the backup server takes over the primary server and assumes that all services are not affected when the primary server is unavailable.The 3CX server system has a built-in failover function to complete the registration of the phone and use the standby system through domain name DNS resolution. In this article, we introduce the failover of the Fanvil phone itself, which is done by setting the address of the primary and secondary servers.

The primary backup of the server is one of the redundant modes; the primary backup server shares the user account, Dialog and the registration information; under normal conditions, all SIP requests and responses are When the primary server assumes that the primary server is abnormal, maintenance, or unreachable, the SIP terminal automatically switches to the backup server to request the service to ensure the continuity of the user’s use. When the primary server is restored, the SIP terminal can automatically switch to the primary server to request the service.

Failover mode

The signaling of Fanvil phone failover includes Register, Invite, Bye;

Register mode

Trigger condition: manual registration/registration timeout/Option, Cancel request timeout.

  • The phone sends Register signaling to the primary server;
  • The phone attempts to send the Register to the primary server a specified number of times / specific time;
  • The primary server Unavailable, the phone sends Register signaling to the backup server;
  • The backup server responds with 200 OK and the phone is successfully registered.

Invite mode

Trigger conditions: the user dials the phone.

  • Phone A calls phone B;
  • Phone A sends an Invite request to the primary server;
  • Phone A attempts to send Invite to the primary server a specified number of times / specific time;
  • The primary server Unavailable, the phone sends the Register to the backup server;
  • The backup server responds with 200 OK to the phone, and the phone registers the backup server successfully.
  • The phone sends an Invite request to the backup server;
  • The backup server responds with 200 OK, and phones A and B establish a call.

Bye mode

Trigger condition: After the phone establishes a call through the primary server, hangs up the call

  • Phone A establishes a call through the primary server and phone B;
  • Phone A hang up
  • Phone A sends a Bye request to the primary server;
  • Phone A attempts to send Bye to the primary server a specified number of times / specific time;
  • The primary server Unavailable, the phone sends the Register to the backup server;
  • The backup server responds with 200 OK to the phone, and the phone registers the backup server successfully.
  • The phone sends a Bye message to the backup server;
  • The backup server responds with 200 OK and the phone B ends.

When all servers are unavailable, the phone attempts each server a specified number of times/specific time according to the priority of the primary backup server. The last server exception, according to the RFC3261 specification, SIP will try 64*T1 (32s), The current SIP signaling request fails, and feedback to the user.

Failback

The failover of the 3CX server does not have the automatic failback function. When the primary server is restored, it is necessary to manually adjust the DNS resolution. The Fanvil phone supports independent Register (Failback). After the phone registers with the backup server, it will periodically send an independent Register to the primary server to detect whether the primary server is restored.

Trigger condition: The Register Failback timer expires.

  • The phone registers the backup server successfully.
  • Register Failback times out, the phone sends a separate register to the primary server;
  • The primary server responds with 200 OK, and the phone switches to the primary server. When the primary server is still unavailable, the Register sent by the phone resends the Register according to RFC3261 until 64*T1 (32s) times out; after the timeout, the timer is started again to periodically detect the primary server.

Setup steps

Users can log in to the web interface of the phone to configure the primary and backup server.

  • Click the “Lines” tab and select the SIP sub-tab (the default is this page);
  • Select the line to be configured through the “Line” drop-down list box;
  • Configure line registration information;
  • Configure SIP Server1 (primary server) and SIP Server2 (backup server) server information;

  • Click on “Basic Settings” on the current page and check the Failback option.

Leave a Reply

Your email address will not be published. Required fields are marked *