WO2009152699A1 - Sip终端及其上报状态的方法、系统以及sip服务器 - Google Patents

Sip终端及其上报状态的方法、系统以及sip服务器 Download PDF

Info

Publication number
WO2009152699A1
WO2009152699A1 PCT/CN2009/070173 CN2009070173W WO2009152699A1 WO 2009152699 A1 WO2009152699 A1 WO 2009152699A1 CN 2009070173 W CN2009070173 W CN 2009070173W WO 2009152699 A1 WO2009152699 A1 WO 2009152699A1
Authority
WO
WIPO (PCT)
Prior art keywords
status
session
sip
terminal
protocol terminal
Prior art date
Application number
PCT/CN2009/070173
Other languages
English (en)
French (fr)
Inventor
杨燕飞
孙贵龙
周军
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP09765339A priority Critical patent/EP2159969A4/en
Priority to US12/490,898 priority patent/US20090319657A1/en
Publication of WO2009152699A1 publication Critical patent/WO2009152699A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a SIP terminal and a method and system for reporting the status thereof, and a SIP server. Background technique
  • SIP Session Initiation Protocol
  • SIP IAD SIP Integrated Access Device
  • SIP phone SIP soft phone
  • SIP mobile phone SIP mobile phone
  • the communication network architecture established based on the SIP protocol there are devices such as a SIP terminal and a SIP server.
  • the SIP server can establish a session with other users for the SIP terminal according to the state of the SIP terminal recorded thereon.
  • the SIP user or the SIP server can obtain the state information of the SIP terminal of the SIP user by subscribing to the session state of the specified SIP user.
  • the SIP user or the SIP server may send a subscription to a SIP terminal status information through a Subscribe message; after receiving the Subscribe message, the SIP terminal sends its own message through a Notify message. Status information is sent to the SIP user or SIP server.
  • the current SIP protocol only supports the subscription state of the SIP terminal by using the Subscribe/Notify message, that is, the technical solution of the prior art can only be used.
  • the embodiment of the present invention provides a method for reporting a status of a SIP terminal and a SIP terminal, so that the SIP terminal can actively report status information to the SIP server, thereby ensuring normal connection of the SIP call.
  • a method for reporting a status of a SIP terminal including:
  • the embodiment of the invention further provides a SIP terminal, which can actively report its own state information to the SIP server.
  • a SIP terminal comprising:
  • a detecting unit configured to detect a state change of the SIP terminal
  • An information generating unit configured to generate status report information when a status of the SIP terminal changes
  • the transceiver unit is configured to send the current status of the SIP terminal to the SIP server by using the status report information.
  • the embodiment of the present invention further provides a method for processing a reporting status of a SIP terminal and a SIP server, so as to be able to accurately provide a connection for a SIP terminal.
  • the method for processing the reporting status of the SIP terminal in the embodiment of the present invention includes the following steps: receiving status reporting information reported by the session initial protocol terminal;
  • the receiving unit is configured to receive the status report information reported by the session initial protocol terminal, and the status update unit is configured to update the status of the session initial protocol terminal according to the status report information.
  • the embodiment of the present invention further provides a system for reporting a status of a SIP terminal, so as to accurately provide a connection for a SIP terminal.
  • a system for reporting status of a SIP terminal comprising: a SIP server and a SIP terminal;
  • the SIP terminal is configured to send its own state change generation status report information to the SIP server;
  • the SIP server is configured to update a status record of the SIP terminal according to the status report information, and send a status response message to the SIP terminal.
  • the SIP terminal can generate status report information according to the received status change signal, and send its own status information to the SIP server. Therefore, the SIP server can accurately obtain the current state of the SIP terminal and accurately provide the call connection service for the SIP terminal.
  • FIG. 1 is a schematic diagram of a system for reporting a status of a SIP terminal according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for reporting a status of a SIP terminal according to Embodiment 2 of the present invention
  • 3 is a flowchart of performing an immediate hotline service in a method for reporting a status of a SIP terminal according to Embodiment 3 of the present invention
  • FIG. 4 is a flowchart of performing a call forwarding service in a method for reporting a state of a SIP terminal according to Embodiment 4 of the present invention
  • FIG. 5 is a structural diagram of a SIP terminal according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic diagram of an information generating unit in a SIP terminal according to Embodiment 5 of the present invention.
  • FIG. 7 is a flowchart of a method for processing a reporting status of a SIP terminal according to Embodiment 6 of the present invention
  • FIG. 8 is a structural diagram of a SIP server according to Embodiment 7 of the present invention. detailed description
  • the SIP server cannot obtain the status information of the SIP terminal accurately before the call is established, and the SIP server cannot accurately provide the connection for the SIP terminal.
  • the embodiment of the present invention provides a SIP.
  • the SIP terminal can actively report its own status information to the SIP server.
  • the system for reporting status of a SIP terminal includes: a SIP server 101 and a SIP terminal 102.
  • the SIP terminal 102 is configured to send its own status change generation status report information to the SIP server 101.
  • the SIP server 101 is configured to update the status record of the SIP terminal 102 according to the status report information. And transmitting a status response message to the SIP terminal 102.
  • the status of the SIP terminal may include: an off-hook state, an on-hook state, a flashing state, or a call forwarding state.
  • the method for reporting a status of a SIP terminal in the second embodiment of the present invention includes the following steps: Step 201: Detect a status change of a SIP terminal;
  • the process of detecting the state change of the SIP terminal is implemented by the SIP terminal continuously detecting the operation of the SIP terminal by the user. For example, if the SIP terminal detects that the user picks up the phone, the state change signal obtained by the SIP terminal is an off-hook signal, and the changed state is an off-hook state; if the SIP terminal detects that the user hangs up, the state obtained by the SIP terminal is obtained.
  • the change signal is the on-hook signal, and the changed state is the on-hook state. The same is true for SIP terminals to detect other state changes.
  • Step 202 Generate status report information when the status of the SIP terminal changes.
  • the status of the SIP terminal is carried by extending an event carrying message body in the INFO (Report) message in the SIP protocol. information.
  • the event bearer message body is sscc (Supplementary Service Call Control).
  • the current state of the SIP terminal is converted into a corresponding SIP event according to the state change signal received by the SIP terminal.
  • the SIP event corresponding to the off-hook state, the on-hook state, the flashing state, and the call forwarding state of the SIP terminal is an off-hook event, an on-hook event, a flashback event, and a call. Transfer event (FTO) and so on.
  • FTO Transfer event
  • the event carrying message body in the INF0 message is used to carry the SIP event to obtain a status report message.
  • the above SIP events can be defined as follows by extending the INF0 message as follows:
  • the status report message INF0 message can be expressed as follows: Content-Type: appl icat ion/ s sec
  • Event f lahshook
  • Content-Type indicates the event type. In this embodiment, this byte can be filled with application/sscc.
  • Content-Length indicates the length of the message body, which can be filled according to the length of the specific message body. Event indicates the event name.
  • Step 203 After the status report information is generated in the manner of step 202, the current status of the SIP terminal is sent to the SIP server through the status report information.
  • the method in the embodiment of the present invention may further include the following steps:
  • Step 204 The SIP server updates and stores the current state of the SIP terminal according to the status report information, and sends a status response message to the SIP terminal, where the SIP terminal receives the status report response message.
  • various services can be performed, such as an immediate hotline service, a delayed hotline service, a busy hosting service, a call forwarding service, and an IP conference service.
  • the following describes the implementation process of the method according to the embodiment of the present invention by taking an immediate hotline service and a call forwarding service as an example.
  • Embodiment 3 Using the method described in the embodiment of the present invention to carry out an immediate hotline service
  • Step 301 The SIP terminal detects a state change.
  • Step 302 After the user A picks up the phone, the SIP terminal detects that the state of the SIP terminal has changed, and generates an INF0 message according to the change.
  • the format of the INF0 message is as follows: Content-Type: appl icat ion/ s sec
  • Step 303 The SIP terminal sends the INFO message to the SIP server.
  • Step 305 The SIP server sends a status report response message 200 to the SIP terminal.
  • Embodiment 4 The call forwarding service is carried out by using the method according to the embodiment of the present invention.
  • the SIP terminal user B registers the call forwarding service on the SIP server, that is, the user A can call the user B or the user A and the user B during the call, and the user B can operate the SIP terminal.
  • call forward button call to user C, user C's number is 01062120000»
  • Step 401 In the process of user A calling user B, user B finds that the user A is an incoming call, then in the process of user B ringing, user B initiates a call forwarding service, and transfers the call of user A to user C; Or, during the conversation between user A and user B, the call forwarding service is started, the call forwarding button on the SIP terminal is operated, and the number of the user C is 01062120000, and the call of the user A is transferred to the user C;
  • Step 402 After detecting the state change of B, the SIP terminal generates an INF0 message by initiating the call forwarding state of the user B.
  • the format of the INF0 message is:
  • Event FWD
  • the state in which the user B initiates the call forwarding may also be reported to the SIP server by using two INFO messages, including the following form: one INFO message reporting the call forwarding event, and another INFO message reporting the number of the user C .
  • Event FWD
  • Step 403 Send the INFO message to the SIP server, where the INFO message carries the number of the user C.
  • Step 404 The SIP server transfers the call of user A to user C according to the INF0 message, and establishes a call between user A and user C.
  • Step 405 The SIP server sends a status report response message 200 to the user A. Similar to the implementation process of the fourth embodiment, the business that can be implemented has a three-party conference and the like. It should be noted that, here, only the process of performing the hotline, call forwarding, and the like by using the method of the present invention is shown, and the manner of carrying out other services is similar to the process of the two services shown.
  • Embodiment 5 of the present invention further provides a SIP terminal.
  • the SIP terminal includes a detecting unit 501 and an information generating unit 502. And transceiver unit 503.
  • the detecting unit 501 is configured to detect a state change of the SIP terminal.
  • the information generating unit 502 is configured to generate state report information when the state of the SIP terminal changes.
  • the transceiver unit 503 is configured to send the SIP terminal. The current state is sent to the SIP server by using the status report information.
  • the information generating unit 502 includes a converting module 511 and an information generating module 512.
  • the conversion module 511 is configured to convert the current state of the SIP terminal into a corresponding SIP event.
  • the information generating module 512 is configured to use the event bearer message body in the INFO message to carry the SIP event, and obtain a status report. Message.
  • the transceiver unit 503 is further configured to receive a status report response message sent by the SIP server.
  • the sixth embodiment of the present invention further provides a method for processing the reporting status of the SIP terminal, corresponding to the method of the ⁇ state on the SIP terminal according to the second to fourth embodiments.
  • the method for processing the upper state of the SIP terminal in the sixth embodiment may include: Step 701: The SIP server receives the status report information reported by the session initial protocol terminal, and the format of the status report information and the second embodiment - The same as described in the fifth, and will not be described again here.
  • Step 702 The SIP server updates the state of the session initial protocol terminal according to the status report information. Specifically, the SIP server parses the status report message, obtains status information of the session initial protocol terminal, and then changes, by the SIP server, the current status of the session initial protocol terminal to a status corresponding to the status information. .
  • the SIP server can accurately know the current state of the SIP terminal and accurately provide call connection services for it.
  • Embodiment 7 of the present invention further provides a SIP server.
  • the IP server of this embodiment includes a receiving unit 801 and a status updating unit 802.
  • the receiving unit 801 is configured to receive the status report information reported by the session initial protocol terminal.
  • the status update unit 802 is configured to update the status of the session initial protocol terminal according to the status report information.
  • the status update unit 802 can include a parsing module 811 and a modification module 812.
  • the parsing module 811 is configured to parse the status report message to obtain status information of the session initial protocol terminal.
  • the modifying module 812 is configured to change a current status of the session initial protocol terminal to correspond to the status information. status.
  • the S IP status terminal can generate status report information according to the received status change signal, and send its own status information to the SIP server. Therefore, the S IP server can accurately obtain the current state of the S IP terminal, and accurately provide the call connection service for the S IP terminal.
  • support for services such as an immediate hotline and a delayed hotline can be realized by using the embodiments of the present invention.
  • the S IP terminal may be a S IP soft terminal, an S IP phone, and a S IP IAD.

