WO2007053981A1 - A method for implementing the media switch in the voice service of the h.323 protocol - Google Patents

A method for implementing the media switch in the voice service of the h.323 protocol Download PDF

Info

Publication number
WO2007053981A1
WO2007053981A1 PCT/CN2005/001910 CN2005001910W WO2007053981A1 WO 2007053981 A1 WO2007053981 A1 WO 2007053981A1 CN 2005001910 W CN2005001910 W CN 2005001910W WO 2007053981 A1 WO2007053981 A1 WO 2007053981A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
control device
message
called
softswitch
Prior art date
Application number
PCT/CN2005/001910
Other languages
French (fr)
Chinese (zh)
Inventor
Qiaoxia Wu
Yongdong Pan
Gaofeng Fan
Original Assignee
Zte Corporation
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 Zte Corporation filed Critical Zte Corporation
Priority to PCT/CN2005/001910 priority Critical patent/WO2007053981A1/en
Priority to CN200580050011.XA priority patent/CN101194483B/en
Publication of WO2007053981A1 publication Critical patent/WO2007053981A1/en

Links

Classifications

    • 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/1106Call signalling protocols; H.323 and related

Definitions

  • the invention belongs to the field of data communication, and relates to a method for implementing media switching of the '1,323 protocol in a softswitch system, and particularly relates to a method for implementing media switching in a voice service of the H.323 protocol. Background technique
  • the Next Generation Network (NGN network) and the softswitch system provide a large number of rich and colorful value-added services based on the traditional telephone voice service.
  • the H.323 protocol often needs to be temporarily implemented when implementing these value-added services. Turn off the media channel that the terminal originally opened, and transfer its media to a new point (such as a media server that provides voice services, etc.).
  • the H.450.X series protocol encapsulates a series of letters defined by the H450.1 Supplementary Service (Application Protocol Data Unit, APDU) and its defined H.225 call signaling message.
  • the process completes the value-added service and the media switching process involved, but the application of the H.450.X series protocol defines a set of processes for each service, and the terminal and the control device need to support the H.450.X protocol, which is more complicated. .
  • the H.245 protocol in the H.323 protocol suite is a media control protocol, and media negotiation between endpoints can be completed through the H.245 process.
  • the V.2 version of the H.323 protocol introduces the concept of a fast call, allowing media negotiation to be completed by a fast start unit while the call is being established.
  • the H.323 protocol V2 version also introduces third-party rerouting and terminal capability settings. (Terminal Capability Set NULL) (hereinafter referred to as TCSNULL) message usage. Summary of the invention
  • the problem to be solved by the present invention is how to use the media negotiation defined by the H.245 media control signaling to complete the media switching process commonly required in various value-added services, and consider the fast, slow call to H.323 protocol media switching. Impact.
  • the object of the present invention is to provide a method for implementing media handover in a voice service of the H.323 protocol, which completes the media of the communication terminal from the original endpoint to a new one through negotiation of H.245 media control signaling.
  • the endpoints flexibly and conveniently implement the media switching process required in various value-added services, and also consider the impact of fast call and slow call processes and cross-protocol interworking on the media switching process.
  • a method for implementing media switching in a voice service of the H.323 protocol of the present invention is applicable to a caller of a fast call type, wherein the media handover process is initiated by a softswitch control device, and the type of media handover For voice media, and the switched terminal is an H.323 terminal, the method includes the following steps:
  • Step 1 The calling party sends a setup message with the calling media to the softswitch control device.
  • Step 2 Since some services need to block the media stream called to the calling party before the called party picks up the phone, the softswitch The control device can construct the fake media and send a setup message with the fake media to the called party;
  • Step 3 The softswitch control device sends a ringing message with no media and a connect message of the media with the media server to the above-mentioned calling party, and passes the Real-time Transport Protocol. (hereinafter referred to as RTP) to call the above caller Sound.
  • RTP Real-time Transport Protocol
  • Step 4 The called party picks up the phone and sends a connect message to the softswitch control device.
  • Step 5 The softswitch control device determines whether the connection message has the called media, and if yes, the call is a fast type, and step 7 is performed; otherwise, the called is a slow type, and the step is performed. 6;
  • Step 6 The softswitch control device and the called party perform media negotiation through the H.245 process, and the softswitch control device obtains the called media.
  • Step ⁇ The softswitch control device switches the calling media to the called party by using H.245 media control signaling.
  • Step 8 The softswitch control device switches the called media to the calling party by using H.245 media control signaling.
  • Step 9 The above caller and the above called party call.
  • the media negotiation performed by the softswitch control device and the called party through the H.245 process is to perform media negotiation using the fake media and the called party.
  • the above-mentioned calling party and the above-mentioned softswitch control device sequentially perform two-way master-slave determination and capability exchange, and both the calling party and the softswitch control device can receive the acknowledgement message of the other party.
  • the called party and the softswitch control device perform the two-way master-slave determination and capability exchange in sequence, and the called party and the softswitch Both parties to the control device can receive the confirmation message from the other party.
  • Step 7 mainly includes the following steps: Step 701: The softswitch control device sends a request type (RequestMode) message with a switched media type to the calling party.
  • Step 701 The softswitch control device sends a request type (RequestMode) message with a switched media type to the calling party.
  • Step 702 After receiving the request type (RequestMode) message, the calling party sends a request type acknowledgement (RequestModeAck) message to the softswitch control device.
  • RequestModeAck request type acknowledgement
  • Step 703 The foregoing calling party and the above softswitch control device close the logical channel through two directions
  • the (CloseLogicalChannel) message and the CloseLogicalChannelAck message close the respective open media channels;
  • Step 704 The foregoing calling party and the softswitch control device open the required media channel by bidirectional OpenLogical Channel (OpenLogicalChannel) message and Open logical channel acknowledgement (OpenLogicalChannelAck) message.
  • OpenLogicalChannel OpenLogical Channel
  • OpenLogicalChannelAck Open logical channel acknowledgement
  • step 8 mainly includes the following steps:
  • Step 801 The softswitch control device sets a terminal (TerminalCapabilitySetNULL) message to the called terminal.
  • Step 802 After the called party receives the terminal capacity set (TerminalCapabilitySetNULL) message, the terminal responds to the softswitch control device with a terminal capability setting confirmation (TerminalCapabilitySetAck) message;
  • Step 803 The foregoing called party and the softswitch control device close the respective open media channels by using a bidirectional CloseLogicalChannel message and a CloseLogicalChannelAck message;
  • Step 804 The softswitch control device receives the foregoing terminal capability setting confirmation.
  • Step 805 After receiving the foregoing non-empty terminal capability setting (Terminal CapabilitySet) message, the called party completes the two-way capability exchange process with the softswitch control device, and returns a non-empty terminal capability setting confirmation to the softswitch control device. a terminal CapabilitySetAck) message;
  • Step 806 After receiving the non-empty terminal capability setting confirmation (TerminalCapabilitySetAck) message of the called response, the softswitch control device initiates a bidirectional master-slave determination and capability exchange operation with the called party;
  • Step 807 The above called party and the above softswitch control device open the required media channel by bidirectional OpenLogical Channel message and OpenLogicalChannelAck message.
  • a method for implementing media switching in a voice service of the H.323 protocol of the present invention is applicable to a calling party of a slow call type, wherein the media switching process is initiated by a softswitch control device, and the media switching is performed.
  • the type is voice media
  • the switched terminal is an H.323 terminal. The method includes the following steps:
  • Step 1 The calling party sends a setup message without the calling media to the softswitch control device.
  • Step 2 The softswitch control device sends a setup message without the media to the called party;
  • Step 3 The softswitch control device transmits a ringing message with no media and a connect message of the media without the media server by forwarding to the above-mentioned calling party;
  • Step 4 The calling party and the softswitch control device perform media negotiation through the H.245 process, and the calling party obtains the media of the media server and listens to the calling tone through the RTP.
  • Step 5 The called party picks up the phone, The softswitch control device sends a connect message without the called media;
  • Step 6 The softswitch control device constructs a fake medium;
  • Step 7 The softswitch control device and the called party perform media negotiation through the H.245 process, and the softswitch control device obtains the called media.
  • Step 8 The softswitch control device switches the calling media to the called party by using H.245 media control signaling.
  • Step 9 The softswitch control device switches the called media to the calling party by using H.245 media control signaling.
  • Step 10 The above caller and the above called party call.
  • the media negotiation performed by the softswitch control device and the called party through the H.245 process is to perform media negotiation using the fake media and the called party.
  • step 8 mainly includes the following steps:
  • Step 801 The softswitch control device sends a request type (RequestMode) message with the switched media type to the calling party.
  • requestType RequestMode
  • Step 802 After receiving the request type (RequestMode) message, the calling party sends a request type acknowledgement (RequestModeAck) message to the softswitch control device.
  • RequestModeAck request type acknowledgement
  • Step 803 The foregoing calling party and the softswitch control device close the respective opened media channels by using a bidirectional CloseLogicalChannel message and a CloseLogicalChannelAck message;
  • Step 804 The foregoing calling party and the softswitch control device open the required media channel by bidirectional OpenLogical Channel (OpenLogicalChannel) message and OpenLogical Channel Ack message.
  • OpenLogicalChannel OpenLogical Channel
  • OpenLogical Channel Ack OpenLogical Channel Ack
  • Step 9 mainly includes the following steps: Step 901: The softswitch control device sets a terminal (Terminal Capability Set NULL) message to the called terminal.
  • Step 902 After receiving the terminal capacity setting (NerminalCapabilitySetNULL) message, the called terminal returns a terminal capacity setting confirmation (TerminalCapabiHtySetAck) message to the softswitch control device;
  • TerminalCapabiHtySetAck TerminalCapabiHtySetAck
  • Step 903 The foregoing called party and the softswitch control device close the respective open media channels by using a bidirectional CloseLogicalChannel message and a CloseLogicalChannelAck message;
  • Step 904 The softswitch control device receives the terminal capability setting confirmation (TerminalCapabilitySetAck) message, and confirms that the media channel is completely closed, and sends a non-empty terminal capability setting (TerminalCapabilitySet) with the switched media type to the called party. ) message
  • Step 905 After receiving the foregoing non-empty terminal capability setting (Terminal CapabilitySet) message, the called party completes the two-way capability exchange process with the softswitch control device, and returns a non-empty terminal capability setting confirmation to the softswitch control device ( a terminal CapabilitySetAck) message;
  • Step 906 After receiving the non-empty terminal capability setting confirmation (TerminalCapabilitySetAck) message of the called response, the softswitch control device initiates a two-way master-slave determination and capability exchange operation with the called party;
  • Step 907 The above called party and the softswitch control device open the required media channel by using a bidirectional OpenLogicalChannel message and an OpenLogicalChannelAck message.
  • the foregoing calling media includes at least a media type supported by the calling party, and the calling media internet protocol Media information such as the Internet Protocol (IP) address and the calling media port number; for the caller of the fast call type, the media type of the fake media is the same as the media type supported by the calling party, and the fake media IP address is Unreachable IP address (for example, 127.0.0.1), the fake media port number is optional.
  • IP Internet Protocol
  • the media type of the fake media includes various commonly used media types, and the fake media IP address is unreachable.
  • the IP address (for example, 127.0.0.1), the fake media port number is optional; the media of the media server includes at least a ring back tone media and a prompt tone medium; and the foregoing media negotiation by the H.245 process includes at least a master-slave determination operation, The capability exchange operation and the snoring media channel operation; the call tone includes at least a color ring tone and a prompt tone; and the called media includes at least media information supported by the called party, the called media IP address, and the called media port number.
  • the softswitch control device may be configured to match different switched terminal types or different switched terminal nodes, etc. One of two media switching processes.
  • the method of the present invention can also initiate the above media switching process by using other intelligent service control devices instead of the above soft handover control device.
  • the invention adopts the H.245 media control signaling to complete the media switching process in the voice service of the H.323 protocol.
  • the media negotiation is implemented by using the fake media in the case of unknown media, which is suitable for fast calling and slow.
  • the media switching of the fast calling user is not affected by the type of cross-protocol, and can be used for media switching in various value-added service implementations.
  • FIG. 1 is a schematic diagram of a main process of calling a fast call type according to the method of the present invention
  • FIG. 2 is a schematic diagram of a main flow of a caller being a slow call type according to the method of the present invention
  • FIG. 3 is a preferred embodiment of the present invention
  • the fast H.323 user calls the number one number of the ring tones service process, and the fast H.323 user bound by the number one number picks up the phone;
  • FIG. 4 is a flow chart of a CRBT No. 1 service for a fast H.323 subscriber to call a one-number number in a preferred embodiment of the present invention, wherein a slow H.323 subscriber bound by a one-number number is off-hook;
  • FIG. 5 is a flow chart of a CRBT number one service for a slow H.323 user to call a one-number number in a preferred embodiment of the present invention, wherein an H.323 user bound by the first number is off-hook.
  • the one-number service allows multiple terminal users to be bound to the same one-number number.
  • a user calls the one-number number, multiple bound users ring at the same time. After one of the ringing users picks up the phone, The call between the off-hook user and the calling party is connected, and the call of other terminal users is released.
  • the specific implementation steps of the H.323 protocol media switching method of the present invention are described below in conjunction with the implementation process of the No. 1 service on the H.323 protocol side.
  • the main called user may not be the user under the same softswitch, and the call path may also span other protocol types and other control devices.
  • the present invention mainly focuses on the signaling process of the H.323 protocol side.
  • the IP address of the calling party and the type of media used in the embodiment are embodied, but the invention is not limited by these contents.
  • FIG. 1 is a schematic diagram of a main flow of a caller being a fast call type according to the method of the present invention
  • FIG. 3 is a first-pass service flow of a fast H.323 subscriber calling a one-number number in a preferred embodiment of the present invention, where The fast H.323 user bound to the number is off-hook, and the ringer is placed on the media server through the media server.
  • Step 101 The calling party sends a setup message to the softswitch control device, where the message carries the calling media;
  • Step 102 and step 103 the softswitch control device sends a setup message to the plurality of called users bound by the one-number communication, wherein the message carries the fake media, but the media type is the media type supported by the calling party;
  • Step 104 and step 105 the plurality of called parties ring simultaneously;
  • Step 106 The softswitch control device sends an alerting message to the calling party.
  • Step 107 The softswitch control device sends a connect message to the calling party, where the message is sent to the ringback media, that is, the media server.
  • Step 108 The caller listens to the CRBT through the RTP, and selects the voice media type as G711A; Step 109, the called party picks up the phone, and the selected voice media type is G711U;
  • Step 110 The softswitch control device releases other called user calls.
  • Step 111 Before using the H.245 media control signaling to switch the calling media, the calling party and the softswitch control device perform the two-way master-slave determination, and both parties need to receive the master slave confirmation (MasterSlaveDeterminationAck) message;
  • Step 112 Before using the H.245 media control signaling to switch the calling media, the calling party and the softswitch control device perform a two-way capability exchange, and both parties need to receive a terminal capability setting confirmation (Terminal Capability Set Ack) message of the other party; Step 113, the softswitch control device sends a request type (RequestMode) message to the calling party to switch the calling media, wherein the switched media type is the called media G711U;
  • RequestMode request type
  • Step 114 After receiving the request type (RequestMode) message, the calling party returns a request type acknowledgement (RequestModeAck) message to the softswitch control device.
  • RequestMode request type acknowledgement
  • Step 115 The calling party and the softswitch control device respectively close the voice media channel opened by the party;
  • Step 116 The caller and the softswitch control device open a new voice media channel, where the media type is G711U. At this time, the caller has obtained the called media, and may send an RTP voice packet to the called party.
  • Step 117 Before the called media is switched by using the H.245 media control signaling, the called party and the softswitch control device perform a two-way master-slave determination, and both parties need to receive a master-slave determination (Ack) message of the master;
  • Ack master-slave determination
  • Step 118 Before using the H.245 media control signaling to switch the called media, the called party and the softswitch control device perform bidirectional capability exchange, and both parties need to receive a terminal capability setting confirmation (TerminalCapabilitySetAck) message of the other party;
  • TerminalCapabilitySetAck TerminalCapabilitySetAck
  • Step 119 The softswitch control device sets a terminal (Terminal Capability Set ULL) message to the called terminal to pause the called media.
  • Step 120 The called party returns a terminal capability setting confirmation (TerminalCapabilitySetAck) message to the softswitch control device.
  • Step 121 The above called party and the softswitch control device respectively close all media channels opened by the party;
  • Step 123 The called party returns a terminal capability setting confirmation (TerminalCapabilitySetAck) message to the softswitch control device.
  • Step 124 The called party and the softswitch control device re-determine the two-way master-slave determination.
  • Step 127 The called party and the softswitch control device open a new voice media channel, where the media type is G711U, and the called party obtains the calling media at this time;
  • Step 128 The above-mentioned calling party is called.
  • Step 201 to Step 208 are the same as Step 101 to Step 108, and the calling party hears the ring back tone;
  • Step 209 the called party picks up the phone, and sends a connect message to the softswitch control device, where the message does not have the called media;
  • Step 210 The called party and the softswitch control device perform bidirectional master-slave determination; Step 211, the called party and the softswitch control device perform bidirectional capability exchange; Step 212, the above called party and the softswitch control device open the voice media channel, wherein the media type is G711U;
  • Step 213 The softswitch control device releases other called user calls.
  • Step 214 to step 219 are the same as step 111 to step 116, and the calling media is switched from the media server to the called party;
  • Step 220 to step 228 are the same as steps 119 to 127, and the called media is switched from the fake media to the calling party;
  • Step 229 the above-mentioned calling party is called.
  • FIG. 2 is a schematic diagram of a main flow of a caller being a slow call type according to the method of the present invention
  • FIG. 5 is a first-pass service flow of a slow H.323 user calling a one-number number in a preferred embodiment of the present invention
  • the H323 user bound to the first one picks up the phone and puts the ring back tone to the calling party through the media server.
  • FIG. 2 and FIG. 5 at the same time, which mainly includes the following steps:
  • Step 301 The calling party sends a setup message to the softswitch control device, where the message does not carry the calling media.
  • Step 302 and step 303 the softswitch control device sends a setup message to a plurality of called users bound to the one-number communication, wherein the message does not carry media;
  • Step 304 and step 305 the plurality of called parties ring simultaneously;
  • Step 306 the softswitch control device sends an alerting message to the calling party;
  • Step 307 the softswitch control device sends a connect message to the calling party;
  • Step 308 the calling party and the softswitch control The device performs bidirectional master-slave determination.
  • step 309 the calling party and the softswitch control device perform bidirectional capability exchange, where the softswitch control device sends a terminal capability setting (TerminalCapabilitySet) message packet.
  • Step 310 the caller and the softswitch control device open the voice media channel, wherein the selected media type is G711A;
  • Step 311 the foregoing caller listens to the ring back tone
  • Step 312 the called party picks up the phone, and sends a connect message to the softswitch control device, where the message does not carry media;
  • Step 313 the called party and the softswitch control device perform bidirectional master-slave determination;
  • Step 314 the called party and the softswitch control device perform bidirectional capability exchange, where the softswitch control device sends the terminal capability setting ( TerminalCapabilitySet) messages include various media types commonly used;
  • Step 315 the above called party and the softswitch control device open the voice media channel, wherein the selected media type is G711U;
  • Step 316 the softswitch control device releases other called user calls
  • Step 317 After all the media information, such as the media type, the IP address, and the media port number supported by the called party, are sent to the calling side of the softswitch control device, the softswitch control device sends a request type (RequestMode) message to switch the calling party.
  • the medium wherein the media type in the request type message is a media type G711A supported by the main callee selected by the softswitch control device;
  • Step 318 the foregoing caller replies to the softswitch control device with a request type acknowledgement (RequestModeAck) message;
  • Step 319 The calling party and the softswitch control device respectively close the voice media channel opened by the party;
  • Step 320 The caller and the softswitch control device play a new voice media channel, wherein the media type is G711A. At this time, the caller has obtained the called media, and may send an RTP voice packet to the called party.
  • Step 321 to step 329 are the same as step 119 to step 127, and the called media is switched from the fake media to the calling party;
  • Step 330 The above-mentioned calling party is called.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)
  • Communication Control (AREA)

