touchpoint

In addition to terminal devices, all personnel, places, and things connected to the network should also be considered.

View Details

resource

Understand best practices, explore innovative solutions, and establish connections with other partners throughout the Baker community.

×

touchpoint

touchpoint

In addition to terminal devices, all personnel, places, and things connected to the network should also be considered.

Learn more

resource

resource

Understand best practices, explore innovative solutions, and establish connections with other partners throughout the Baker community.

Contact Us
Introduction to SIP Server Primary/Backup Redundancy and Configuration

Introduction

Primary and Backup SIP Servers

The SIP server redundancy mechanism ensures the reliability and continuity of SIP services. Primary/backup server deployment is one of these redundancy methods. The primary and backup servers share user accounts, Dialog information (depending on the server redundancy implementation), registration information, and other related data. Under normal conditions, all SIP requests and responses are handled by the primary server. When the primary server fails, is under maintenance, or becomes unreachable, the SIP terminal automatically switches to the backup server for service requests, ensuring continuous user access. Once the primary server recovers, the SIP terminal can automatically switch back to the primary server.

SIP Server primary and backup
                                                                            Figure 1 SIP Server Primary and Backup

Terminology

Failover: A mechanism in which the backup server takes over all services when the primary server is unavailable, without affecting the user experience.
Failback: A mechanism in which the device checks whether the primary server has recovered while the backup server is in service, so it can switch back to the primary server quickly.
Server Unavailable: When the client attempts to register, the server responds with 500/503, or UDP receives an ICMP target unreachable message, or the TCP connection times out.
Register Failback: When the primary server is unavailable and the phone registers to the backup server, the phone creates a new Register Dialog to detect whether the primary server has recovered. This function has an independent and configurable probing interval.

Target Audience

This document is intended for phone users and maintenance personnel.

Primary and Backup Servers

Function Settings

Configure two server entries for the SIP line on the phone. SIP Server1 is the primary server, and SIP Server2 is the backup server.

Failover

The phone currently supports Failover signaling for Register, Invite, and Bye. Other signaling methods are not supported at this time.

1. Register Failover

Trigger conditions: Manual registration / registration timeout / OPTIONS timeout / CANCEL request timeout
(1) The phone sends a Register request to the primary server;
(2) The phone attempts to send Register requests to the primary server for a specified number of times (V3 products) or within a specified period (V2 products);
(3) If the primary server is unavailable, the phone sends a Register request to the backup server;
(4) The backup server responds with 200 OK, and the phone registers successfully.
2. Invite Failover
Trigger condition: The user places a call
(1) Phone A calls Phone B;
(2) Phone A sends an Invite request to the primary server;
(3) Phone A attempts to send Invite requests to the primary server for a specified number of times (V3 products) or within a specified period (V2 products);
(4) If the primary server is unavailable, the phone sends a Register request to the backup server;
(5) The backup server responds with 200 OK, and the phone registers to the backup server successfully;
(6) The phone sends an Invite request to the backup server;
(7) The backup server responds with 200 OK, and a call is established between Phones A and B.
3. Bye Failover
Trigger condition: After a call is established through the primary server, the phone hangs up
(1) Phone A establishes a call with Phone B through the primary server;
(2) Phone A hangs up;
(3) Phone A sends a Bye request to the primary server;
(4) Phone A attempts to send Bye requests to the primary server for a specified number of times (V3 products) or within a specified period (V2 products);
(5) If the primary server is unavailable, the phone sends a Register request to the backup server;
(6) The backup server responds with 200 OK, and the phone registers to the backup server successfully;
(7) The phone sends a Bye message to the backup server;
(8) The backup server responds with 200 OK, and the call with Phone B is terminated.
4. Failover Failure
When all servers are unavailable, the phone attempts each server in order of primary/backup priority for a specified number of times (V3 products) or within a specified period (V2 products). The last server is treated as an exception. According to RFC 3261, SIP will retry for 64*T1 (32 seconds). If the current SIP signaling request still fails, the failure is reported to the user.

Failback

The phone supports independent Register Failback. After the phone registers successfully to the backup server, it periodically sends an independent Register request to the primary server to detect whether the primary server has recovered.
Trigger condition: Register Failback timer timeout.
(1) The phone registers successfully to the backup server;
(2) When Register Failback times out, the phone sends an independent Register request to the primary server;
(3) If the primary server responds with 200 OK, the phone switches back to the primary server;
(4) If the primary server is still unavailable, the Register request is retransmitted according to RFC 3261 until 64*T1 (32 seconds) times out. After the timeout, the timer starts again and continues probing the primary server periodically.

SIP Server Primary/Backup Configuration

Configuration Item Description

                Configuration Item                Description                Value
                SIPN Register Addr:                Primary server address.IP / Domain nameDefault: Empty
                SIPN Register Port:                Primary server port.NumericDefault: 5060
                SIPN Register TTL:                Primary server registration interval.NumericDefault: 3600 seconds
                SIPN Transport:                Primary server transport protocol: UDP, TCP, or TLS.0: UDP
1: TCP
3: TLS
Default: 0
                SIPN Backup Addr:                Backup server address.IP / Domain name Default: Empty
                SIPN Backup Port:                Backup server port.Numeric Default: 5060
                SIPN Backup TTL:                Backup server registration interval.Numeric Default: 3600 seconds
                SIPN Backup Transport:                Backup server transport protocol: UDP, TCP, or TLS.0: UDP