Description

SIP终端及其上报状态的方法、 系统以及 SIP服务器 本申请要求于 2008 年 06 月 19 日提交中国专利局、 申请号为 200810127054.9、 发明名称为" SIP终端及其上报状态的方法、 系统以及处 理该上报状态的方法、 设备"的中国专利申请的优先权, 其全部内容通过 引用结合在本申请中。 技术领域
本发明涉及通信技术领域, 尤其涉及一种 SIP终端及其上报状态的方 法、 系统以及 SIP服务器。 背景技术
会话初始协议 ( Session Initiation Protocol, SIP ) 在电信技术领 域中受到了极大的关注, 越来越多的电信设备供应商在 SIP技术领域的研 究与开发中, 提出了各种基于 SIP协议的解决方案。 相应的, 多种形态的 SIP终端也应运而生, ¾。 SIP IAD ( SIP Integrated Access Device, SIP 综合接入设备) , SIP电话, SIP软电话, 以及 SIP移动电话等。
在基于 SIP协议建立的通信网络架构中, 包括有 SIP终端, SIP服务 器等设备。 其中, SIP服务器上可根据其上记录的 SIP终端的状态, 为 SIP 终端建立与其他用户的会话过程。
在现有技术中, 根据 SIP协议的规定, SIP用户或 SIP服务器可通过 订阅指定的 SIP用户的会话状态, 来获取该 SIP用户的 SIP终端的状态信 息。 在 SIP协议中, 所述 SIP用户或 SIP服务器可通过 Subscribe (订阅) 消息发送对某个 SIP终端状态信息的订阅; 该 SIP终端在收到 Subscribe 消息后, 通过 Notify (通知) 消息将其自身的状态信息发送给所述 SIP 用户或 SIP服务器。 在实现本发明的过程中, 发明人发现, 在现有技术中, 目前的 SIP协 议只支持利用 Subscribe/Notify消息来订阅 SIP终端的会话状态, 也就 是说利用现有技术的技术方案, 只能获取在 SIP会话中到会话结束这一过 程中间 SIP终端的状态信息。 而若用户摘机时, SIP终端并不会发起呼叫, 也即此时不会产生会话, 那么所述 SIP用户或 SIP服务器仍然无法获取该 指定的 SIP终端的状态信息。 发明内容
一方面, 本发明实施例提供了一种 SIP终端上报状态的方法及 SIP终 端, 使得 SIP终端能够主动的向 SIP服务器上报状态信息,从而保证 SIP 呼叫的正常接续。
本发明实施例 SIP终端上报状态的方法釆用如下技术方案:
一种 SIP终端上报状态的方法, 包括:
检测 SIP终端的状态变化情况;
当所述 SIP终端的状态发生变化时, 生成状态上报信息;
将所述 SIP终端的当前状态, 通过所述状态上报信息发送给 SIP服务 器。
本发明实施例还提供了一种 SIP终端, 能够主动的向 SIP服务器上报 其自身状态信息。
本发明实施例 SIP终端釆用如下技术方案:
一种 SIP终端, 包括:
检测单元, 用于检测 SIP终端的状态变化情况;
信息生成单元, 用于当所述 SIP终端的状态发生变化时, 生成状态上 报信息;
收发单元, 用于将所述 SIP终端的当前状态, 通过所述状态上报信息 发送给 SIP服务器。 另一方面, 本发明实施例还提供了一种处理 SIP终端的上报状态的方 法和 SIP服务器, 以能够准确的为 SIP终端提供呼叫的接续。
本发明实施例处理 S I P终端的上报状态的方法包括如下步骤: 接收会话初始协议终端上报的状态上报信息;
根据所述状态上报信息, 更新所述会话初始协议终端的状态。
本发明实施例 SIP服务器包括:
接收单元, 用于接收会话初始协议终端上报的状态上报信息; 状态更新单元, 用于根据所述状态上报信息, 更新所述会话初始协议 终端的状态。
再一方面, 本发明实施例还提供了一种 SIP终端上报状态的系统, 以 能够准确的为 SIP终端提供呼叫的接续。
本发明实施例 SIP终端上报状态的系统釆用如下技术方案: 一种 SIP终端上报状态的系统, 包括: SIP服务器以及 SIP终端; 其 中,
所述 SIP终端, 用于将其自身的状态变化生成状态上报信息发送给所 述 SIP服务器;
所述 SIP服务器, 用于根据所述状态上报信息, 更新所述 SIP终端的 状态记录, 并向所述 SIP终端发送状态上 ·艮响应消息。
在本发明实施例中, SIP终端能够根据接收到的状态变化信号, 生成 状态上报信息, 并将其自身的状态信息发送给 SIP服务器。 因而, SIP服 务器能够准确的获得 SIP终端的当前状态, 为 SIP终端准确的提供呼叫接 续业务。 附图说明
图 1为本发明实施例一 SIP终端上报状态的系统示意图;
图 2为本发明实施例二 SIP终端上报状态的方法的流程图; 图 3为利用本发明实施例三 SIP终端上报状态的方法中, 开展立即热 线业务的流程图;
图 4为利用本发明实施例四 SIP终端上报状态的方法中, 开展呼叫前 转业务的流程图;
图 5为本发明实施例五 SIP终端的结构图;
图 6为本发明实施例五 SIP终端中信息生成单元的示意图;
图 7为本发明实施例六处理 SIP终端的上报状态的方法的流程图; 图 8为本发明实施例七 SIP服务器的结构图。 具体实施方式
为解决现有技术中, SIP终端在呼叫建立前, SIP服务器不能准确的 获得 SIP终端的状态信息, 从而导致 SIP服务器无法准确的为 SIP终端提 供接续的问题, 本发明实施例提供了一种 SIP终端上报状态的系统。 在该 系统中, SIP终端能够主动的向 SIP服务器上报其自身的状态信息。 下面 结合附图对本发明实施例作进一步的详细说明。 应当理解, 此处所描述的 具体实施方式仅仅用以解释本发明, 并不用于限定本发明。
实施例一
如图 1所示, 本发明实施例一 SIP终端上报状态的系统包括: SIP服 务器 101以及 SIP终端 102。 其中, 所述 SIP终端 102用于将其自身的状 态变化生成状态上报信息发送给所述 SIP服务器 101;所述 SIP服务器 101 用于根据所述状态上报信息, 更新所述 SIP终端 102的状态记录, 并向所 述 SIP终端 102发送状态上 ·艮响应消息。
所述 SIP终端的状态可以包括: 摘机状态, 挂机状态, 拍叉状态, 或 呼叫前转状态等。 下面结合图 2描述一下本发明实施例所述系统的实现过 程。
实施例二 如图 2所示,本发明实施例二 S I P终端上报状态的方法包括如下步骤: 步骤 201、 检测 SIP终端的状态变化情况;
在此步骤中, 检测 SIP终端的状态变化的过程, 是通过 SIP终端不断 的检测用户对 SIP终端的操作实现的。例如,若 SIP终端检测到用户摘机, 那么 SIP终端所获得的状态变化信号为摘机信号, 其变化后的状态为摘机 状态; 若 SIP终端检测到用户挂机, 那么 SIP终端所获得的状态变化信号 为挂机信号, 其变化后的状态为挂机状态。 SIP终端检测其他状态变化的 过程也是如此。
步骤 202、 当所述 SIP终端的状态发生变化时, 生成状态上报信息; 在本发明实施例中, 通过扩展 SIP协议中 INFO (报告)消息中的某个 事件承载消息体, 承载 SIP终端的状态信息。 在本发明实施例中, 所述事 件承载消息体为 sscc ( Supplementary Service Call Control , 补充业 务呼叫控制) 。
在具体应用中, 首先需要根据所述 SIP终端接收到的状态变化信号, 将所述 SIP终端当前状态转换为相应的 SIP事件。 与所述 SIP终端的摘机 状态, 挂机状态, 拍叉状态, 呼叫前转状态相对应的 SIP 事件为摘机 (offhook)事件, 挂机(onhook)事件, 拍叉(f lashhook)事件, 呼叫前转 事件 (FTO)等等。 然后, 利用所述 INF0消息中的事件承载消息体承载所 述 SIP事件, 得到状态上报消息。 在此实施例中只是列举出来本发明实施 例的几种应用形式, 其他的 SIP终端的状态变化的过程也可按照本发明实 施例的方式进行上 ·¾。
按照上述过程, 可通过对 INF0 消息的扩展, 按照如下方式定义上述 的 SIP事件:
Event= "event=" "of f hook" | "onhook" | "f lashhook" | token。 例如, 若表示拍叉事件, 则所述状态上报消息 INF0 消息可表示为如 下的形式: Content-Type: appl icat ion/ s sec
Content-Length: Event=f lahshook
其中 Content-Type 表示事件类型, 在本实施例中此字节可填充为 application/sscc; Content-Length表示消息体长度, 可根据具体消息体 的长度进行填充该字节; Event表示事件名称。
需要注意的是, 在本发明实施例中, 只是列举出了 INFO 消息中与事 件承载消息体相关的部分内容, INFO消息中的其他部分遵从 SIP协议。
步骤 203、在按照步骤 202的方式生成好状态上报信息后,将所述 SIP 终端的当前状态, 通过所述状态上报信息发送给 S I P服务器。
当所述 SIP服务器端收到所述状态上报消息后, 本发明实施例所述方 法还可包括如下步骤:
步骤 204、所述 SIP服务器根据所述状态上报信息,更新存储所述 SIP 终端的当前状态, 并向所述 SIP终端发送状态上 ·艮响应消息, 所述 SIP终 端接收状态上报响应消息。
利用本发明实施例所述的方法, 可以开展多种业务, 例如立即热线业 务, 延迟热线业务, 遇忙寄存业务, 呼叫前转业务, IP会议业务等。 下面 分别以立即热线业务和呼叫前转业务为例, 描述一下利用本发明实施例所 述方法的实现过程。
实施例三 利用本发明实施例所述方法开展立即热线业务
假设 SIP终端用户 A在 SIP服务器上注册了立即热线业务, 要求用户 在摘机后所呼叫的目的号码为 01062120000。如图 3所示, 具体过程如下: 步骤 301、 SIP终端检测状态变化情况;
步骤 302、 当用户 A摘机后, 所述 SIP终端检测到 SIP终端的状态发 生了变化, 根据此变化生成 INF0消息; 所述 INF0消息的格式如下: Content-Type: appl icat ion/ s sec
Content-Length:
Event=of f hook
在此实施例中, 只是列举出了 INFO 消息中, 与事件承载消息体相关 的部分内容, INFO消息中的其他部分遵从 SIP协议。
步骤 303、 所述 SIP终端, 将所述 INFO消息发送给 SIP服务器; 步骤 304、 所述 SIP服务器在收到所述 INFO消息后, 将所述 SIP终端 的状态更新为摘机状态; 并检测到用户 A注册了立即热线业务, 那么将建 立所述用户 A与目的号码的呼叫会话过程。
步骤 305、 所述 SIP服务器向 SIP终端发送状态上报响应消息 200。 实施例四 利用本发明实施例所述方法开展呼叫前转业务
图 4所示,假设 SIP终端用户 B在 SIP服务器上注册了呼叫前转业务, 也就是说用户 A可以在呼叫用户 B或用户 A与用户 B通话的过程中, 用户 B可通过操作其 SIP终端上的呼叫前转按键, 呼叫到用户 C, 用户 C的号 码为 01062120000»
步骤 401、 在用户 A呼叫用户 B的过程中, 用户 B发现是用户 A的来 电, 那么在用户 B振铃的过程中, 用户 B启动呼叫前转业务, 将用户 A的 呼叫转移到用户 C; 或者在用户 A与用户 B的通话过程中, 启动呼叫前转 业务, 操作其 SIP 终端上的呼叫前转按键, 并拨叫用户 C 的号码 01062120000, 将用户 A的呼叫转移到用户 C上;
步骤 402、 所述 SIP终端在检测到 B的状态变化后, 将用户 B启动呼 叫前转这一状态生成 INF0消息; 所述 INF0消息的格式为:
Content-Type: appl icat ion/ s sec
Content-Length: Event=FWD
Digit=01062120000
其中 Digit表示用户 C 的号码。
另外, 所述用户 B启动呼叫前转这一状态也可以通过两个 INFO消息 上报给 SIP服务器, 包括釆用以下的形式, 一个 INFO消息上报呼叫前转 事件, 另一个 INFO消息上报用户 C的号码。
Content-Type: appl icat ion/ s sec
Content-Length: Event=FWD
Content-Type: appl icat ion/ s sec
Content-Length:
Digit=01062120000
步骤 403、 将所述 INFO消息发送给 SIP服务器, 在所述 INFO消息中 携带用户 C的号码;
步骤 404、 所述 SIP服务器根据所述 INF0消息, 将用户 A的呼叫转移 到用户 C, 建立用户 A与用户 C的呼叫;
步骤 405、 所述 SIP服务器向用户 A发送状态上报响应消息 200。 与实施例四的实现过程相类似, 还可以实现的业务有三方会议等。 并 且需要说明的是, 在此只是示出了利用本发明所述的方法开展立即热线, 呼叫前转等两项业务的流程, 开展其他业务的方式与示出的这两种业务的 过程相似。
此外, 本发明实施例五还提供了一种 SIP终端。
实施例五
如图 5所示, 所述 SIP终端包括检测单元 501、 信息生成单元 502以 及收发单元 503。 其中, 所述检测单元 501用于检测 SIP终端的状态变化 情况; 信息生成单元 502用于当所述 SIP终端的状态发生变化时, 生成状 态上报信息; 收发单元 503用于将所述 SIP终端的当前状态, 通过所述状 态上报信息发送给 SIP服务器。
其中, 如图 6所示, 所述信息生成单元 502包括转换模块 511以及信 息生成模块 512。 其中, 所述转换模块 511用于将所述 SIP终端的当前状 态转换为相应的 SIP事件; 所述信息生成模块 512用于利用 INFO消息中 的事件承载消息体承载所述 SIP事件, 得到状态上报消息。
此外, 为了保证 SIP终端的状态更新成功, 所述收发单元 503还用于 接收由所述 SIP服务器发送的状态上报响应消息。
与实施例二-四所述的 SIP终端上 ·艮状态的方法相对应, 本发明实施 例六还提供了一种处理 SIP终端的上报状态的方法。
实施例六
如图 7所示, 实施例六处理 SIP终端的上>¾状态的方法可包括: 步骤 701、 SIP服务器接收会话初始协议终端上报的状态上报信息; 所述的状态上报信息的格式与实施例二-五所述的相同, 在此不再赘 述。
步骤 702、 SIP服务器根据所述状态上报信息, 更新所述会话初始协 议终端的状态。 具体为: SIP服务器解析所述状态上报消息, 获取所述会 话初始协议终端的状态信息, 然后由所述 SIP服务器将所述会话初始协议 终端的当前状态更改为与所述状态信息相对应的状态。
这样, SIP服务器就可准确的获知 SIP终端的当前状态, 准确的为其 提供呼叫接续业务。
此外, 与本发明实施例六相对应, 本发明实施例七还提供了一种 SIP 服务器。
实施例七 如图 8所示, 本实施例 S IP服务器包括接收单元 801和状态更新单元 802。 其中, 接收单元 801 用于接收会话初始协议终端上报的状态上报信 息; 状态更新单元 802用于根据所述状态上报信息, 更新所述会话初始协 议终端的状态。
此外, 所述状态更新单元 802可包括解析模块 811和修改模块 812。 其中, 解析模块 811用于解析所述状态上报消息, 获取所述会话初始协议 终端的状态信息; 修改模块 812用于将所述会话初始协议终端的当前状态 更改为与所述状态信息相对应的状态。
综上所述, 所述 S IP状态终端能够根据接收到的状态变化信号, 生成 状态上报信息,并将其自身的状态信息发送给 S IP服务器。 因而,所述 S IP 服务器能够准确的获得 S IP终端的当前状态, 为 S IP终端准确的提供呼叫 接续业务。 另外, 利用本发明实施例还能够实现对立即热线、 延迟热线等 业务的支持。
在本发明实施例中, 所述的 S IP终端可以为 S IP软终端, S IP电话, 以及 S IP IAD等设备。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分 步骤是可以通过程序来指令相关的硬件来完成, 所述程序可以存储于一计 算机可读取存储介质中, 所述存储介质为 ROM/RAM、 磁碟、 光盘等。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局 限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应所述以权利要求的保护范围为准。