Abstract

A method for implementing the media switch in the voice service of the H.323 protocol of the present invention ,in which the process of the media switch is initiated by the softswitch control equipment, the type of the media switch is the voice media and the switched terminal is the H.323 terminal, performs the flow of the media switch corporately needed in a plurality of the value added service by the negotiation of the H.245 media control signaling, and in the media negotiation, it performs the media negotiation using the virtual media in the case that it does not know the partner media. It applies the media switch of fastly calling and slowly calling user without the influence of the type of the interconnected procotol, and applies the case of the media switch needed in a plurality of the implementation of value added service.

Description

一种 H.323协议的语音业务中的媒体切换的实现方法 技术领域  Method for realizing media switching in voice service of H.323 protocol
本发明属于数据通信领域, 涉及一种软交换系统中',1 323协议的媒体 切换的实现方法, 且特别涉及一种 H.323协议的语音业务中的媒体切换的 实现方法。 背景技术  The invention belongs to the field of data communication, and relates to a method for implementing media switching of the '1,323 protocol in a softswitch system, and particularly relates to a method for implementing media switching in a voice service of the H.323 protocol. Background technique
下一代网络 (Next Generation Network, 简称 NGN网络)和软交换系统 在传统电话语音业务的基础上提供了大量的丰富多彩的增值业务, 其中 H.323协议在实现这些增值业务时, 经常有需要暂时关闭终端原来打开的 媒体通道, 并将其媒体转移到新的 点上 (比如提供语音服务的媒体服务 器上等)的情况。  The Next Generation Network (NGN network) and the softswitch system provide a large number of rich and colorful value-added services based on the traditional telephone voice service. The H.323 protocol often needs to be temporarily implemented when implementing these value-added services. Turn off the media channel that the terminal originally opened, and transfer its media to a new point (such as a media server that provides voice services, etc.).
H.450.X系列协议通过封装在相关 H.225呼叫信令消息的 H450.1附加 业务 (H450.1 SupplementaryService)应用协议数据单元 (Application Protocol Data Unit,简称 APDU)和其定义的一系列信令过程完成增值业务及其间涉 及的媒体切换过程, 但是 H.450.X系列协议的应用对每种业务需要定义一 套流程, 且需要终端和控制设备都支持 H.450.X协议, 比较复杂。  The H.450.X series protocol encapsulates a series of letters defined by the H450.1 Supplementary Service (Application Protocol Data Unit, APDU) and its defined H.225 call signaling message. The process completes the value-added service and the media switching process involved, but the application of the H.450.X series protocol defines a set of processes for each service, and the terminal and the control device need to support the H.450.X protocol, which is more complicated. .
目前, H.323协议簇中的 H.245协议是媒体控制协议, 通过 H.245过 程可以完成端点间的媒体协商。 H.323协议 V2版本又引入了快速呼叫的 概念, 允许在呼叫建立的同时通过快速呼叫 (faststart)单元完成媒体协商。 H.323 协议 V2 版本中同时介绍了第三方重路由和终端能力设定空 (Terminal Capability Set NULL) (以下简称 TCSNULL)消息的使用。 发明内容 Currently, the H.245 protocol in the H.323 protocol suite is a media control protocol, and media negotiation between endpoints can be completed through the H.245 process. The V.2 version of the H.323 protocol introduces the concept of a fast call, allowing media negotiation to be completed by a fast start unit while the call is being established. The H.323 protocol V2 version also introduces third-party rerouting and terminal capability settings. (Terminal Capability Set NULL) (hereinafter referred to as TCSNULL) message usage. Summary of the invention
鉴于上述, 本发明所要解决的问题是如何使用 H.245媒体控制信令定 义的媒体协商完成各类增值业务中共同需要的媒体切换流程, 以及考虑快 速、 慢速呼叫对 H.323协议媒体切换的影响。  In view of the above, the problem to be solved by the present invention is how to use the media negotiation defined by the H.245 media control signaling to complete the media switching process commonly required in various value-added services, and consider the fast, slow call to H.323 protocol media switching. Impact.
为此, 本发明的目的在于提供一种 H.323协议的语音业务中的媒体切 换的实现方法, 其通过 H.245媒体控制信令的协商, 完成通信终端的媒体 从原端点转移到新的端点, 灵活、 方便地实现各种增值业务中要求的媒体 切换过程, 同时还考虑了快速呼叫和慢速呼叫过程及跨协议互通对媒体切 换过程的影响。  Therefore, the object of the present invention is to provide a method for implementing media handover in a voice service of the H.323 protocol, which completes the media of the communication terminal from the original endpoint to a new one through negotiation of H.245 media control signaling. The endpoints flexibly and conveniently implement the media switching process required in various value-added services, and also consider the impact of fast call and slow call processes and cross-protocol interworking on the media switching process.
为实现上述目的, 本发明的一种 H.323协议的语音业务中的媒体切换 的实现方法, 适用于快速呼叫类型的主叫, 其中该媒体切换过程由软交换 控制设备发起,媒体切换的类型为语音媒体,且被切换终端为 H.323终端, 该方法包括以下步骤:  To achieve the above object, a method for implementing media switching in a voice service of the H.323 protocol of the present invention is applicable to a caller of a fast call type, wherein the media handover process is initiated by a softswitch control device, and the type of media handover For voice media, and the switched terminal is an H.323 terminal, the method includes the following steps:
步骤 1 : 主叫向软交换控制设备发送带主叫媒体的启动 (setup)消息; 步骤 2: 由于某些业务需要在被叫摘机前屏蔽被叫到主叫的媒体流, 则上述软交换控制设备可以构造假媒体, 并向被叫发送带假媒体的启动 (setup)消息;  Step 1: The calling party sends a setup message with the calling media to the softswitch control device. Step 2: Since some services need to block the media stream called to the calling party before the called party picks up the phone, the softswitch The control device can construct the fake media and send a setup message with the fake media to the called party;
步骤 3 : 上述软交换控制设备通过前转向上述主叫发送不带媒体的振 铃 (alerting)消息和带媒体服务器的媒体的连接 (connect)消息, 并通过实时 传输协议 (Real-time Transport Protocol) (以下简称 RTP)给上述主叫放呼叫 音. Step 3: The softswitch control device sends a ringing message with no media and a connect message of the media with the media server to the above-mentioned calling party, and passes the Real-time Transport Protocol. (hereinafter referred to as RTP) to call the above caller Sound.
步骤 4: 上述被叫摘机, 向上述软交换控制设备发送连接 (connect)消 息;  Step 4: The called party picks up the phone and sends a connect message to the softswitch control device.
步骤 5 : 上述软交换控制设备判断上述连接 (connect)消息是否带有被 叫媒体, 若是, 则说明上述被叫为快速类型, 执行步骤 7; 否则, 说明上 述被叫为慢速类型, 执行步骤 6;  Step 5: The softswitch control device determines whether the connection message has the called media, and if yes, the call is a fast type, and step 7 is performed; otherwise, the called is a slow type, and the step is performed. 6;
步骤 6: 上述软交换控制设备和上述被叫双方通过 H.245过程进行媒 体协商, 且上述软交换控制设备获得被叫媒体;  Step 6: The softswitch control device and the called party perform media negotiation through the H.245 process, and the softswitch control device obtains the called media.
步骤 Ί: 上述软交换控制设备通过 H.245媒体控制信令将上述主叫媒 体切换到上述被叫;  Step Ί: The softswitch control device switches the calling media to the called party by using H.245 media control signaling.
步骤 8: 上述软交换控制设备通过 H.245媒体控制信令将上述被叫媒 体切换到上述主叫。  Step 8: The softswitch control device switches the called media to the calling party by using H.245 media control signaling.
步骤 9: 上述主叫和上述被叫通话。  Step 9: The above caller and the above called party call.
其中, 在上述步骤 6 中, 上述软交换控制设备和上述被叫双方通过 H.245过程进行的媒体协商为使用上述假媒体和上述被叫进行媒体协商。  In the foregoing step 6, the media negotiation performed by the softswitch control device and the called party through the H.245 process is to perform media negotiation using the fake media and the called party.
此外, 在执行上述步骤 7前还需执行如下步骤:  In addition, the following steps must be performed before performing step 7 above:
上述主叫和上述软交换控制设备依次进行双向的主从确定和能力交 换, 且上述主叫和上述软交换控制设备双方均能收到对方的确认消息。  The above-mentioned calling party and the above-mentioned softswitch control device sequentially perform two-way master-slave determination and capability exchange, and both the calling party and the softswitch control device can receive the acknowledgement message of the other party.
且, 当被叫为快速类型时, 在执行上述步骤 8前还需执行如下步骤: 上述被叫和上述软交换控制设备依次进行双向的主从确定和能力交 换, 且上述被叫和上述软交换控制设备双方均能收到对方的确认消息。  Moreover, when the called type is fast, the following steps are performed before the step 8 is performed: the called party and the softswitch control device perform the two-way master-slave determination and capability exchange in sequence, and the called party and the softswitch Both parties to the control device can receive the confirmation message from the other party.
进一歩地, 上述步骤 7主要包括如下步骤: 步骤 701 : 上述软交换控制设备向上述主叫发送带切换后的媒体类型 的请求类型 (RequestMode)消息; Further, the above step 7 mainly includes the following steps: Step 701: The softswitch control device sends a request type (RequestMode) message with a switched media type to the calling party.
步骤 702: 上述主叫收到上述请求类型 (RequestMode)消息后, 向上述 软交换控制设备回复请求类型确认 (RequestModeAck)消息;  Step 702: After receiving the request type (RequestMode) message, the calling party sends a request type acknowledgement (RequestModeAck) message to the softswitch control device.
步骤 703: 上述主叫和上述软交换控制设备通过双向的关闭逻辑通道 Step 703: The foregoing calling party and the above softswitch control device close the logical channel through two directions
(CloseLogicalChannel)消息和关闭逻辑通道确认 (CloseLogicalChannelAck) 消息关闭各自打开的媒体通道; The (CloseLogicalChannel) message and the CloseLogicalChannelAck message close the respective open media channels;
步骤 704: 上述主叫和上述软交换控制设备通过双向的打开逻辑通道 (OpenLogicalChannel)消息和打开逻辑通道确认 (OpenLogicalChannelAck) 消息打开所需的媒体通道。  Step 704: The foregoing calling party and the softswitch control device open the required media channel by bidirectional OpenLogical Channel (OpenLogicalChannel) message and Open logical channel acknowledgement (OpenLogicalChannelAck) message.
进一步地, 上述歩骤 8主要包括如下歩骤:  Further, the foregoing step 8 mainly includes the following steps:
步骤 801 : 上述软交换控制设备向上述被叫发送终端能力设定空 (TerminalCapabilitySetNULL)消息;  Step 801: The softswitch control device sets a terminal (TerminalCapabilitySetNULL) message to the called terminal.
步 骤 802 : 上 述 被 叫 收 到 上 述 终 端 能 力 设 定 空 (TerminalCapabilitySetNULL)消息后, 向上述软交换控制设备回复终端能 力设定确认 (TerminalCapabilitySetAck)消息;  Step 802: After the called party receives the terminal capacity set (TerminalCapabilitySetNULL) message, the terminal responds to the softswitch control device with a terminal capability setting confirmation (TerminalCapabilitySetAck) message;
步骤 803: 上述被叫和上述软交换控制设备通过双向的关闭逻辑通道 (CloseLogicalChannel)消息和关闭逻辑通道确认 (CloseLogicalChannelAck) 消息关闭各自打开的媒体通道;  Step 803: The foregoing called party and the softswitch control device close the respective open media channels by using a bidirectional CloseLogicalChannel message and a CloseLogicalChannelAck message;
步骤 804 : 上述软交换控制设备收到上述终端能力设定确认 Step 804: The softswitch control device receives the foregoing terminal capability setting confirmation.
(TerminalCapabilitySetAck)消息, 并确认上述媒体通道完全关闭后, 向上 述被叫发送带切换后 的媒体类型的非空终端能力设定 (TerminalCapabilitySet)消息; (TerminalCapabilitySetAck) message, and confirming that the media channel is completely closed, and sending the non-empty terminal capability setting with the switched media type to the called party (TerminalCapabilitySet) message;
步骤 805:上述被叫收到上述非空终端能力设定 (TerminalCapabilitySet) 消息后, 完成和上述软交换控制设备的双向能力交换过程, 且向上述软交 换控制设备回复非空终端能力设定确认 (TerminalCapabilitySetAck)消息; 步骤 806: 上述软交换控制设备收到上述被叫回复的非空终端能力设 定确认 (TerminalCapabilitySetAck)消息后, 发起和上述被叫进行双向的主 从确定和能力交换操作;  Step 805: After receiving the foregoing non-empty terminal capability setting (Terminal CapabilitySet) message, the called party completes the two-way capability exchange process with the softswitch control device, and returns a non-empty terminal capability setting confirmation to the softswitch control device. a terminal CapabilitySetAck) message; Step 806: After receiving the non-empty terminal capability setting confirmation (TerminalCapabilitySetAck) message of the called response, the softswitch control device initiates a bidirectional master-slave determination and capability exchange operation with the called party;
步骤 807: 上述被叫和上述软交换控制设备通过双向的打开逻辑通道 (OpenLogicalChannel)消息和打开逻辑通道确认 (OpenLogicalChannelAck) 消息打开所需的媒体通道。  Step 807: The above called party and the above softswitch control device open the required media channel by bidirectional OpenLogical Channel message and OpenLogicalChannelAck message.
为实现上述目的, 本发明的一种 H.323协议的语音业务中的媒体切换 的实现方法, 适用于慢速呼叫类型的主叫, 其中该媒体切换过程由软交换 控制设备发起,媒体切换的类型为语音媒体,且被切换终端为 H.323终端, 该方法包括以下步骤: '  To achieve the above object, a method for implementing media switching in a voice service of the H.323 protocol of the present invention is applicable to a calling party of a slow call type, wherein the media switching process is initiated by a softswitch control device, and the media switching is performed. The type is voice media, and the switched terminal is an H.323 terminal. The method includes the following steps:
步骤 1 : 主叫向软交换控制设备发送不带主叫媒体的启动 (setup)消息; 歩骤 2: 上述软交换控制设备向被叫发送不带媒体的启动 (setup)消息; 步骤 3 : 上述软交换控制设备通过前转向上述主叫发送不带媒体的振 铃 (alerting)消息和不带媒体服务器的媒体的连接 (connect)消息;  Step 1: The calling party sends a setup message without the calling media to the softswitch control device. Step 2: The softswitch control device sends a setup message without the media to the called party; Step 3: The softswitch control device transmits a ringing message with no media and a connect message of the media without the media server by forwarding to the above-mentioned calling party;
步骤 4: 上述主叫和上述软交换控制设备双方通过 H.245过程进行媒 体协商, 且上述主叫获得上述媒体服务器的媒体并通过 RTP听呼叫音; 歩骤 5: 上述被叫摘机, 向上述软交换控制设备发送不带被叫媒体的 连接 (connect)消息; 步骤 6: 上述软交换控制设备构造假媒体; Step 4: The calling party and the softswitch control device perform media negotiation through the H.245 process, and the calling party obtains the media of the media server and listens to the calling tone through the RTP. Step 5: The called party picks up the phone, The softswitch control device sends a connect message without the called media; Step 6: The softswitch control device constructs a fake medium;
步骤 7: 上述软交换控制设备和上述被叫双方通过 H.245过程进行媒 体协商, 且上述软交换控制设备获得被叫媒体;  Step 7: The softswitch control device and the called party perform media negotiation through the H.245 process, and the softswitch control device obtains the called media.
步骤 8: 上述软交换控制设备通过 H.245媒体控制信令将上述主叫媒 体切换到上述被叫;  Step 8: The softswitch control device switches the calling media to the called party by using H.245 media control signaling.
步骤 9: 上述软交换控制设备通过 H.245媒体控制信令将上述被叫媒 体切换到上述主叫;  Step 9: The softswitch control device switches the called media to the calling party by using H.245 media control signaling.
步骤 10: 上述主叫和上述被叫通话。  Step 10: The above caller and the above called party call.
其中, 在上述步骤 7 中, 上述软交换控制设备和上述被叫双方通过 H.245过程进行的媒体协商为使用上述假媒体和上述被叫进行媒体协商。  In the foregoing step 7, the media negotiation performed by the softswitch control device and the called party through the H.245 process is to perform media negotiation using the fake media and the called party.
进一步地, 上述步骤 8主要包括如下步骤:  Further, the foregoing step 8 mainly includes the following steps:
步骤 801 : 上述软交换控制设备向上述主叫发送带切换后的媒体类型 的请求类型 (RequestMode)消息;  Step 801: The softswitch control device sends a request type (RequestMode) message with the switched media type to the calling party.
步骤 802: 上述主叫收到上述请求类型 (RequestMode)消息后, 向上述 软交换控制设备回复请求类型确认 (RequestModeAck)消息;  Step 802: After receiving the request type (RequestMode) message, the calling party sends a request type acknowledgement (RequestModeAck) message to the softswitch control device.
步骤 803: 上述主叫和上述软交换控制设备通过双向的关闭逻辑通道 (CloseLogicalChannel)消息和关闭逻辑通道确认 (CloseLogicalChannelAck) 消息关闭各自打开的媒体通道;  Step 803: The foregoing calling party and the softswitch control device close the respective opened media channels by using a bidirectional CloseLogicalChannel message and a CloseLogicalChannelAck message;
步骤 804: 上述主叫和上述软交换控制设备通过双向的打开逻辑通道 (OpenLogicalChannel)消息和打开逻辑通道确认 (OpenLogicalChannel Ack) 消息打开所需的媒体通道。  Step 804: The foregoing calling party and the softswitch control device open the required media channel by bidirectional OpenLogical Channel (OpenLogicalChannel) message and OpenLogical Channel Ack message.
进一步地, 上述步骤 9主要包括如下步骤: 步骤 901 : 上述软交换控制设备向上述被叫发送终端能力设定空 (TerminalCapabilitySetNULL)消息; Further, the above step 9 mainly includes the following steps: Step 901: The softswitch control device sets a terminal (Terminal Capability Set NULL) message to the called terminal.
步 骤 902 : 上 述 被 叫 收 到 上 述 终 端 能 力 设 定 空 (TerminalCapabilitySetNULL)消息后, 向上述软交换控制设备回复终端能 力设定确认 (TerminalCapabiHtySetAck)消息;  Step 902: After receiving the terminal capacity setting (NerminalCapabilitySetNULL) message, the called terminal returns a terminal capacity setting confirmation (TerminalCapabiHtySetAck) message to the softswitch control device;
步骤 903: 上述被叫和上述软交换控制设备通过双向的关闭逻辑通道 (CloseLogicalChannel)消息和关闭逻辑通道确认 (CloseLogicalChannelAck) 消息关闭各自打开的媒体通道;  Step 903: The foregoing called party and the softswitch control device close the respective open media channels by using a bidirectional CloseLogicalChannel message and a CloseLogicalChannelAck message;
步骤 904 : 上述软交换控制设备收到上述终端能力设定确认 (TerminalCapabilitySetAck)消息, 并确认上述媒体通道完全关闭后, 向上 述被叫发送带切换后 的媒体类型的非空终端能力设定 (TerminalCapabilitySet)消息;  Step 904: The softswitch control device receives the terminal capability setting confirmation (TerminalCapabilitySetAck) message, and confirms that the media channel is completely closed, and sends a non-empty terminal capability setting (TerminalCapabilitySet) with the switched media type to the called party. ) message
步骤 905:上述被叫收到上述非空终端能力设定 (TerminalCapabilitySet) 消息后, 完成和上述软交换控制设备的双向能力交换过程, 且向上述软交 换控制设备回复非空终端能力设定确认 (TerminalCapabilitySetAck)消息; 步骤 906: 上述软交换控制设备收到上述被叫回复的非空终端能力设 定确认 (TerminalCapabilitySetAck)消息后, 发起和上述被叫进行双向的主 从确定和能力交换操作; '  Step 905: After receiving the foregoing non-empty terminal capability setting (Terminal CapabilitySet) message, the called party completes the two-way capability exchange process with the softswitch control device, and returns a non-empty terminal capability setting confirmation to the softswitch control device ( a terminal CapabilitySetAck) message; Step 906: After receiving the non-empty terminal capability setting confirmation (TerminalCapabilitySetAck) message of the called response, the softswitch control device initiates a two-way master-slave determination and capability exchange operation with the called party;
步骤 907: 上述被叫和上述软交换控制设备通过双向的打开逻辑通道 (OpenLogicalChannel)消息和打幵逻辑通道确认 (OpenLogicalChannelAck) 消息打开所需的媒体通道。  Step 907: The above called party and the softswitch control device open the required media channel by using a bidirectional OpenLogicalChannel message and an OpenLogicalChannelAck message.
其中, 上述主叫媒体至少包括主叫支持的媒体类型、 主叫媒体网际协 议 (Internet Protocol^以下简称 IP)地址和主叫媒体端口号等媒体信息;对于 快速呼叫类型的主叫,上述假媒体的媒体类型与上述主叫支持的媒体类型 相同, 且假媒体 IP地址为不可达的 IP地址 (例如 127.0.0.1), 假媒体端口 号可任选; 对于慢速呼叫类型的主叫, 假媒体的媒体类型包括常用的各种 媒体类型, 且假媒体 IP地址为不可达的 IP地址 (例如 127.0.0.1), 假媒体 端口号可任选; 上述媒体服务器的媒体至少包括彩铃媒体和提示音媒体; 上述通过 H.245过程进行媒体协商的操作至少包括主从确定操作、 能力交 换操作和打幵媒体通道操作; 上述呼叫音至少包括彩铃和提示音; 上述被 叫媒体至少包括被叫支持的媒体类型、 被叫媒体 IP地址和被叫媒体端口 号等媒体信息。 The foregoing calling media includes at least a media type supported by the calling party, and the calling media internet protocol Media information such as the Internet Protocol (IP) address and the calling media port number; for the caller of the fast call type, the media type of the fake media is the same as the media type supported by the calling party, and the fake media IP address is Unreachable IP address (for example, 127.0.0.1), the fake media port number is optional. For the slow call type, the media type of the fake media includes various commonly used media types, and the fake media IP address is unreachable. The IP address (for example, 127.0.0.1), the fake media port number is optional; the media of the media server includes at least a ring back tone media and a prompt tone medium; and the foregoing media negotiation by the H.245 process includes at least a master-slave determination operation, The capability exchange operation and the snoring media channel operation; the call tone includes at least a color ring tone and a prompt tone; and the called media includes at least media information supported by the called party, the called media IP address, and the called media port number.
进一步地, 为了兼容使用不同的 H.245媒体控制信令进行媒体切换, 上述软交换控制设备可以通过配置针对不同的被切换终端类型或不同的 被切换终端节点等, 采用与之相匹配的上述两种媒体切换流程之一。  Further, in order to be compatible with media switching using different H.245 media control signaling, the softswitch control device may be configured to match different switched terminal types or different switched terminal nodes, etc. One of two media switching processes.
' 此外,本发明所述的方法也可用其他智能业务控制设备代替上述软交 换控制设备发起上述媒体切换过程。  In addition, the method of the present invention can also initiate the above media switching process by using other intelligent service control devices instead of the above soft handover control device.
本发明采用 H.245媒体控制信令完成了 H.323协议的语音业务中的媒 体切换流程, 对于媒体协商中, 未知对方媒体的情况下采用了假媒体完成 媒体协商, 适用于快速呼叫和慢速呼叫用户的媒体切换, 不受跨协议类型 的影响, 可用于各种增值业务实现中需要媒体切换的情况。  The invention adopts the H.245 media control signaling to complete the media switching process in the voice service of the H.323 protocol. In the media negotiation, the media negotiation is implemented by using the fake media in the case of unknown media, which is suitable for fast calling and slow. The media switching of the fast calling user is not affected by the type of cross-protocol, and can be used for media switching in various value-added service implementations.
为让本发明的上述和其它目的、特征和优点能更明显易懂, 下文特举 较佳实施例, 并配合说明书附图, 作详细说明如下。 附图说明 The above and other objects, features and advantages of the present invention will become more <RTIgt; DRAWINGS
图 1为本发明所述方法当主叫为快速呼叫类型的主要流程示意图; 图 2为本发明所述方法当主叫为慢速呼叫类型的主要流程示意图; 图 3为本发明一较佳实施例中快速 H.323用户呼叫一号通号码的彩铃 一号通业务流程, 其中一号通号码绑定的快速 H.323用户摘机;  FIG. 1 is a schematic diagram of a main process of calling a fast call type according to the method of the present invention; FIG. 2 is a schematic diagram of a main flow of a caller being a slow call type according to the method of the present invention; FIG. 3 is a preferred embodiment of the present invention; In the example, the fast H.323 user calls the number one number of the ring tones service process, and the fast H.323 user bound by the number one number picks up the phone;
图 4为本发明一较佳实施例中快速 H.323用户呼叫一号通号码的彩铃 一号通业务流程, 其中一号通号码绑定的慢速 H.323用户摘机;  4 is a flow chart of a CRBT No. 1 service for a fast H.323 subscriber to call a one-number number in a preferred embodiment of the present invention, wherein a slow H.323 subscriber bound by a one-number number is off-hook;
图 5为本发明一较佳实施例中慢速 H.323用户呼叫一号通号码的彩铃 一号通业务流程, 其中一号通绑定的 H.323用户摘机。 具体实施方式  FIG. 5 is a flow chart of a CRBT number one service for a slow H.323 user to call a one-number number in a preferred embodiment of the present invention, wherein an H.323 user bound by the first number is off-hook. detailed description
一号通业务允许多个终端用户绑定在同一个一号通号码上, 当某用户 呼叫该一号通号码时, 多个绑定用户同时振铃, 其中某一个振铃用户摘机 后, 该摘机用户和主叫间的呼叫接通, 释放其他终端用户的呼叫。  The one-number service allows multiple terminal users to be bound to the same one-number number. When a user calls the one-number number, multiple bound users ring at the same time. After one of the ringing users picks up the phone, The call between the off-hook user and the calling party is connected, and the call of other terminal users is released.
下面结合一号通业务在 H.323协议侧的实现过程说明本发明的 H.323 协议媒体切换方法的具体实现步骤。其中, 主被叫用户可能不是同一个软 交换下的用户, 呼叫路径中也可能跨越其他协议类型和其他控制设备, 本 发明主要关注 H.323协议侧的信令流程。 为了便于说明, 实施例中主被叫 的 IP地址和使用的媒体类型等都是具体化的, 但不表示本发明受限于这 些内容。 为了使用较少的实施例覆盖本发明方法的过程, 选用较典型的实 例, 并且主被叫采用不同的 11245信令切换歩骤, 其他增值业务中用到的 媒体切换同样可以使用本发明所述的媒体切换方法。 图 1为本发明所述方法当主叫为快速呼叫类型的主要流程示意图, 图 3为本发明一较佳实施例中快速 H.323用户呼叫一号通号码的一号通业务 流程, 其中一号通绑定的快速 H.323用户摘机, 通过媒体服务器给主叫放 彩铃。 请同时参照图 1和图 3, 其主要包括以下步骤 - 步骤 101, 主叫向软交换控制设备发送启动 (setup)消息, 其中该消息 带主叫媒体; The specific implementation steps of the H.323 protocol media switching method of the present invention are described below in conjunction with the implementation process of the No. 1 service on the H.323 protocol side. The main called user may not be the user under the same softswitch, and the call path may also span other protocol types and other control devices. The present invention mainly focuses on the signaling process of the H.323 protocol side. For convenience of description, the IP address of the calling party and the type of media used in the embodiment are embodied, but the invention is not limited by these contents. In order to cover the process of the method of the present invention with fewer embodiments, a more typical example is selected, and the main called party adopts different 11245 signaling switching procedures, and the media switching used in other value-added services can also use the present invention. Media switching method. 1 is a schematic diagram of a main flow of a caller being a fast call type according to the method of the present invention, and FIG. 3 is a first-pass service flow of a fast H.323 subscriber calling a one-number number in a preferred embodiment of the present invention, where The fast H.323 user bound to the number is off-hook, and the ringer is placed on the media server through the media server. Referring to FIG. 1 and FIG. 3 simultaneously, the method mainly includes the following steps: Step 101: The calling party sends a setup message to the softswitch control device, where the message carries the calling media;
步骤 102和步骤 103, 上述软交换控制设备向一号通绑定的多个被叫 用户发送启动 (setup)消息, 其中该消息带假媒体, 但媒体类型同主叫支持 的媒体类型;  Step 102 and step 103, the softswitch control device sends a setup message to the plurality of called users bound by the one-number communication, wherein the message carries the fake media, but the media type is the media type supported by the calling party;
步骤 104和步骤 105, 上述多个被叫同时振铃;  Step 104 and step 105, the plurality of called parties ring simultaneously;
步骤 106, 上述软交换控制设备向上述主叫发送振铃 (alerting)消息; 步骤 107, 上述软交换控制设备向上述主叫发送连接 (connect)消息, 其中该消息带彩铃媒体, 即媒体服务器的媒体;  Step 106: The softswitch control device sends an alerting message to the calling party. Step 107: The softswitch control device sends a connect message to the calling party, where the message is sent to the ringback media, that is, the media server. Media
步骤 108, 上述主叫通过 RTP听彩铃, 选定语音媒体类型为 G711A; 步骤 109, 上述被叫摘机, 选定语音媒体类型为 G711U;  Step 108: The caller listens to the CRBT through the RTP, and selects the voice media type as G711A; Step 109, the called party picks up the phone, and the selected voice media type is G711U;
步骤 110, 上述软交换控制设备释放其他被叫用户呼叫;  Step 110: The softswitch control device releases other called user calls.
步骤 111, 使用 H.245媒体控制信令切换主叫媒体前, 上述主叫和上 述软交换控制设备进行双向的主从确定,双方都需要收到对方的主从确定 确认 (MasterSlaveDeterminationAck)消息;  Step 111: Before using the H.245 media control signaling to switch the calling media, the calling party and the softswitch control device perform the two-way master-slave determination, and both parties need to receive the master slave confirmation (MasterSlaveDeterminationAck) message;
步骤 112, 使用 H.245媒体控制信令切换主叫媒体前, 上述主叫和上 述软交换控制设备迸行双向的能力交换,双方都需要收到对方的终端能力 设定确认 (TerminalCapabilitySetAck)消息; 步骤 113 , 上述软交换控制设备向上述主叫发送请求类型 (RequestMode)消息切换主叫媒体, 其中切换的媒体类型为被叫的媒体 G711U; Step 112: Before using the H.245 media control signaling to switch the calling media, the calling party and the softswitch control device perform a two-way capability exchange, and both parties need to receive a terminal capability setting confirmation (Terminal Capability Set Ack) message of the other party; Step 113, the softswitch control device sends a request type (RequestMode) message to the calling party to switch the calling media, wherein the switched media type is the called media G711U;
步骤 114, 上述主叫收到上述请求类型 (RequestMode)消息后, 向上述 软交换控制设备回复请求类型确认 (RequestModeAck)消息;  Step 114: After receiving the request type (RequestMode) message, the calling party returns a request type acknowledgement (RequestModeAck) message to the softswitch control device.
步骤 115, 上述主叫和上述软交换控制设备双方各自关闭本方打开的 语音媒体通道;  Step 115: The calling party and the softswitch control device respectively close the voice media channel opened by the party;
步骤 116, 上述主叫和上述软交换控制设备双方打开新的语音媒体通 道, 其中媒体类型为 G711U, 此时上述主叫已获得被叫媒体, 可以向上述 被叫发送 RTP语音包;  Step 116: The caller and the softswitch control device open a new voice media channel, where the media type is G711U. At this time, the caller has obtained the called media, and may send an RTP voice packet to the called party.
步骤 117, 使用 H.245媒体控制信令切换被叫媒体前, 上述被叫和上 述软交换控制设备进行双向的主从确定,双方都需要收到对方的主从确定 确认 (MasterSlaveDeterminationAck)消息;  Step 117: Before the called media is switched by using the H.245 media control signaling, the called party and the softswitch control device perform a two-way master-slave determination, and both parties need to receive a master-slave determination (Ack) message of the master;
步骤 118, 使用 H.245媒体控制信令切换被叫媒体前, 上述被叫和上 述软交换控制设备进行双向的能力交换,双方都需要收到对方的终端能力 设定确认 (TerminalCapabilitySetAck)消息;  Step 118: Before using the H.245 media control signaling to switch the called media, the called party and the softswitch control device perform bidirectional capability exchange, and both parties need to receive a terminal capability setting confirmation (TerminalCapabilitySetAck) message of the other party;
步骤 119 , 上述软交换控制设备向上述被叫发送终端能力设定空 (TerminalCapabilitySet ULL)消息, 以暂停被叫媒体;  Step 119: The softswitch control device sets a terminal (Terminal Capability Set ULL) message to the called terminal to pause the called media.
步骤 120, 上述被叫向上述软交换控制设备回复终端能力设定确认 (TerminalCapabilitySetAck)消息;  Step 120: The called party returns a terminal capability setting confirmation (TerminalCapabilitySetAck) message to the softswitch control device.
步骤 121, 上述被叫和上述软交换控制设备双方各自关闭本方打开的 所有媒体通道; 步骤 122, 上述软交换控制设备收到上述被叫的终端能力设定确认 (TerminalCapabilitySetAck)消息, 并确认原来所有媒体通道都被关闭后, 向上述被叫发送非空终端能力设定 (TerminalCapabilitySet)消息, 其中该消 息包括主叫当前的媒体类型即 G711U; Step 121: The above called party and the softswitch control device respectively close all media channels opened by the party; Step 122: The softswitch control device receives the terminal capability setting confirmation (TerminalCapabilitySetAck) message of the called party, and confirms that all the media channels are closed, and sends a non-empty terminal capability setting (TerminalCapabilitySet) message to the called party. , wherein the message includes the current media type of the calling party, that is, G711U;
步骤 123, 上述被叫向上述软交换控制设备回复终端能力设定确认 (TerminalCapabilitySetAck)消息;  Step 123: The called party returns a terminal capability setting confirmation (TerminalCapabilitySetAck) message to the softswitch control device.
步骤 124,上述被叫和上述软交换控制设备重新进行双向的主从确定; 步骤 125 , 上述被叫向上述软交换控制设备发送终端能力设定 (TerminalCapabilitySet)消息, 其中该消息包括上述被叫支持的媒体类型; 步骤 126, 上述软交换控制设备向上述被叫回复终端能力设定确认 (TerminalCapabilitySetAck)消息;  Step 124: The called party and the softswitch control device re-determine the two-way master-slave determination. Step 125: The called party sends a terminal capability setting (Terminal Capability Set) message to the softswitch control device, where the message includes the called party support. Step 126, the softswitch control device sends a confirmation (TerminalCapabilitySetAck) message to the called terminal.
步骤 127, 上述被叫和上述软交换控制设备打开新的语音媒体通道, 其中媒体类型为 G711U, 此时上述被叫获得主叫媒体;  Step 127: The called party and the softswitch control device open a new voice media channel, where the media type is G711U, and the called party obtains the calling media at this time;
步骤 128, 上述主被叫通话。  Step 128: The above-mentioned calling party is called.
图 4为本发明一较佳实施例中快速 H.323用户呼叫一号通号码的一号 通业务流程, 其中一号通绑定的慢速 H.323用户摘机, 通过媒体服务器给 主叫放彩铃。 请同时参照图 1和图 4, 其主要包括以下步骤- 步骤 201至步骤 208同步骤 101至步骤 108, 主叫听彩铃;  4 is a first-pass service flow for a fast H.323 user to call a one-number number in a preferred embodiment of the present invention, in which a slow H.323 user bound to the first number picks up the phone and sends a call through the media server. Put the ring tones. Please refer to FIG. 1 and FIG. 4 at the same time, which mainly includes the following steps: Step 201 to Step 208 are the same as Step 101 to Step 108, and the calling party hears the ring back tone;
步骤 209, 被叫摘机, 向软交换控制设备发送连接 (connect)消息, 其 中该消息不带被叫媒体;  Step 209, the called party picks up the phone, and sends a connect message to the softswitch control device, where the message does not have the called media;
步骤 210, 上述被叫和上述软交换控制设备进行双向的主从确定; 步骤 211, 上述被叫和上述软交换控制设备进行双向的能力交换; 步骤 212, 上述被叫和上述软交换控制设备双方打开语音媒体通道, 其中媒体类型为 G711U; Step 210: The called party and the softswitch control device perform bidirectional master-slave determination; Step 211, the called party and the softswitch control device perform bidirectional capability exchange; Step 212, the above called party and the softswitch control device open the voice media channel, wherein the media type is G711U;
步骤 213, 上述软交换控制设备释放其他被叫用户呼叫;  Step 213: The softswitch control device releases other called user calls.
步骤 214至步骤 219同步骤 111至步骤 116, 主叫媒体从媒体服务器 切换到被叫;  Step 214 to step 219 are the same as step 111 to step 116, and the calling media is switched from the media server to the called party;
步骤 220至步骤 228同步骤 119到步骤 127, 被叫媒体从假媒体切换 到主叫; .  Step 220 to step 228 are the same as steps 119 to 127, and the called media is switched from the fake media to the calling party;
步骤 229, 上述主被叫通话。  Step 229, the above-mentioned calling party is called.
图 2为本发明所述方法当主叫为慢速呼叫类型的主要流程示意图, 图 5为本发明一较佳实施例中慢速 H.323用户呼叫一号通号码的一号通业务 流程,其中一号通绑定的 H323用户摘机,通过媒体服务器给主叫放彩铃。 请同时参照图 2和图 5, 其主要包括以下步骤:  2 is a schematic diagram of a main flow of a caller being a slow call type according to the method of the present invention, and FIG. 5 is a first-pass service flow of a slow H.323 user calling a one-number number in a preferred embodiment of the present invention; The H323 user bound to the first one picks up the phone and puts the ring back tone to the calling party through the media server. Please refer to FIG. 2 and FIG. 5 at the same time, which mainly includes the following steps:
步骤 301, 主叫向软交换控制设备发送启动 (setup)消息, 其中该消息 不带主叫媒体;  Step 301: The calling party sends a setup message to the softswitch control device, where the message does not carry the calling media.
步骤 302和步骤 303, 上述软交换控制设备向一号通绑定的多个被叫 用户发送启动消息 (setup)消息, 其中该消息不带媒体;  Step 302 and step 303, the softswitch control device sends a setup message to a plurality of called users bound to the one-number communication, wherein the message does not carry media;
步骤 304和步骤 305, 上述多个被叫同时振铃;  Step 304 and step 305, the plurality of called parties ring simultaneously;
步骤 306, 上述软交换控制设备向上述主叫发送振铃 (alerting)消息; 步骤 307, 上述软交换控制设备向上述主叫发送连接 (connect)消息; 步骤 308, 上述主叫和上述软交换控制设备进行双向的主从确定; 歩骤 309, 上述主叫和上述软交换控制设备进行双向的能力交换, 其 中上述软交换控制设备发送的终端能力设定 (TerminalCapabilitySet)消息包 括用于放彩铃的媒体服务器的媒体类型; Step 306, the softswitch control device sends an alerting message to the calling party; Step 307, the softswitch control device sends a connect message to the calling party; Step 308, the calling party and the softswitch control The device performs bidirectional master-slave determination. In step 309, the calling party and the softswitch control device perform bidirectional capability exchange, where the softswitch control device sends a terminal capability setting (TerminalCapabilitySet) message packet. The media type of the media server used to put the ring tones;
步骤 310, 上述主叫和上述软交换控制设备双方打开语音媒体通道, 其中选定媒体类型为 G711A;  Step 310, the caller and the softswitch control device open the voice media channel, wherein the selected media type is G711A;
步骤 311, 上述主叫听彩铃;  Step 311, the foregoing caller listens to the ring back tone;
步骤 312, 上述被叫摘机, 向上述软交换控制设备发送连接 (connect) 消息, 其中该消息不带媒体;  Step 312, the called party picks up the phone, and sends a connect message to the softswitch control device, where the message does not carry media;
步骤 313, 上述被叫和上述软交换控制设备进行双向的主从确定; 步骤 314, 上述被叫和上述软交换控制设备进行双向的能力交换, 其 中上述软交换控制设备发送的终端能力设定 (TerminalCapabilitySet)消息包 括常用的各种媒体类型;  Step 313, the called party and the softswitch control device perform bidirectional master-slave determination; Step 314, the called party and the softswitch control device perform bidirectional capability exchange, where the softswitch control device sends the terminal capability setting ( TerminalCapabilitySet) messages include various media types commonly used;
步骤 315, 上述被叫和上述软交换控制设备双方打开语音媒体通道, 其中选定媒体类型为 G711U;  Step 315, the above called party and the softswitch control device open the voice media channel, wherein the selected media type is G711U;
步骤 316, 上述软交换控制设备释放其他被叫用户呼叫;  Step 316, the softswitch control device releases other called user calls;
步骤 317, 待上述被叫支持的所有媒体类型、 IP地址、 媒体端口号等 媒体信息被送往上述软交换控制设备主叫侧后,上述软交换控制设备发送 请求类型(RequestMode)消息切换主叫媒体, 其中上述请求类型 (RequestMode)消息中的媒体类型为上述软交换控制设备选定的主被叫共 同支持的一种媒体类型 G711A;  Step 317: After all the media information, such as the media type, the IP address, and the media port number supported by the called party, are sent to the calling side of the softswitch control device, the softswitch control device sends a request type (RequestMode) message to switch the calling party. The medium, wherein the media type in the request type message is a media type G711A supported by the main callee selected by the softswitch control device;
步骤 318, 上述主叫向上述软交换控制设备回复请求类型确认 (RequestModeAck)消息;  Step 318, the foregoing caller replies to the softswitch control device with a request type acknowledgement (RequestModeAck) message;
步骤 319, 上述主叫和上述软交换控制设备双方各自关闭本方打开的 语音媒体通道; 步骤 320, 上述主叫和上述软交换控制设备双方打幵新的语音媒体通 道, 其中媒体类型为 G711A, 此时上述主叫已获得被叫媒体, 可以向上述 被叫发送 RTP语音包; Step 319: The calling party and the softswitch control device respectively close the voice media channel opened by the party; Step 320: The caller and the softswitch control device play a new voice media channel, wherein the media type is G711A. At this time, the caller has obtained the called media, and may send an RTP voice packet to the called party.
步骤 321到步骤 329同步骤 119到步骤 127, 被叫媒体从假媒体切换 到主叫;  Step 321 to step 329 are the same as step 119 to step 127, and the called media is switched from the fake media to the calling party;
步骤 330, 上述主被叫通话。  Step 330: The above-mentioned calling party is called.
以上详细说明了本发明的工作原理,但这只是为了便于理解而举的一 个形象化的实例, 不应被视为是对本发明范围的限制。 同样, 根据本发明 的技术方案及其较佳实施例的描述, 可以做出各种可能的等同改变或替 换, 而所有这些改变或替换都应属于本发明的权利要求的保护范围。  The above is a detailed description of the working principle of the present invention, but this is only a visual example for the purpose of understanding and should not be construed as limiting the scope of the invention. Also, various possible equivalents and substitutions may be made in accordance with the description of the technical solutions of the present invention and the preferred embodiments thereof, and all such changes or substitutions are intended to fall within the scope of the appended claims.