1: TCP
3: TLS
Default: 0
                SIPN Enable Failback:                Controls whether Register Failback is enabled for the line.0 / 1 Default: 1
                SIPN Failback Interval:                The interval for probing whether the primary server/proxy has recovered after the phone has registered to the backup server/proxy.Numeric Default: 1800 seconds
                SIPN Signal Retry Counts:                The number of SIP request retransmissions when the server/proxy is unavailable, except for the last server/proxy (32-second timeout).Numeric Default: 3

User Configuration Interface

Users can log in to the phone's web server to configure the primary and backup servers.
(1) Click the “Line” tab and select the SIP sub-tab (this is the default page);
(2) Select the line to be configured from the “Line” drop-down list within the page;
(3) Configure the line registration information;
(4) Configure the SIP Server1 (primary server) and SIP Server2 (backup server) information, as shown in Figure 2;
(5) Click “Basic Settings” on the current page to configure the Failback-related settings for the primary and backup servers, as shown in Figure 3;
(6) Click the “Submit” button at the bottom of the page to apply the configuration.
SIP Server primary and backup configuration
                                                 Figure 2 SIP Server Primary/Backup Configuration
Failback settings

catalogue
Professional industrial communication manufacturer, providing high reliability communication guarantee!
Cooperation Consultation
customer service Phone
We use cookie to improve your online experience. By continuing to browse this website, you agree to our use of cookie.

Cookies

This Cookie Policy explains how we use cookies and similar technologies when you access or use our website and related services. Please read this Policy together with our Terms and Conditions and Privacy Policy so that you understand how we collect, use, and protect information.

By continuing to access or use our Services, you acknowledge that cookies and similar technologies may be used as described in this Policy, subject to applicable law and your available choices.

Updates to This Cookie Policy

We may revise this Cookie Policy from time to time to reflect changes in legal requirements, technology, or our business practices. When we make updates, the revised version will be posted on this page and will become effective from the date of publication unless otherwise required by law.

Where required, we will provide additional notice or request your consent before applying material changes that affect your rights or choices.

What Are Cookies?

Cookies are small text files placed on your device when you visit a website or interact with certain online content. They help websites recognize your browser or device, remember your preferences, support essential functionality, and improve the overall user experience.

In this Cookie Policy, the term “cookies” also includes similar technologies such as pixels, tags, web beacons, and other tracking tools that perform comparable functions.

Why We Use Cookies

We use cookies to help our website function properly, remember user preferences, enhance website performance, understand how visitors interact with our pages, and support security, analytics, and marketing activities where permitted by law.

We use cookies to keep our website functional, secure, efficient, and more relevant to your browsing experience.

Categories of Cookies We Use

Strictly Necessary Cookies

These cookies are essential for the operation of the website and cannot be disabled in our systems where they are required to provide the service you request. They are typically set in response to actions such as setting privacy preferences, signing in, or submitting forms.

Without these cookies, certain parts of the website may not function correctly.

Functional Cookies

Functional cookies enable enhanced features and personalization, such as remembering your preferences, language settings, or previously selected options. These cookies may be set by us or by third-party providers whose services are integrated into our website.

If you disable these cookies, some services or features may not work as intended.

Performance and Analytics Cookies

These cookies help us understand how visitors use our website by collecting information such as traffic sources, page visits, navigation behavior, and general interaction patterns. In many cases, this information is aggregated and does not directly identify individual users.

We use this information to improve website performance, usability, and content relevance.

Targeting and Advertising Cookies

These cookies may be placed by our advertising or marketing partners to help deliver more relevant ads and measure the effectiveness of campaigns. They may use information about your browsing activity across different websites and services to build a profile of your interests.

These cookies generally do not store directly identifying personal information, but they may identify your browser or device.

First-Party and Third-Party Cookies

Some cookies are set directly by our website and are referred to as first-party cookies. Other cookies are set by third-party services, such as analytics providers, embedded content providers, or advertising partners, and are referred to as third-party cookies.

Third-party providers may use their own cookies in accordance with their own privacy and cookie policies.

Information Collected Through Cookies

Depending on the type of cookie used, the information collected may include browser type, device type, IP address, referring website, pages viewed, time spent on pages, clickstream behavior, and general usage patterns.

This information helps us maintain the website, improve performance, enhance security, and provide a better user experience.

Your Cookie Choices

You can control or disable cookies through your browser settings and, where available, through our cookie consent or preference management tools. Depending on your location, you may also have the right to accept or reject certain categories of cookies, especially those used for analytics, personalization, or advertising purposes.

Please note that blocking or deleting certain cookies may affect the availability, functionality, or performance of some parts of the website.

Restricting cookies may limit certain features and reduce the quality of your experience on the website.

Cookies in Mobile Applications

Where our mobile applications use cookie-like technologies, they are generally limited to those required for core functionality, security, and service delivery. Disabling these essential technologies may affect the normal operation of the application.

We do not use essential mobile application cookies to store unnecessary personal information.

How to Manage Cookies

Most web browsers allow you to manage cookies through browser settings. You can usually choose to block, delete, or receive alerts before cookies are stored. Because browser controls vary, please refer to your browser provider’s support documentation for details on how to manage cookie settings.

Contact Us

If you have any questions about this Cookie Policy or our use of cookies and similar technologies, please contact us at support@becke.cc .