Claims

权 利 要 求
1、 一种会话初始协议终端上 状态的方法, 其特征在于, 所述方法 包括:
检测会话初始协议终端的状态变化情况;
当所述会话初始协议终端的状态发生变化时, 生成状态上报信息; 将所述会话初始协议终端的当前状态, 通过所述状态上报信息发送给 会话初始协议服务器。
2、 根据权利要求 1 所述的会话初始协议终端上报状态的方法, 其特 征在于, 所述生成状态上报信息包括:
将所述会话初始协议终端的当前状态转换为相应的会话初始协议事 件;
利用报告消息中的事件承载消息体承载所述会话初始协议事件, 得到 所述状态上报消息。
3、 根据权利要求 2 所述的会话初始协议终端上报状态的方法, 其特 征在于, 所述事件承载消息体为补充呼叫业务控制消息体。
4、 根据权利要求 1 -3任一权利要求所述的会话初始协议终端上报状 态的方法, 其特征在于, 所述方法还包括:
接收由所述会话初始协议服务器发送的状态上报响应消息。
5、 一种处理会话初始协议终端的上 状态的方法, 其特征在于, 所 述方法包括如下步骤:
接收会话初始协议终端上报的状态上报信息;
根据所述状态上报信息, 更新所述会话初始协议终端的状态。
6、 根据权利要求 5所述的处理会话初始协议终端的上报状态的方法, 其特征在于, 所述根据所述状态上报信息, 更新所述会话初始协议终端的 状态的步骤包括:
解析所述状态上报消息, 获取所述会话初始协议终端的状态信息; 将所述会话初始协议终端的当前状态更改为与所述获取的状态信 , 相对应的状态。
7、 一种会话初始协议终端, 其特征在于, 包括:
检测单元, 用于检测会话初始协议终端的状态变化情况; 成状态上报信息;
收发单元, 用于将所述会话初始协议终端的当前状态, 通过所述状态 上报信息发送给会话初始协议服务器。
8、 根据权利要求 7 所述的会话初始协议终端, 其特征在于, 所述信 息生成单元包括:
转换模块, 用于将所述会话初始协议终端的当前状态转换为相应的会 话初始协议事件;
信息生成模块, 用于利用报告消息中的事件承载消息体承载所述会话 初始协议事件, 得到状态上报消息。
9、 根据权利要求 7或 8所述的会话初始协议终端, 其特征在于, 所述收发单元还用于接收由所述会话初始协议服务器发送的状态上 报响应消息。
1 0、 一种会话初始协议服务器, 其特征在于, 包括:
接收单元, 用于接收会话初始协议终端上报的状态上报信息; 状态更新单元, 用于根据所述状态上报信息, 更新所述会话初始协议 终端的状态。
1 1、 根据权利要求 1 0 所述的会话初始协议服务器, 其特征在于, 所 述状态更新单元包括:
解析模块, 用于解析所述状态上报消息, 获取所述会话初始协议终端 的状态信息;
修改模块, 用于将所述会话初始协议终端的当前状态更改为与所述解 析模块获取的状态信息相对应的状态。
1 2、 一种会话初始协议终端上 ·艮状态的系统, 其特征在于, 所述系统 包括: 会话初始协议服务器以及会话初始协议终端; 其中,
所述会话初始协议终端, 用于将其自身的状态变化生成状态上报信息 发送给所述会话初始协议服务器;
所述会话初始协议服务器, 用于根据所述状态上报信息, 更新所述会 话初始协议终端的状态记录, 并向所述会话初始协议终端发送状态上 4艮响 应消息。
1 3、 根据权利要求 12 所述的会话初始协议终端上报状态的系统, 其 特征在于, 所述会话初始协议终端包括:
检测单元, 用于检测会话初始协议终端的状态变化情况; 成状态上报信息;
收发单元, 用于将所述会话初始协议终端的当前状态, 通过所述状态 上报信息发送给会话初始协议服务器。
14、 根据权利要求 12 所述的会话初始协议终端上报状态的系统, 其 特征在于, 所述会话初始协议服务器包括:
接收单元, 用于接收会话初始协议终端上报的状态上报信息; 状态更新单元, 用于根据所述状态上报信息, 更新所述会话初始协议 终端的状态。
PCT/CN2009/070173 2008-06-19 2009-01-16 Sip终端及其上报状态的方法、系统以及sip服务器 WO2009152699A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP09765339A EP2159969A4 (en) 2008-06-19 2009-01-16 SIP DEVICE, STATUS LOGGING, SYSTEM AND CORRESPONDING SIP SERVER
US12/490,898 US20090319657A1 (en) 2008-06-19 2009-06-24 Sip terminal, method and system for reporting status thereof, and sip server

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810127054.9A CN101309277A (zh) 2008-06-19 2008-06-19 Sip终端及其上报状态的方法、系统以及处理该上报状态的方法、设备
CN200810127054.9 2008-06-19

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/490,898 Continuation US20090319657A1 (en) 2008-06-19 2009-06-24 Sip terminal, method and system for reporting status thereof, and sip server