Claims

权 利 要 求 Rights request
1、 一种 H.323协议的语音业务中的媒体切换的实现方法, 适用于快 速呼叫类型的主叫,其特征在于其中的媒体切换过程由软交换控制设备发 起, 媒体切换的类型为语音媒体, 且被切换终端为 H.323终端, 该方法包 括以下步骤: A method for implementing media switching in a voice service of the H.323 protocol, which is applicable to a caller of a fast call type, wherein the media switching process is initiated by a softswitch control device, and the type of media switch is voice media. And the switched terminal is an H.323 terminal, and the method includes the following steps:
步骤 1 : 主叫向软交换控制设备发送带主叫媒体的启动 (setup)消息; 步骤 2: 上述软交换控制设备构造假媒体, 并向被叫发送带假媒体的 启动 (setup)消息;  Step 1: The calling party sends a setup message with the calling media to the softswitch control device. Step 2: The softswitch control device constructs the fake media, and sends a setup message with the fake media to the called party.
步骤 3: 上述软交换控制设备通过前转向上述主叫发送不带媒体的振 铃 (alerting)消息和带媒体服务器的媒体的连接 (connect)消息, 并通过实时 传输协议给上述主叫放呼叫音;  Step 3: The softswitch control device sends a ringing (alerting) message without media and a connection message of the media with the media server to the calling party by using the real-time transmission protocol, and placing the calling tone to the calling party through the real-time transmission protocol. ;
步骤 4: 上述被叫摘机, 向上述软交换控制设备发送连接 (connect)消 息;  Step 4: The called party picks up the phone and sends a connect message to the softswitch control device.
步骤 5: 上述软交换控制设备判断上述连接 (connect)消息是否带有被 叫媒体, 若是, 则说明上述被叫为快速类型, 执行步骤 7; 否则, 说明上 述被叫为慢速类型, 执行步骤 6;  Step 5: The softswitch control device determines whether the connection message has the called media, and if yes, the call is a fast type, and step 7 is performed; otherwise, the called is a slow type, and the step is performed. 6;
步骤 6: 上述软交换控制设备和上述被叫双方通过 H.245过程进行媒 体协商, 且上述软交换控制设备获得被叫媒体;  Step 6: The softswitch control device and the called party perform media negotiation through the H.245 process, and the softswitch control device obtains the called media.
步骤 7: 上述软交换控制设备通过 H.245媒体控制信令将上述主叫媒 体切换到上述被叫;  Step 7: The softswitch control device switches the calling media to the called party by using H.245 media control signaling.
步骤 8: 上述软交换控制设备通过 H.245媒体控制信令将上述被叫媒 体切换到上述主叫。 Step 8: The softswitch control device sends the above called media through H.245 media control signaling. The body switches to the above caller.
2、 根据权利要求 1所述的方法, 其特征在于  2. The method of claim 1 wherein
上述主叫媒体至少包括主叫支持的媒体类型、主叫媒体网际协议地址 和主叫媒体端口号信息;  The foregoing calling media includes at least a media type supported by the calling party, a calling media internet protocol address, and a calling media port number information;
上述假媒体的媒体类型与上述主叫支持的媒体类型相同, 且假媒体网 际协议地址为不可达的网际协议地址, 假媒体端口号任选;  The media type of the fake media is the same as the media type supported by the calling party, and the fake media internet protocol address is an unreachable internet protocol address, and the fake media port number is optional;
上述媒体服务器的媒体至少包括彩铃媒体和提示音媒体;  The media of the media server includes at least a ring back tone media and a prompt tone medium;
上述通过 H.245过程进行媒体协商的操作至少包括主从确定操作、 能 力交换操作和打开媒体通道操作;  The foregoing media negotiation operation through the H.245 process includes at least a master-slave determination operation, a capability exchange operation, and an open media channel operation;
上述呼叫音至少包括彩铃和提示音;  The above call tone includes at least a color ring tone and a prompt tone;
上述被叫媒体至少包括被叫支持的媒体类型、被叫媒体网际协议地址 和被叫媒体端口号信息。  The above called media includes at least the media type supported by the called party, the called media internet protocol address, and the called media port number information.
3、 根据权利要求 2所述的方法, 其特征在于在上述步骤 6中, 上述 软交换控制设备和上述被叫双方通过 H.245过程进行的媒体协商为使用上 述假媒体和上述被叫进行媒体协商。  The method according to claim 2, wherein in the step 6, the media exchange between the softswitch control device and the called party through the H.245 process is performed by using the fake media and the called media. Negotiation.
4、 根据权利要求 3所述的方法, 其特征在于在执行上述步骤 7前还 需执行如下步骤:  4. The method according to claim 3, characterized in that the following steps are performed before performing the above step 7:
上述主叫和上述软交换控制设备依次进行双向的主从确定和能力交 换, 且上述主叫和上述软交换控制设备双方均能收到对方的确认消息。  The above-mentioned calling party and the above-mentioned softswitch control device sequentially perform two-way master-slave determination and capability exchange, and both the calling party and the softswitch control device can receive the acknowledgement message of the other party.
5、 根据权利要求 3所述的方法, 其特征在于当被叫为快速类型时, 在执行上述歩骤 8前还需执行如下步骤- 上述被叫和上述软交换控制设备依次进行双向的主从确定和能力交 换, 且上述被叫和上述软交换控制设备双方均能收到对方的确认消息。The method according to claim 3, wherein when the called type is fast type, the following steps are further performed before the step 8 is performed - the called party and the softswitch control device sequentially perform the two-way master-slave Determine and ability to pay In addition, both the called party and the softswitch control device can receive the confirmation message of the other party.
6、 根据权利要求 1或 4所述的方法, 其特征在于上述步骤 7主要包 括如下步骤: The method according to claim 1 or 4, characterized in that the above step 7 mainly comprises the following steps:
步骤 701 : 上述软交换控制设备向上述主叫发送带切换后的媒体类型 的请求类型 (RequestMode)消息;  Step 701: The softswitch control device sends a request type (RequestMode) message with the switched media type to the calling party.
步骤 702: 上述主叫收到上述请求类型 (RequestMode)消息后, 向上述 软交换控制设备回复请求类型确认 (RequestModeAck)消息;  Step 702: After receiving the request type (RequestMode) message, the calling party sends a request type acknowledgement (RequestModeAck) message to the softswitch control device.
步骤 703: 上述主叫和上述软交换控制设备通过双向的关闭逻辑通道 (CloseLogicaiChannei)消息和关闭逻辑通道确认 (CloseLogicalChannelAck) 消息关闭各自打开的媒体通道;  Step 703: The foregoing calling party and the softswitch control device close the respective open media channels by using a two-way CloseLogicaiChannei message and a CloseLogicalChannelAck message;
步骤 704: 上述主叫和上述软交换控制设备通过双向的打幵逻辑通道 (OpenLogicalChannd)消息和打开逻辑通道确认 (OpenLogicalChamelAck) 消息打开所需的媒体通道。  Step 704: The foregoing calling party and the softswitch control device open the required media channel by using a bidirectional OpenLogicalChannd message and an OpenLogicalChamelAck message.
7、 根据权利要求 1或 5所述的方法, 其特征在于上述步骤 8主要包 括如下步骤:  7. The method according to claim 1 or 5, wherein the step 8 comprises the following steps:
步骤 801 : 上述软交换控制设备向上述被叫发送终端能力设定空 (TerminalCapabilitySetNULL)消息;  Step 801: The softswitch control device sets a terminal (TerminalCapabilitySetNULL) message to the called terminal.
步 骤 802 : 上 述 被 叫 收 到 上 述 终 端 能 力 设 定 空 (TerminalCapabilitySetNULL)消息后, 向上述软交换控制设备回复终端能 力设定确认 (TerminalCapabilitySetAck)消息;  Step 802: After receiving the terminal capacity setting (NerminalCapabilitySetNULL) message, the called terminal returns a terminal capability setting confirmation (TerminalCapabilitySetAck) message to the softswitch control device;
歩骤 803: 上述被叫和上述软交换控制设备通过双向的关闭逻辑通道 (CloseLogicalOiannel)消息和关闭逻辑通道确认 (CloseLogicalChannelAck) 消息关闭各自打开的媒体通道; Step 803: The above called party and the softswitch control device are confirmed by a bidirectional closed logical channel (CloseLogicalOiannel) message and a closed logical channel (CloseLogicalChannelAck) The message closes the respective open media channel;
步骤 804 : 上述软交换控制设备收到上述终端能力设定确认 (TerminalCapabilitySetAck)消息, 并确认上述媒体通道完全关闭后, 向上 述被叫发送带切换后 的媒体类型的非空终端能力设定 (TerminalCapabilitySet)消息;  Step 804: The softswitch control device receives the terminal capability setting confirmation (TerminalCapabilitySetAck) message, and confirms that the media channel is completely closed, and sends a non-empty terminal capability setting (TerminalCapabilitySet) with the switched media type to the called party. ) message
步骤 805:上述被叫收到上述非空终端能力设定 (TerminalCapabilitySet) 消息后, 完成和上述软交换控制设备的双向能力交换过程, 且向上述软交 换控制设备回复非空终端能力设定确认 (TerminalCapabilitySetAck)消息; 步骤 806: 上述软交换控制设备收到上述被叫回复的非空终端能力设 定确认 (TerminalCapabilitySetAck)消息后, 发起和上述被叫进行双向的主 从确定和能力交换操作;  Step 805: After receiving the foregoing non-empty terminal capability setting (Terminal CapabilitySet) message, the called party completes the two-way capability exchange process with the softswitch control device, and returns a non-empty terminal capability setting confirmation to the softswitch control device. a terminal CapabilitySetAck) message; Step 806: After receiving the non-empty terminal capability setting confirmation (TerminalCapabilitySetAck) message of the called response, the softswitch control device initiates a bidirectional master-slave determination and capability exchange operation with the called party;
步骤 807: 上述被叫和上述软交换控制设备通过双向的打开逻辑通道 Step 807: The above called party and the above softswitch control device open the logical channel through two directions
(OpenLogicalChannel)消息和打开逻辑通道确认 (OpenLogicalChannelAck) 消息打开所需的媒体通道。 ' The (OpenLogicalChannel) message and the Open Logical Channel Confirmation (OpenLogicalChannelAck) message open the desired media channel. '
8、 根据权利要求 6所述的方法, 其特征在于上述软交换控制设备能 针对不同的被切换终端类型或不同的被切换终端节点,采用与之相匹配的 媒体切换流程。  8. The method according to claim 6, wherein the softswitch control device is capable of adopting a matching media switching procedure for different switched terminal types or different switched terminal nodes.
9、 根据权利要求 7所述的方法, 其特征在于上述软交换控制设备能 针对不同的被切换终端类型或不同的被切换终端节点,采用与之相匹配的 媒体切换流程。  9. The method according to claim 7, wherein the softswitch control device is capable of adopting a matching media switching procedure for different switched terminal types or different switched terminal nodes.
10、 根据权利要求 1所述的方法, 其特征在于能用其他智能业务控制 设备代替上述软交换控制设备发起上述媒体切换过程。 10. The method according to claim 1, wherein the other media switching process can be initiated by using another intelligent service control device instead of the softswitch control device.
11、 一种 H.323协议的语音业务中的媒体切换的实现方法, 适用于慢 速呼叫类型的主叫,其特征在于其中的媒体切换过程由软交换控制设备发 起, 媒体切换的类型为语音媒体, 且被切换终端为 H.323终端, 该方法包 括以下步骤,: A method for implementing media switching in a voice service of the H.323 protocol, which is applicable to a calling party of a slow call type, wherein the media switching process is initiated by a softswitch control device, and the type of media switching is voice. The media, and the switched terminal is an H.323 terminal, the method includes the following steps:
步骤 1 :主叫向软交换控制设备发送不带主叫媒体的启动 (setup)消息; 步骤 2: 上述软交换控制设备向被叫发送不带媒体的启动 (setup)消息; 步骤 3 : 上述软交换控制设备通过前转向上述主叫发送不带媒体的振 铃 (alerting)消息和不带媒体服务器的媒体的连接 (connect)消息;  Step 1: The calling party sends a setup message without the calling media to the softswitch control device. Step 2: The softswitch control device sends a setup message without the media to the called party; Step 3: The above soft The switching control device transmits a ringing message with no media and a connect message of the media without the media server by forwarding to the above-mentioned calling party;
步骤 4: 上述主叫和上述软交换控制设备双方通过 H.245过程进行媒 体协商,且上述主叫获得上述媒体服务器的媒体并通过实时传输协议听呼 叫音;  Step 4: The foregoing calling party and the softswitch control device perform media negotiation through the H.245 process, and the calling party obtains the media of the media server and listens to the calling tone through the real-time transmission protocol.
步骤 5: 上述被叫摘机, 向上述软交换控制设备发送不带被叫媒体的 连接 (connect)消息;  Step 5: The called party picks up the phone, and sends a connect message without the called media to the softswitch control device.
步骤 6: 上述软交换控制设备构造假媒体;  Step 6: The softswitch control device constructs a fake medium;
步骤 7: 上述软交换控制设备和上述被叫双方通过 H.245过程进行媒 体协商, 且上述软交换控制设备获得被叫媒体;  Step 7: The softswitch control device and the called party perform media negotiation through the H.245 process, and the softswitch control device obtains the called media.
步骤 8: 上述软交换控制设备通过 H.245媒体控制信令将上述主叫媒 体切换到上述被叫;  Step 8: The softswitch control device switches the calling media to the called party by using H.245 media control signaling.
步骤 9: 上述软交换控制设备通过 H.245媒体控制信令将上述被叫媒 体切换到上述主叫。  Step 9: The softswitch control device switches the called media to the calling party by using H.245 media control signaling.
12、 根据权利要求 11所述的方法, 其特征在于  12. The method of claim 11 wherein
上述主叫媒体至少包括主叫支持的媒体类型、主叫媒体网际协议地址 和主叫媒体端口号信息; The above-mentioned calling media includes at least a media type supported by the calling party and a calling media internet protocol address. And the calling media port number information;
上述假媒体的媒体类型包括常用的各种媒体类型, 且假媒体网际协议 地址为不可达的网际协议地址, 假媒体端口号任选;  The media types of the above-mentioned fake media include various commonly used media types, and the fake media internet protocol address is an unreachable internet protocol address, and the fake media port number is optional;
上述媒体服务器的媒体至少包括彩铃媒体和提示音媒体;  The media of the media server includes at least a ring back tone media and a prompt tone medium;
上述通过 H.245过程进行媒体协商的操作至少包括主从确定操作、能 力交换操作和打开媒体通道操作;  The foregoing operations of media negotiation through the H.245 process include at least a master-slave determination operation, a capability exchange operation, and an open media channel operation;
上述呼叫音至少包括彩铃和提示音;  The above call tone includes at least a color ring tone and a prompt tone;
上述被叫媒体至少包括被叫支持的媒体类型、被叫媒体网际协议地址 和被叫媒体端口号信息。  The above called media includes at least the media type supported by the called party, the called media internet protocol address, and the called media port number information.
13、 根据权利要求 12所述的方法, 其特征在于在上述步骤 7中, 上 述软交换控制设备和上述被叫双方通过 H.245过程进行的媒体协商为使用 上述假媒体和上述被叫进行媒体协商。  The method according to claim 12, wherein in the step 7, the media exchange between the softswitch control device and the called party through the H.245 process is performed by using the fake media and the called media. Negotiation.
14、 根据权利要求 11所述的方法, 其特征在于上述步骤 8主要包括 如下步骤:  14. The method of claim 11 wherein said step 8 comprises the steps of:
步骤 801 : 上述软交换控制设备向上述主叫发送带切换后的媒体类型 的请求类型 (RequestMode)消息;  Step 801: The softswitch control device sends a request type (RequestMode) message with the switched media type to the calling party.
步骤 802: 上述主叫收到上述请求类型 (RequestMode)消息后, 向上述 软交换控制设备回复请求类型确认 (RequestModeAck)消息;  Step 802: After receiving the request type (RequestMode) message, the calling party sends a request type acknowledgement (RequestModeAck) message to the softswitch control device.
步骤 803: 上述主叫和上述软交换控制设备通过双向的关闭逻辑通道 (CloseLogicalChannel)消息和关闭逻辑通道确认 (CloseLogicalChannelAck) 消息关闭各自打幵的媒体通道;  Step 803: The foregoing calling party and the softswitch control device close the respective media channels by using a two-way CloseLogicalChannel message and a CloseLogicalChannelAck message;
步骤 804: 上述主叫和上述软交换控制设备通过双向的打开逻辑通道 (OpenLogicalChannel)消息和打开逻辑通道确认 (OpenLogicalOiannelAck) 消息打开所需的媒体通道。 Step 804: The foregoing calling party and the softswitch control device open the logical channel through two directions The (OpenLogicalChannel) message and the Open Logical Channel Confirmation (OpenLogicalOiannelAck) message open the desired media channel.
15、 根据权利要求 11所述的方法, 其特征在于上述步骤 9主要包括 如下步骤:  15. The method of claim 11 wherein said step 9 comprises the steps of:
步骤 901 : 上述软交换控制设备向上述被叫发送终端能力设定空 Step 901: The softswitch control device sets an empty capability to the called terminal.
(TerminalCapabilitySetNULL)消息; (TerminalCapabilitySetNULL) message;
步 骤 902 : 上 述 被 叫 收 到 上 述 终 端 能 力 设 定 空 (TeraiinalCapabilitySetNULL)消息后, 向上述软交换控制设备回复终端能 力设定确认 (TeraiinalCapabilitySetAck)消息;  Step 902: After the called party receives the above-mentioned terminal capability setting (TeraiinalCapabilitySetNULL) message, it returns a terminal capability setting confirmation (TeraiinalCapabilitySetAck) message to the softswitch control device;
步骤 903: 上述被叫和上述软交换控制设备通过双向的关闭逻辑通道 Step 903: The above called party and the above softswitch control device close the logical channel through two directions
(CloseLogicalChannel)消息和关闭逻辑通道确认 (CloseLogicalChannelAck) 消息关闭各自打开的媒体通道; The (CloseLogicalChannel) message and the CloseLogicalChannelAck message close the respective open media channels;
步骤 904 : 上述软交换控制设备收到上述终端能力设定确认 (TeraiinalCapabilitySetAck)消息, 并确认上述媒体通道完全关闭后, 向上 述被叫发送带切换后 的媒体类型的非空终端能力设定 (Tei'minalCapabilitySet)消息;  Step 904: The softswitch control device receives the terminal capability setting confirmation (TeraiinalCapabilitySetAck) message, and confirms that the media channel is completely closed, and sends the non-empty terminal capability setting with the switched media type to the called party (Tei 'minalCapabilitySet) message;
步骤 905:上述被叫收到上述非空终端能力设定 (TerminalCapabilitySet) 消息后, 完成和上述软交换控制设备的双向能力交换过程, 且向上述软交 换控制设备回复非空终端能力设定确认 (TeraiinalCapabilitySetAck)消息; 步骤 906: 上述软交换控制设备收到上述被叫回复的非空终端能力设 定确 lA(TferminaiCapabilitySetAck)消息后, 发起和上述被叫迸行双向的主 从确定和能力交换操作; 步骤 907: 上述被叫和上述软交换控制设备通过双向的打开逻辑通道 (OpenLogicalChannel)消息和打开逻辑通道确认 (OpenLogicalChannelAck) 消息打开所需的媒体通道。 Step 905: After receiving the foregoing non-empty terminal capability setting (Terminal CapabilitySet) message, the called party completes the two-way capability exchange process with the softswitch control device, and returns a non-empty terminal capability setting confirmation to the softswitch control device ( TeraiinalCapabilitySetAck) message; Step 906: After receiving the non-empty terminal capability setting 1A (TferminaiCapabilitySetAck) message of the called response, the softswitch control device initiates a bidirectional master-slave determination and capability exchange operation with the called party; Step 907: The above called party and the softswitch control device open the required media channel by bidirectional OpenLogical Channel (OpenLogicalChannel) message and OpenLogical ChannelAck message.
16、 根据权利要求 14或 15所述的方法, 其特征在于上述软交换控制 设备能针对不同的被切换终端类型或不同的被切换终端节点,采用与之相 匹配的媒体切换流程。  The method according to claim 14 or 15, wherein the softswitch control device is capable of adopting a matching media switching procedure for different switched terminal types or different switched terminal nodes.
17、 根据权利要求 11 所述的方法, 其特征在于能用其他智能业务控 制设备代替上述软交换控制设备发起上述媒体切换过程。  The method according to claim 11, characterized in that the other intelligent service control device can be used to initiate the media switching process instead of the softswitch control device.
PCT/CN2005/001910 2005-11-14 2005-11-14 A method for implementing the media switch in the voice service of the h.323 protocol WO2007053981A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2005/001910 WO2007053981A1 (en) 2005-11-14 2005-11-14 A method for implementing the media switch in the voice service of the h.323 protocol
CN200580050011.XA CN101194483B (en) 2005-11-14 2005-11-14 Media switching realization method in voice service of H.323 protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2005/001910 WO2007053981A1 (en) 2005-11-14 2005-11-14 A method for implementing the media switch in the voice service of the h.323 protocol

