功能同步功能指南

简介

概述

功能同步功能主要用于保持电话设备状态与服务器状态同步。该功能包含两种主流同步方式:一种基于**订阅/通知**机制实现,另一种则通过调用功能码发起INVITE请求完成。

适用机型

本文档适用于我司全系列电话设备。

适用人群

本文档供负责电话设备故障排查的日常运维人员使用。

配置方式

首先需在电话设备上开启功能同步功能。该功能默认处于关闭状态,所有通话功能默认在本地终端执行。
网页配置入口:
网页配置

配置文件


--SIP线路列表-- :
SIP1 功能同步 :0
BroadSoft 与 Metaswitch 均依靠订阅/通知机制完成状态同步。开启功能同步后,电话在注册流程中会向服务器发送一条包含 Event: as-feature-event 字段的SUBSCRIBE订阅消息。若服务器兼容该功能,将返回 200 OK 应答,并完成当前设备状态同步,具体流程如下:
通知刷新

Fortinet 同样支持通过功能码实现功能同步。尽管该方式也依赖订阅/通知机制,但与功能同步本身的配置项无关联。
3CX、Yeastar 及绝大多数第三方PBX电话交换机系统(含已完成测试的华为、中兴IMS服务器),均通过发送INVITE请求呼叫对应功能码来实现同步。该方案对于终端电话而言,适配与实现方式更为简便。

BroadSoft 免打扰(DND)

① 当在服务器端开启或关闭免打扰时,服务器会向电话推送一条携带免打扰状态(true/false)的SIP NOTIFY通知消息。电话接收消息后回复 200 OK,并同步开启或关闭本地免打扰功能。抓包记录如下:
抓包记录
② 当在电话端手动开启或关闭免打扰时,设备会先向服务器发送携带免打扰状态(true/false)的SUBSCRIBE订阅消息。服务器返回 200 OK 应答、且免打扰状态变更生效后,服务器会回传一条携带最新免打扰状态(true/false)的SIP NOTIFY确认通知,电话最终回复 200 OK 完成交互。抓包记录如下:
电话端开启/关闭免打扰

1. 无条件呼叫转移
电话与 BroadSoft 服务器可双向同步无条件转移的开关状态,以及配置的转移号码。
① 服务器端开启/关闭无条件转移并配置转接号码后,会向电话推送包含转移状态(true/false)与转接号码的SIP通知。电话接收后回复 200 OK,同步更新转移开关与转接号码。
② 电话端修改无条件转移设置时,设备先向服务器发送携带转移状态(true/false)的订阅消息。服务器应答 200 OK 后,会推送确认通知同步最新转移状态,电话回复 200 OK 完成同步。抓包示例如下:
无条件呼叫转移
2. 遇忙呼叫转移
电话与 BroadSoft 服务器可同步遇忙转移功能的开关状态及对应转接号码。
① 服务器端开启/关闭遇忙转移并配置号码后,下发携带转移状态(true/false)与转接号码的SIP通知。电话应答 200 OK,同步启用/关闭遇忙转移并保存号码。
② 电话端操作逻辑一致:先发送遇忙转移状态(true/false)的订阅消息,服务器确认后回传通知,终端应答 200 OK。抓包记录如下:
遇忙呼叫转移
3. 无应答呼叫转移
电话与 BroadSoft 服务器可同步无应答转移的开关状态与转接号码。
① 服务器变更无应答转移配置后,推送包含状态(true/false)和号码的通知,电话同步配置并应答 200 OK。抓包记录如下:
无应答呼叫转移
② 电话端开启或关闭无应答转移时,优先发送携带状态(true/false)的订阅消息,服务器确认后下发状态确认通知,终端回复 200 OK。抓包记录如下:
电话端开启/关闭无应答转移

Metaswitch 免打扰(DND)

① 服务器端免打扰开关控制(报文交互逻辑与BroadSoft完全一致)
服务器开启/关闭免打扰

② 电话端免打扰开关控制(报文交互逻辑与BroadSoft完全一致)
电话开启/关闭免打扰
1. 无条件呼叫转移(报文交互逻辑与BroadSoft一致)
① 服务器开启/关闭无条件转移
服务器开启/关闭无条件转移
② 电话端开启/关闭无条件转移
2. 无应答呼叫转移(报文交互逻辑与BroadSoft一致)
① 服务器端
服务器无应答转移
② 电话端
电话无应答转移
3. 遇忙呼叫转移(报文交互逻辑与BroadSoft一致)
① 服务器端
服务器遇忙转移
② 电话端
电话遇忙转移

Fortinet

Fortinet 服务器通过功能码实现与电话设备的状态同步。
功能码与电话状态同步
服务器变更功能状态时,会向电话发送携带免打扰状态的NOTIFY通知消息。
免打扰状态
电话端手动修改状态时,会向服务器发送携带免打扰状态的SUBSCRIBE订阅消息。
电话状态变更时的免打扰信息
以上交互逻辑同样适用于各类呼叫转移配置。

3CX 与 Yeastar

在3CX、Yeastar等服务器中开启功能同步后,仅支持**电话单向向服务器同步状态**,服务器无法主动向电话推送状态变更。该机制存在一定局限性,但部署简单,可满足常规办公使用需求。
开启功能同步后,还需为各项语音功能配置对应功能码,配置方式如下:
设置功能码
在电话端开启或关闭免打扰时,设备会向服务器发送INVITE请求,主动触发状态同步。
电话开关免打扰并向服务器发送INVITE
注意:
3CX服务器后续迭代新增了uaCSTA协议功能,服务器端开启免打扰后,可通过uaCSTA Info消息向电话推送状态通知。目前我方设备暂不支持通过该类消息刷新本地电话状态。
服务器端开启免打扰时,uaCSTA通知电话

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