Publications (1)

Publication Number Publication Date
WO2009152699A1 true WO2009152699A1 (zh) 2009-12-23

Family

ID=40125496

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/070173 WO2009152699A1 (zh) 2008-06-19 2009-01-16 Sip终端及其上报状态的方法、系统以及sip服务器

Country Status (3)

Country Link
EP (1) EP2159969A4 (zh)
CN (1) CN101309277A (zh)
WO (1) WO2009152699A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309277A (zh) * 2008-06-19 2008-11-19 华为技术有限公司 Sip终端及其上报状态的方法、系统以及处理该上报状态的方法、设备
CN101534312B (zh) * 2009-04-29 2012-09-12 迈普通信技术股份有限公司 基于初始会话协议的点击拨号代理呼叫方法及装置
CN102457839B (zh) * 2010-10-29 2015-04-01 中兴通讯股份有限公司 机器类型通信终端的业务触发方法和装置
CN102487341B (zh) * 2010-12-02 2015-10-21 中兴通讯股份有限公司 会话检测方法、装置及会话初始协议服务器
CN102143278B (zh) * 2010-12-16 2015-04-08 华为技术有限公司 模拟终端的事件上报方法、状态信息获取方法和设备
CN102131163A (zh) * 2010-12-31 2011-07-20 华为技术有限公司 在电路域接入终端与as之间交互控制信息的方法及设备
CN105743849A (zh) * 2014-12-09 2016-07-06 北京大唐高鸿数据网络技术有限公司 利用会话初始化协议实现安防设备控制的方法
CN106331386B (zh) * 2015-07-02 2019-10-15 华为技术有限公司 终端状态同步方法、相关装置及系统
CN111064957B (zh) 2018-10-17 2021-03-23 杭州海康威视数字技术股份有限公司 设备状态监控方法及装置
CN110519123B (zh) * 2019-08-23 2022-07-15 深圳震有科技股份有限公司 一种检测dsp使用状态的方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464700A (zh) * 2002-06-04 2003-12-31 深圳市中兴通讯股份有限公司 终端用户向会话发起协议网络通知忙闲状态的方法
WO2005120155A2 (en) * 2004-06-07 2005-12-22 Nokia Corporation Method, system and computer program to enable semantic mediation for sip events through support of dynamically binding to and changing of application semantics of sip events
CN1882009A (zh) * 2005-07-20 2006-12-20 华为技术有限公司 Ngn中实现与拍叉相关补充业务的方法
JP2008048180A (ja) * 2006-08-17 2008-02-28 Nec Engineering Ltd SIPベースの交換機並びにVoIPシステムの制御方法及び制御プログラム
CN101309277A (zh) * 2008-06-19 2008-11-19 华为技术有限公司 Sip终端及其上报状态的方法、系统以及处理该上报状态的方法、设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464700A (zh) * 2002-06-04 2003-12-31 深圳市中兴通讯股份有限公司 终端用户向会话发起协议网络通知忙闲状态的方法
WO2005120155A2 (en) * 2004-06-07 2005-12-22 Nokia Corporation Method, system and computer program to enable semantic mediation for sip events through support of dynamically binding to and changing of application semantics of sip events
CN1882009A (zh) * 2005-07-20 2006-12-20 华为技术有限公司 Ngn中实现与拍叉相关补充业务的方法
JP2008048180A (ja) * 2006-08-17 2008-02-28 Nec Engineering Ltd SIPベースの交換機並びにVoIPシステムの制御方法及び制御プログラム
CN101309277A (zh) * 2008-06-19 2008-11-19 华为技术有限公司 Sip终端及其上报状态的方法、系统以及处理该上报状态的方法、设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2159969A4 *