Publications (1)

Publication Number Publication Date
WO2007053981A1 true WO2007053981A1 (en) 2007-05-18

Family

ID=38022954

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2005/001910 WO2007053981A1 (en) 2005-11-14 2005-11-14 A method for implementing the media switch in the voice service of the h.323 protocol

Country Status (2)

Country Link
CN (1) CN101194483B (en)
WO (1) WO2007053981A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020021275A (en) * 2000-09-14 2002-03-20 이승우 Audio standard converting system for supporting phone of portable terminal
CN1407445A (en) * 2001-08-24 2003-04-02 华为技术有限公司 Method for realizing interactive answer/speech mailbox facility by software
US6785223B1 (en) * 1999-04-22 2004-08-31 Siemens Information And Communication Networks, Inc. System and method for restarting of signaling entities in H.323-based realtime communication networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6785223B1 (en) * 1999-04-22 2004-08-31 Siemens Information And Communication Networks, Inc. System and method for restarting of signaling entities in H.323-based realtime communication networks
KR20020021275A (en) * 2000-09-14 2002-03-20 이승우 Audio standard converting system for supporting phone of portable terminal
CN1407445A (en) * 2001-08-24 2003-04-02 华为技术有限公司 Method for realizing interactive answer/speech mailbox facility by software

Also Published As

Publication number Publication date
CN101194483B (en) 2011-05-18
CN101194483A (en) 2008-06-04

Similar Documents

Publication Publication Date Title
US6754180B1 (en) System, method, and computer program product for support of bearer path services in a distributed control network
KR100377688B1 (en) Call Setup Method Using SIP-T Overlap Signaling
EP1786162B1 (en) Method for the calling user terminal listening to the signal tone of the called user terminal when inter-networking
EP2012516A2 (en) Customised playback telephony services
US8131265B2 (en) System and method for implementing multimedia ring back tone service
JP3873048B2 (en) Ringback tone transmission method, terminal, ringback tone generation method, and system for generating ringback tone
WO2006111100A1 (en) A method for realizing ring back tone in communication system
WO2009152699A1 (en) Sip terminal and the status reporting method, system and sip server thereof
US7899164B2 (en) Convergence of circuit-switched voice and packet-based media services
US7894581B2 (en) Convergence of circuit-switched voice and packet-based media services
JP4485469B2 (en) Telephone communication system
JP2005020676A (en) Telephone communication method and apparatus
WO2007053981A1 (en) A method for implementing the media switch in the voice service of the h.323 protocol
JP4335037B2 (en) Interworking device
WO2007025436A1 (en) A method for calling identity delivery when calling in the communication system
JP4135466B2 (en) Communications system
JP2004173051A (en) VoIP PACKET INFORMATION STORAGE SYSTEM
US20060045072A1 (en) Method of managing telephone calls over a data network, telephony station, server and telephony system supporting said method
WO2008017189A1 (en) System and method for realizing colorful ring back tone service in 3g ip multimedia subsystem network
JP2006094330A (en) Ip telephone forwarding device
JP4193671B2 (en) Heterogeneous network line accommodation apparatus, information notification program, and recording medium
JP2005252662A (en) VoIP GATEWAY DEVICE
CA2768069C (en) Convergence of circuit-switched voice and packet-based media services
JP2004304630A (en) Key telephone system
JP2004222013A (en) Internet protocol telephony sistem

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 200580050011.X

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 05808316

Country of ref document: EP

Kind code of ref document: A1