如果SIP注册显示尝试或超时,您应该怎么做?

介绍

概述

本文档适用于我们所有的产品。如果SIP账户在注册期间显示尝试中超时,您可以按照本指南中的故障排除步骤来识别原因并解决问题。

适用型号

我们公司的所有产品型号,包括工业设备和电话产品。

先决条件

① 一台产品设备(下面以Bi10为例),一台PoE交换机(或DC电源),并将设备连接到交换机。
② 一台安装了Wireshark的调试PC,连接到同一个交换机,并确保PC可以通过网络与设备通信。

设备与PC连接图

设备与PC连接图

SIP注册显示尝试中或超时

当SIP账户在注册期间显示尝试中超时时,本节说明如何排除问题。这里以Bi10对讲机作为示例设备。

症状描述

以Yeastar服务器上的SIP账户为例,在设备上设置相关的SIP账户参数并提交注册后,网页首先显示“尝试中”,一段时间后变为“超时”。
服务器网页首先显示尝试中
服务器网页显示超时

问题分析

设备发送SIP注册请求后,没有收到服务器的响应,最终导致注册超时。这种情况可能由以下原因之一引起。
1) 参数设置错误,例如服务器地址或端口错误,或服务器端不允许注册。例如,在Yeastar服务器上,可能未启用远程注册。
2) 设备与SIP服务器之间的网络问题,例如设备和服务器不在同一LAN中,或服务器受防火墙保护。
3) SIP账户可能已被服务器暂时列入黑名单。例如,如果同一个账户注册过于频繁,Yeastar服务器可能会将其视为可疑行为并在特定期间内(例如10分钟)封锁该账户,然后才允许再次注册。
4) 服务器可能限制某些UA(User Agent)值,这意味着它只接受特定的用户代理,而不识别其他代理,导致SIP注册失败。
5) 当设备在私有网络上而服务器在公共网络上时,服务器的响应数据包可能无法到达内部设备。

解决方案

根据上述可能的原因,可以使用以下方法进行故障排除和解决。
1) 在设备网页界面上检查SIP账户设置,并与服务器端设置进行比较,以确保所有参数正确,如下所示。
设备账户设置页面
服务器远程注册设置
                                                                                                                                  必须在Yeastar服务器上启用远程注册
2) 验证设备和服务器之间的网络是否正常工作。按下“Win+R”,输入cmd打开命令窗口,然后ping服务器地址以查看是否可以连接。如果无法连接到服务器,请咨询服务器端技术人员,检查防火墙规则或其他网络限制是否阻止连接。
PC可以ping服务器地址                                                                                                                                                                                                                                                  PC(设备)可以成功ping到Yeastar服务器地址

3) 等待一段时间后再尝试注册,或创建一个新的SIP账户进行测试。避免在短时间内多个设备上重复注册同一个账户。
4) 在相同的环境中,尝试在不同设备上注册同一个SIP账户。如果一个设备成功注册而另一个超时,请在两个设备上捕获数据包并比较结果以进行进一步分析。在下面的示例中,同一个SIP账户同时注册到Bi10和Bi63。Bi10成功注册,而Bi63超时。分析数据包捕获后,结论是服务器限制了某些UA(User Agent)值,导致SIP注册超时。下面的屏幕截图显示了症状和解决方案。
Bi10网页界面和Wireshark屏幕截图:
Bi10网页界面屏幕截图
Bi10 Wireshark屏幕截图
Bi63网页界面和Wireshark屏幕截图:
Bi63网页界面屏幕截图
Bi63 Wireshark屏幕截图
解决方案: 在设备网页界面中将设备用户代理更改为可以成功注册的UA值。
具有成功UA设置的设备网页界面
注意:比较数据包捕获结果后,您可以从成功注册的设备复制UA并将其输入到失败的设备中。您也可以使用MicroSIP测试注册并获得可用的UA,或向服务器端技术人员询问支持的UA值。
5) 如果设备在内部网络上而服务器在公共网络上,请在设备上启用“启用Rport”、“启用端口更新”和“兼容特殊服务器”,然后再次提交注册。
启用Rport

目录
客服 电话
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 .