Also Published As

Publication number Publication date
EP2159969A4 (en) 2010-07-07
EP2159969A1 (en) 2010-03-03
CN101309277A (zh) 2008-11-19

Similar Documents

Publication Publication Date Title
WO2009152699A1 (zh) Sip终端及其上报状态的方法、系统以及sip服务器
JP4786993B2 (ja) 音声伝送用の電話網を使用するipテレビ会議を確立する方法
WO2009115048A1 (zh) 基于同号移动终端与软终端通话切换方法、系统及设备
TWI364934B (en) Mobile communication apparatus and base station system used for connecting communications between mobile stations
WO2006111100A1 (fr) Procede pour realiser un signal de rappel dans un systeme de communication
WO2009082966A1 (fr) Procédé de contrôle d'appel, système de communication et dispositif associé
WO2012037790A1 (zh) 数字电视终端进行即时通讯的方法和装置及系统
WO2015062454A1 (zh) 音视频通话方法、设备和系统
WO2008064580A1 (fr) Procédé, système et serveur d'application pour éviter la diaphonie de signal de rappel couleur
JP5095759B2 (ja) 呼制御方法
WO2011124042A1 (zh) 一种ctd呼叫业务中实现呼叫保持的方法和装置
WO2012079449A1 (zh) 双向语音对讲的实现方法及系统
WO2009039767A1 (fr) Procédé et système pour effectuer un service de session en commutation de paquet
US20200186636A1 (en) Enabling call transfer using headset
WO2008067722A1 (fr) Procédé, système de téléphone et terminal de téléphone pour une session d'appel
WO2009079960A1 (fr) Procédé, système et équipement pour un interfonctionnement de signalisation dtmf hors bande
US20090319657A1 (en) Sip terminal, method and system for reporting status thereof, and sip server
WO2017000481A1 (zh) 语音通话的拨号方法和装置
JP2005020676A (ja) 電話通信方法及び装置
WO2013091310A1 (zh) 终端实现呼叫等待的方法、装置和系统
EP2289253B1 (en) Method for achieving a call -waiting functionality in a communication network.
WO2007056958A1 (fr) Procede, systeme et dispositif pour la realisation d'appel en attente en domaine paquet
WO2012171290A1 (zh) 询问转接实现方法、应用服务器、业务终端和系统
WO2011079709A1 (zh) 会话处理方法及装置
WO2011032425A1 (zh) 呼叫等待业务中区别振铃的实现方法及系统

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2009765339

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09765339

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE