[go: up one dir, main page]

CN101018216B - Voice, Modem and Fax full control method - Google Patents

Voice, Modem and Fax full control method Download PDF

Info

Publication number
CN101018216B
CN101018216B CN 200710002492 CN200710002492A CN101018216B CN 101018216 B CN101018216 B CN 101018216B CN 200710002492 CN200710002492 CN 200710002492 CN 200710002492 A CN200710002492 A CN 200710002492A CN 101018216 B CN101018216 B CN 101018216B
Authority
CN
China
Prior art keywords
softswitch
fax
modem
media gateway
voice
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN 200710002492
Other languages
Chinese (zh)
Other versions
CN101018216A (en
Inventor
连伟良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shangge Intellectual Property Service Co ltd
Yangxin Runtian Cotton Industry Co ltd
Original Assignee
ZTE Corp
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 Corp filed Critical ZTE Corp
Priority to CN 200710002492 priority Critical patent/CN101018216B/en
Publication of CN101018216A publication Critical patent/CN101018216A/en
Application granted granted Critical
Publication of CN101018216B publication Critical patent/CN101018216B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Transmission Control (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosed full control method for all of speech, Modem and Fax comprises: the calling user builds speech carrying channel; the first media gateway notifies the first soft exchange for the detected Fax or Modem affair; the latter indicates the first media gateway to switch into fax or modem state; the first soft exchange initiates the negotiation and building request for the fax media flow to the second soft exchange; the latter receives message and indicates the second media gateway to switch into fax or modem state; then the second soft exchange matches the fax or modem capacity with the initiator through signaling message; finally, the calling builds fax or modem channel with the called.

Description

语音、Modem和Fax全控制方法Voice, Modem and Fax full control method

技术领域 technical field

本发明涉及一种下一代网络(NGN)技术,具体说,涉及一种语音、Modem和Fax全控制方法。The invention relates to a next generation network (NGN) technology, in particular to a voice, Modem and Fax full control method.

背景技术 Background technique

传统的TDM网络是通过主、被叫间建立语音承载通道后,通过终端设备之间的能力协商,实现Modem、Fax业务的。终端设备能力协商过程中网络设备没有参与,信令通过承载通道透明传输,实现主、被叫设备间的能力协商过程。In a traditional TDM network, Modem and Fax services are realized through capability negotiation between terminal devices after the voice bearer channel is established between the calling party and the called party. The network device does not participate in the capability negotiation process of the terminal device, and the signaling is transparently transmitted through the bearer channel to realize the capability negotiation process between the calling device and the called device.

NGN网络的网关设备对Modem、Fax信号检测已经成为比较成熟的技术,这为NGN网络的Modem、Fax全控制技术提供了基础。NGN是以软交换为核心,能够提供话音、视频、数据等多媒体综合业务,采用开放、标准体系结构,能够提供丰富业务的下一代网络。NGN网络为Modem、Fax业务提出了新的需求,要求核心网设备能够感知终端设备的业务实现过程,以便为用户和运营商提供更好的服务,这就要求核心网设备参与到设备的整个业务流程中。The gateway equipment of the NGN network has become a relatively mature technology for Modem and Fax signal detection, which provides the basis for the Modem and Fax full control technology of the NGN network. NGN takes softswitch as the core and can provide voice, video, data and other multimedia integrated services. It adopts an open and standard system structure and can provide a next-generation network with rich services. NGN network puts forward new requirements for Modem and Fax services, requiring core network equipment to be able to perceive the service implementation process of terminal equipment in order to provide better services for users and operators, which requires core network equipment to participate in the entire business of equipment in process.

中国申请号200310120016公开了一种下一代网络中传真的实现方法,两端媒体网关进行通讯时,其中的一端媒体网关检测到传真开始信号后,通知媒体网关控制器;媒体网关控制器根据双方协商的传真编解码,同时并行向通讯双方的媒体网关发送修改编解码命令;若修改编解码时,两端媒体网关的端口没有发生变化,则开始传真;若修改编解码时,某一媒体网关的本端端口发生了变化,则媒体网关控制器向对端的媒体网关发送修改命令,对实时传输协议远端属性进行修改,修改完后开始传真。在媒体网关检测到传真开始信号前,在协商语音编解码的同时,对传真编解码进行协商。这种协商方式的缺点同TDM网络的MODEM、FAX终端的协商过程相同,媒体网关自协商不通过软交换,由媒体网关自主协商。Chinese application number 200310120016 discloses a method for implementing fax in the next generation network. When the media gateways at both ends communicate, one of the media gateways detects the fax start signal and notifies the media gateway controller; Fax codec, and at the same time send a codec modification command to the media gateways of both parties in parallel; if the codec is modified, the ports of the media gateways at both ends If the port at the local end changes, the media gateway controller sends a modification command to the media gateway at the opposite end to modify the properties of the remote end of the real-time transport protocol, and starts faxing after modification. Before the media gateway detects the fax start signal, it negotiates the fax codec while negotiating the voice codec. The disadvantage of this negotiation method is the same as the negotiation process of the MODEM and FAX terminals in the TDM network. The media gateway self-negotiation does not go through the softswitch, and the media gateway negotiates independently.

软交换控制方式检测到Modem信号后,媒体网关将Modem事件上报软交换,并由软交换控制被叫终端的业务能力。但这种技术没有解决主被叫在不同的软交换控制域的处理情况。由于控制设备间没有定义信令的协商机制,如果两个互通的控制设备间使用不同的协商机制,就会造成这些业务无法实现。After the softswitch control mode detects the Modem signal, the media gateway reports the Modem event to the softswitch, and the softswitch controls the service capability of the called terminal. However, this technology does not solve the processing situation that the calling party and the called party are in different softswitch control domains. Since there is no signaling negotiation mechanism defined between the control devices, if two intercommunicating control devices use different negotiation mechanisms, these services cannot be realized.

发明内容 Contents of the invention

本发明所解决的技术问题是提供一种语音、Modem、Fax全控制方法,有利于NGN网络控制设备实现统一的Modem、FAX业务流程,解决了不同软交换控制设备下的Modem、FAX等设备的互通问题。The technical problem solved by the present invention is to provide a kind of voice, Modem, Fax full control method, be beneficial to NGN network control equipment to realize unified Modem, FAX service flow, have solved the equipment such as Modem, FAX under different softswitch control equipment Interoperability issues.

技术方案如下:The technical solution is as follows:

语音、Modem和Fax全控制方法,步骤如下:Voice, Modem and Fax full control method, the steps are as follows:

(1)主叫用户呼叫被叫用户,建立语音承载通道;(1) The calling user calls the called user to establish a voice bearer channel;

(2)第一媒体网关将检测到的传真事件或者MODEM事件告知第一软交换;(2) The first media gateway notifies the first softswitch of the detected fax event or MODEM event;

(3)第一软交换指示第一媒体网关切换到传真状态或者MODEM状态;(3) the first softswitch instructs the first media gateway to switch to the fax state or the MODEM state;

(4)第一软交换通过信令消息向第二软交换发起传真媒体流的协商和建立请求;(4) The first softswitch initiates a negotiation and establishment request of the facsimile media flow to the second softswitch through a signaling message;

(5)第二软交换收到信令消息后,指示第二媒体网关切换到传真状态或者MODEM状态;(5) After the second softswitch receives the signaling message, it instructs the second media gateway to switch to the fax state or the MODEM state;

(6)当第二媒体网关切换到传真状态或者MODEM态时,第二软交换通过信令消息与发起方完成传真能力或者MODEM能力的协商和匹配;所述信令消息带有的被叫侧设备的媒体能力;(6) When the second media gateway switches to the fax state or the MODEM state, the second softswitch completes the negotiation and matching of the fax capability or the MODEM capability with the initiator through the signaling message; the media capabilities of the device;

(7)主叫设备和被叫设备建立传真通道或者modem通道。(7) The calling device and the called device establish a fax channel or a modem channel.

进一步,所述第一媒体网关和第二媒体网关为网关接入设备,用于接入终端设备,并接受软交换设备的控制。Further, the first media gateway and the second media gateway are gateway access devices, used to access terminal devices, and accept the control of the softswitch device.

进一步,所述第一软交换和第二软交换为NGN网络的核心控制设备,部署在IP网络,通过IP协议实现通讯。Further, the first softswitch and the second softswitch are core control devices of the NGN network, deployed on the IP network, and realize communication through the IP protocol.

步骤(7)进一步包括,当Modem呼叫建立失败时,退回原有呼叫状态。Step (7) further includes returning to the original call state when the Modem call fails to be established.

进一步,步骤(7)中所述退回原有呼叫状态的步骤包括:Further, the step of returning to the original call state described in step (7) includes:

A、当第一媒体网关检测到传真结束事件,告知第一软交换;A. When the first media gateway detects the fax end event, it notifies the first softswitch;

B、第一软交换要求第一媒体网关切换到语音通话状态;B. The first softswitch requires the first media gateway to switch to the voice call state;

C、第一软交换通过SIP的re-INVITE消息向第二软交换发起更改到语音通话状态的请求;C. The first softswitch initiates a request to change to the voice call state through the re-INVITE message of SIP to the second softswitch;

D、第二软交换收到re-INVITE后,指示第二媒体网关切换到语音通话状态;D. After receiving the re-INVITE, the second softswitch instructs the second media gateway to switch to the voice call state;

E、第二软交换将第二媒体网关的SDP信息发送到第一软交换;E. The second softswitch sends the SDP information of the second media gateway to the first softswitch;

F、第一软交换将第二媒体网关的SDP信息告知第一媒体网关;F. The first softswitch notifies the first media gateway of the SDP information of the second media gateway;

G、主叫用户和被叫用户恢复已建立的语音通话。G. The calling user and the called user resume the established voice call.

进一步,当呼叫结束时,主叫设备和被叫设备释放资源。Further, when the call ends, the calling device and the called device release resources.

进一步,释放资源的步骤包括:Further, the steps of releasing resources include:

i、第一媒体网关检测到挂机事件并向第一软交换上报;i. The first media gateway detects an on-hook event and reports it to the first softswitch;

ii、第一软交换要求第一媒体网关释放资源;ii. The first softswitch requires the first media gateway to release resources;

iii、第一软交换向第二软交换发送BYE消息;iii. The first softswitch sends a BYE message to the second softswitch;

iv、第二软交换要求第二媒体网关释放资源。iv. The second softswitch requires the second media gateway to release resources.

进一步,当主叫设备和被叫设备同时发起modem呼叫时,所述第一软交换和第二软交换具有同抢协商机制。Furthermore, when the calling device and the called device initiate a modem call at the same time, the first softswitch and the second softswitch have a co-op negotiation mechanism.

本发明解决了NGN核心网设备对终端业务的控制能力,为运营商和用户服务提供更精细化的服务。本发明实现的Modem全控制流程,有利于NGN网络控制设备实现统一的Modem、FAX业务流程,解决了不同软交换控制设备下的Modem、FAX等设备的互通问题。进一步地,通过全控制流程,实现了对用户的业务鉴权、业务计费等功能。The invention solves the control ability of the NGN core network equipment to the terminal service, and provides more refined service for the operator and the user service. The Modem full control flow realized by the invention is beneficial to NGN network control equipment to realize unified Modem and FAX service flow, and solves the intercommunication problem of Modem, FAX and other equipment under different softswitch control equipment. Furthermore, through the full control process, functions such as service authentication and service charging for users are realized.

附图说明 Description of drawings

图1、图2是IP接入Modem/Fax呼叫全控制系统的结构图;Figure 1 and Figure 2 are structural diagrams of the IP access Modem/Fax call full control system;

图3是Modem呼叫建立的流程图;Fig. 3 is the flowchart of Modem call establishment;

图4是Modem呼叫主被叫同时发起的同抢消息流程图;Fig. 4 is the flow chart of grabbing messages simultaneously initiated by the calling party and the called by the Modem;

图5是Modem呼叫结束流程图;Fig. 5 is the flow chart of Modem call termination;

图6是FAX呼叫建立流程;Fig. 6 is the FAX call establishment process;

图7是传真结束恢复到原有呼叫状态的流程图;Fig. 7 is a flow chart of returning to the original call state after the fax finishes;

图8是传真结束的流程图;Fig. 8 is a flowchart of the end of fax;

图9是主、被叫同时检测到传真结束事件的流程图。FIG. 9 is a flow chart of simultaneous detection of the fax end event by the calling party and the called party.

具体实施方式 Detailed ways

下面参照附图对本发明的优选实施例作详细描述。Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

参照图1所示,软交换设备包括第一软交换(Softswitch1)和第二软交换(softswitch2),第一软交换(Softswitch1)和第二软交换(softswitch2)为NGN网络的核心控制设备,部署在IP网络。两个软交换间通过IP协议实现通讯,如SIP协议。With reference to shown in Fig. 1, soft switch equipment comprises the first soft switch (Softswitch1) and the second soft switch (softswitch2), the first soft switch (Softswitch1) and the second soft switch (softswitch2) are the core control equipment of NGN network, deployment in an IP network. The communication between the two softswitches is realized through the IP protocol, such as the SIP protocol.

网关设备包括第一媒体网关、第二媒体网关,第一媒体网关、第二媒体网关为网关接入设备,用于接入终端设备,并接受软交换设备的控制。网关设备和软交换设备间通过IP协议实现通讯,如H.248,SIP等。The gateway device includes a first media gateway and a second media gateway. The first media gateway and the second media gateway are gateway access devices for accessing terminal devices and accepting the control of the softswitch device. The communication between the gateway device and the softswitch device is realized through IP protocol, such as H.248, SIP and so on.

Modem终端1、Modem终端2为TDM电路接口传真设备,和网关设备间的通讯通过TDM电路实现。Modem terminal 1 and Modem terminal 2 are facsimile equipment with TDM circuit interface, and the communication with the gateway equipment is realized through TDM circuit.

参照图2所示,Softswitch1、softswitch2为NGN网络的核心控制设备,部署在IP网络。第一软交换(软交换1)和第二软交换(软交换2)两个软交换间通过IP协议实现通讯,如SIP协议。Referring to Figure 2, Softswitch1 and softswitch2 are the core control devices of the NGN network and are deployed on the IP network. Communication between the first soft switch (soft switch 1) and the second soft switch (soft switch 2) is implemented through an IP protocol, such as the SIP protocol.

为将G.711方式下的语音与传真区别开来,将媒体参数的属性行进行扩展,增加属性描述a=fax,表明此时为传真业务,具体格式如下:In order to distinguish the voice and fax in the G.711 mode, the attribute line of the media parameter is extended, and the attribute description a=fax is added to indicate that it is a fax service at this time. The specific format is as follows:

m=audio 8766RTP/AVP 0;a=Fax(新扩充的参数,标识传真业务,大小写不敏感)。m=audio 8766RTP/AVP 0; a=Fax (newly expanded parameters, identifying fax services, case insensitive).

当跨域启动modem业务时,扩展参数a=modem表明当前为modem业务。具体格式如下:When the modem service is started across domains, the extended parameter a=modem indicates that it is currently a modem service. The specific format is as follows:

m=audio 8766RTP/AVP 0;a=modem(新扩充的参数,标识modem业务,大小写不敏感)。m=audio 8766RTP/AVP 0; a=modem (newly expanded parameters, identifying modem business, case insensitive).

Modem终端1、Modem终端2为IP接口的传真设备。传真设备和软交换设备间通过IP协议实现通讯,如H.248,SIP等。Modem terminal 1 and Modem terminal 2 are facsimile devices with IP interface. Communication between fax equipment and softswitch equipment is realized through IP protocol, such as H.248, SIP, etc.

参照图3所示,Modem呼叫建立过程的具体步骤如下:Shown in Fig. 3 with reference to, the specific steps of Modem call establishment process are as follows:

步骤1:主叫用户呼叫被叫用户,两者之间建立语音承载通道。Step 1: The calling user calls the called user, and a voice bearer channel is established between the two.

在此,主叫用户、被叫用户都可以发起传真。Here, both the calling user and the called user can initiate a fax.

步骤2:如果软交换1下的用户发起传真请求,媒体网关1(中继网关、AG或IAD)检测到传真事件后,告知软交换1。Step 2: If a user under Softswitch 1 initiates a fax request, Media Gateway 1 (trunk gateway, AG or IAD) notifies Softswitch 1 after detecting the fax event.

步骤3:软交换1要求媒体网关1切换到MODEM状态。Step 3: Softswitch 1 requires media gateway 1 to switch to MODEM state.

步骤4:软交换1通过SIP的re-INVITE消息向软交换2发起传真媒体流的协商和建立请求。其中re-INVITE消息中带有MODEM能力描述的SDPoffer。Step 4: Softswitch 1 initiates a negotiation and establishment request of the fax media stream to Softswitch 2 through a SIP re-INVITE message. The re-INVITE message carries the SDPOffer described by the MODEM capability.

INVITE sip:tombeijing.com SIP/2.0INVITE sip:tombeijing.com SIP/2.0

Via:SIP/2.0/UDP 10.10.10.10Via: SIP/2.0/UDP 10.10.10.10

From:lianwl<sip:lianwlzte.com.cn>;tag=123456789From: lianwl<sip:lianwlzte.com.cn>; tag=123456789

To:tom<sip:tombeijing.com>To: tom<sip:tombeijing.com>

Call-ID:3863931310.10.10.10Call-ID: 3863931310.10.10.10

CSeq:2INVITECSeq: 2 INVITE

Supported:100relSupported: 100rel

Contact:<sip:lianwl10.10.10.10:5060>Contact: <sip:lianwl10.10.10.10:5060>

Content-Type:application/sdpContent-Type: application/sdp

Content-Length:...Content-Length:...

v=0v=0

o=faxgw1 2890844526 2890842807 IN IP410.10.10.10o=faxgw1 2890844526 2890842807 IN IP410.10.10.10

t=00t=00

c=IN IP4 10.10.11.11c=IN IP4 10.10.11.11

m=audio 8766 RTP/AVP 0m=audio 8766 RTP/AVP 0

a=modema = modem

步骤5:软交换2收到re-INVITE后,指示媒体网关2切换到MODEM态。Step 5: After receiving the re-INVITE, the soft switch 2 instructs the media gateway 2 to switch to the MODEM state.

步骤6:当媒体网关2切换到MODEM态时,软交换通过200消息带有的SDP(answer)内容,与发起方完成MODEM能力的协商。Step 6: When the media gateway 2 switches to the MODEM state, the softswitch completes the negotiation of the MODEM capability with the initiator through the SDP (answer) content carried in the 200 message.

SIP/2.0 200OKSIP/2.0 200OK

Via:SIP/2.0/UDP 1.1.1.1(软交换1的地址)Via: SIP/2.0/UDP 1.1.1.1 (address of softswitch 1)

Via:SIP/2.0/UDP 10.10.10.10Via: SIP/2.0/UDP 10.10.10.10

From:lianwl<sip:lianwlzte.com.cn>;tag=123456789From: lianwl<sip:lianwlzte.com.cn>; tag=123456789

To:tom<sip:tombeijing.com>;tag=987654321To: tom<sip:tombeijing.com>; tag=987654321

Call-ID:3863931310.10.10.10Call-ID: 3863931310.10.10.10

CSeq:2INVITECSeq: 2 INVITE

Contact:<sip:tom20.20.20.20:5060>Contact: <sip:tom20.20.20.20:5060>

Content-Type:application/sdpContent-Type: application/sdp

Content-Length:...Content-Length:...

v=0v=0

o=faxgw228908445272890842808IN IP420.20.20.20o=faxgw228908445272890842808IN IP420.20.20.20

t=00t=00

c=IN IP4 20.20.21.21c=IN IP4 20.20.21.21

m=audio 8766RTP/AVP 0m=audio 8766RTP/AVP 0

a=modema = modem

步骤7:软交换1收到软交换2发送的SDP后,将媒体网关2的modem能力告知媒体网关1Step 7: Softswitch 1 informs Media Gateway 1 of the modem capability of Media Gateway 2 after receiving the SDP sent by Softswitch 2

步骤8:主叫设备和被叫设备进行modem通信。Step 8: The calling device and the called device perform modem communication.

参照图4所示,当Modem的主被叫同时发起呼叫时,同抢消息的步骤如下:Referring to Figure 4, when the calling party and the called party of the Modem initiate a call at the same time, the steps of grabbing the message at the same time are as follows:

步骤1:主叫用户呼叫被叫用户,两者之间建立语音通道。Step 1: The calling user calls the called user, and a voice channel is established between the two.

在此,主、被叫用户都可以发起传真。Here, both the calling user and the called user can initiate a fax.

步骤2:假定软交换1下的用户发起传真请求,媒体网关1(中继网关、AG或IAD)检测到Modem事件后,告知软交换1。Step 2: Assuming that a user under Softswitch 1 initiates a fax request, Media Gateway 1 (trunk gateway, AG or IAD) notifies Softswitch 1 after detecting the Modem event.

同时,媒体网关2(中继网关、AG或IAD)检测到Modem事件后,告知软交换2。At the same time, after the media gateway 2 (trunk gateway, AG or IAD) detects the Modem event, it notifies the softswitch 2.

步骤3:软交换1要求媒体网关1切换到MODEM状态;软交换2要求媒体网关2切换到MODEM状态。Step 3: The soft switch 1 requires the media gateway 1 to switch to the MODEM state; the soft switch 2 requires the media gateway 2 to switch to the MODEM state.

步骤4:软交换1通过SIP的re-INVITE消息向软交换2发起传真媒体流的协商和建立请求。其中re-INVITE消息中带有MODEM能力描述的SDPoffer。Step 4: Softswitch 1 initiates a negotiation and establishment request of the fax media stream to Softswitch 2 through a SIP re-INVITE message. The re-INVITE message carries the SDPOffer described by the MODEM capability.

软交换2通过SIP的re-INVITE消息向软交换1发起传真媒体流的协商和建立请求。其中re-INVITE消息中带有MODEM能力描述的SDP offer。Softswitch 2 initiates a negotiation and establishment request of the fax media stream to softswitch 1 through a SIP re-INVITE message. Among them, the SDP offer with MODEM capability description in the re-INVITE message.

步骤5:软交换2收到re-INVITE后,判定出用户发起了Modem呼叫同抢。Step 5: After receiving the re-INVITE, the softswitch 2 determines that the user initiates a Modem call.

软交换1收到re-INVITE后,判定出用户发起了Modem呼叫同抢。After receiving the re-INVITE, softswitch 1 determines that the user has initiated a Modem call.

步骤6、:软交换1向软交换2发送491消息;软交换2向软交换1发送491消息。Step 6: Softswitch 1 sends a 491 message to Softswitch 2; Softswitch 2 sends a 491 message to Softswitch 1.

步骤7:软交换1启动重发Reinvite定时器。Step 7: Softswitch 1 starts the Reinvite timer for retransmission.

主叫侧随机设置2.1~4秒定时器,被叫侧随机设置0~2秒定时器,定时器时长可调。The calling side randomly sets a timer of 2.1 to 4 seconds, and the called side randomly sets a timer of 0 to 2 seconds, and the timer duration is adjustable.

本实施例中,假设软交换2定时器定时0~2秒(10ms单位)。In this embodiment, it is assumed that the softswitch 2 timer is timed at 0 to 2 seconds (10 ms unit).

步骤8:软交换2的定时器首先到达,将向软交换1发送reinvite消息。Step 8: The timer of softswitch 2 arrives first, and a reinvite message will be sent to softswitch 1.

步骤9:软交换1收到软交换2发送的SDP后,将媒体网关2的modem能力告知媒体网关1。Step 9: After receiving the SDP sent by the soft switch 2, the soft switch 1 informs the media gateway 1 of the modem capability of the media gateway 2.

步骤10:主叫设备和被叫设备进行modem通信。Step 10: The calling device and the called device perform modem communication.

Fax呼叫主被叫同时同抢流程和上述流程一致,只将相应的Modem信息改成Fax信息即可。The process of calling the calling party and the called party by Fax is the same as the above process, and only needs to change the corresponding Modem information to Fax information.

参照图5所示,Modem呼叫结束过程的具体步骤如下:Shown in Fig. 5 with reference to, the concrete steps of Modem call end process are as follows:

步骤1:主、被叫用户处于MODEM态或恢复到语音态。Step 1: The calling and called users are in the MODEM state or restored to the voice state.

步骤2:媒体网关1检测到挂机事件并向软交换1上报。Step 2: Media Gateway 1 detects the on-hook event and reports it to Softswitch 1.

步骤3:软交换1要求媒体网关1释放资源。Step 3: Softswitch 1 requires Media Gateway 1 to release resources.

步骤4:软交换1向软交换2发送BYE消息。Step 4: Softswitch 1 sends a BYE message to Softswitch 2.

步骤5:软交换2要求媒体网关2释放资源。Step 5: Softswitch 2 requests media gateway 2 to release resources.

参照图6所示,FAX呼叫建立的具体步骤如下:Referring to Figure 6, the specific steps of FAX call establishment are as follows:

主叫用户呼叫被叫用户,两者之间建立语音通道。在此,主、被叫用户都可以发起传真,本实施例中,假定软交换1下的用户发起传真请求。The calling user calls the called user, and a voice channel is established between the two. Here, both the calling user and the called user can initiate a fax. In this embodiment, it is assumed that a user under softswitch 1 initiates a fax request.

步骤1:媒体网关1(中继网关、AG或IAD)检测到传真事件后,告知软交换1。Step 1: Media gateway 1 (trunk gateway, AG or IAD) notifies softswitch 1 after detecting the fax event.

步骤2:软交换1要求媒体网关1切换到传真状态。Step 2: Softswitch 1 requires MG1 to switch to the fax state.

步骤3:软交换1通过SIP的re-INVITE消息向软交换2发起传真媒体流的协商和建立请求。Step 3: Softswitch 1 initiates a negotiation and establishment request of the fax media stream to Softswitch 2 through a SIP re-INVITE message.

其中re-INVITE消息中带有传真能力描述的SDP offer。本实施例中,媒体网关1同时支持T.38和G.711传真。The re-INVITE message contains the SDP offer describing the fax capability. In this embodiment, the media gateway 1 supports both T.38 and G.711 faxes.

INVITE sip:tombeijing.com SIP/2.0INVITE sip:tombeijing.com SIP/2.0

Via:SIP/2.0/UDP10.10.10.10Via: SIP/2.0/UDP10.10.10.10

From:lianwl<sip:lianwllianwl.zte.com>;tag=123456789From: lianwl<sip:lianwllianwl.zte.com>; tag=123456789

To:tom<sip:tombeijing.com>To: tom<sip:tombeijing.com>

Call-ID:3863931310.10.10.10Call-ID: 3863931310.10.10.10

CSeq:2INVITECSeq: 2 INVITE

Supported:100relSupported: 100rel

Contact:<sip:lianwl10.10.10.10:5060>Contact: <sip:lianwl10.10.10.10:5060>

Content-Type:application/sdpContent-Type: application/sdp

Content-Length:...Content-Length:...

v=0v=0

o=faxgw12890844526 2890842807IN IP410.10.10.10o=faxgw12890844526 2890842807IN IP410.10.10.10

t=00t=00

c=IN IP410.10.11.11c=IN IP410.10.11.11

m=image 49170udptl t38m=image 49170udptl t38

a=T38FaxRateManagement:transferredTCFa=T38FaxRateManagement:transferredTCF

a=T38FaxUdpEC:t38UDPFECa=T38FaxUdpEC:t38UDPFEC

m=audio 8766RTP/AVP 0m=audio 8766RTP/AVP 0

a=faxa=fax

步骤4:软交换2收到re-INVITE后,指示媒体网关2切换到传真态。Step 4: After receiving the re-INVITE, the soft switch 2 instructs the media gateway 2 to switch to the fax state.

步骤5:当媒体网关2切换到传真态时,软交换通过200消息带有的SDP(answer)内容,与offer方完成传真能力的协商。Step 5: When the media gateway 2 switches to the fax state, the softswitch completes the fax capability negotiation with the offerer through the SDP (answer) content carried in the 200 message.

本实施例中,接受方选择了T.38传真。In this embodiment, the recipient selects T.38 fax.

SIP/2.0 200OKSIP/2.0 200OK

Via:SIP/2.0/UDP 1.1.1.1(软交换1的地址)Via: SIP/2.0/UDP 1.1.1.1 (address of softswitch 1)

Via:SIP/2.0/UDP 10.10.10.10Via: SIP/2.0/UDP 10.10.10.10

From:lianwl<sip:lianwlzte.com.cn>;tag=123456789From: lianwl<sip:lianwlzte.com.cn>; tag=123456789

To:tom<sip:tombeijing.com>;tag=987654321To: tom<sip:tombeijing.com>; tag=987654321

Call-ID:3863931310.10.10.10Call-ID: 3863931310.10.10.10

CSeq:2 INVITECSeq: 2 INVITE

Contact:<sip:tom20.20.20.20:5060>Contact: <sip:tom20.20.20.20:5060>

Content-Type:application/sdpContent-Type: application/sdp

Content-Length:...Content-Length:...

v=0v=0

o=faxgw2 2890844527 2890842808IN IP420.20.20.20o=faxgw2 2890844527 2890842808IN IP420.20.20.20

t=00t=00

c=IN IP 420.20.21.21c=IN IP 420.20.21.21

m=image 49270 udptl t38m=image 49270 udptl t38

a=T38FaxRateManagement:transferredTCFa=T38FaxRateManagement:transferredTCF

a=T38FaxUdpEC:t38UDPFECa=T38FaxUdpEC:t38UDPFEC

m=audio 0RTP/AVP 0m=audio 0RTP/AVP 0

a=faxa=fax

步骤6:软交换1收到软交换2发送的SDP后,将媒体网关2的传真能力告知媒体网关1;Step 6: Softswitch 1 informs Media Gateway 1 of the fax capability of Media Gateway 2 after receiving the SDP sent by Softswitch 2;

步骤7:主、被叫方进行传真通信。Step 7: The calling party and the called party perform facsimile communication.

参照图7所示,传真结束恢复到原有呼叫状态的具体步骤如下:Referring to Figure 7, the specific steps for returning to the original calling state after faxing are as follows:

步骤1:主叫用户呼叫被叫用户,两者之间建立语音通道。Step 1: The calling user calls the called user, and a voice channel is established between the two.

在此,主、被叫用户都可以发起传真,本例假定软交换1下的用户发起传真请求。Here, both the calling user and the called user can initiate a fax. In this example, it is assumed that a user under softswitch 1 initiates a fax request.

步骤2:经过传真协商后,软交换1下的用户与软交换2下的用户建立传真。Step 2: After fax negotiation, the user under softswitch 1 establishes a fax with the user under softswitch 2.

步骤3:媒体网关1检测到传真结束事件,告知软交换1。Step 3: Media gateway 1 detects the fax end event and notifies softswitch 1.

步骤4:软交换1要求媒体网关1切换到语音通话状态。Step 4: Softswitch 1 requires Media Gateway 1 to switch to the voice call state.

步骤5:软交换1通过SIP的re-INVITE消息向软交换2发起更改到语音通话状态的请求。Step 5: Softswitch 1 initiates a request to Softswitch 2 to change to the voice call state through a SIP re-INVITE message.

步骤6:软交换2收到re-INVITE后,指示媒体网关2切换到语音通话状态。Step 6: After receiving the re-INVITE, the soft switch 2 instructs the media gateway 2 to switch to the voice call state.

步骤7:软交换2将媒体网关2的SDP信息发送到软交换1。Step 7: Softswitch 2 sends the SDP information of media gateway 2 to Softswitch 1.

步骤8:软交换1将媒体网关2的SDP信息告知媒体网关1。Step 8: The softswitch 1 notifies the media gateway 1 of the SDP information of the media gateway 2.

由于软交换1记录了语音协商成功的本端和远端SDP描述,步骤4的语音切换就可以将呼叫切换成上次保存语音SDP。如果对端原先的语音通道端口没有改变,软交换1可以不通知媒体网关1修改远端媒体。Since softswitch 1 has recorded the local and remote SDP descriptions of successful voice negotiation, the voice switching in step 4 can switch the call to the voice SDP saved last time. If the original voice channel port of the opposite end has not changed, the soft switch 1 may not notify the media gateway 1 to modify the remote media.

步骤9:主、被叫用户恢复先前建立的语音通话。Step 9: The calling user and the called user resume the previously established voice call.

参照图8所示,传真结束后释放资源的具体步骤如下:Referring to Figure 8, the specific steps for releasing resources after the fax is over are as follows:

步骤1:主、被叫用户处于传真态或恢复到语音态。Step 1: The calling and called users are in the fax state or restored to the voice state.

步骤2:媒体网关1检测到挂机事件并向软交换1上报。Step 2: Media Gateway 1 detects the on-hook event and reports it to Softswitch 1.

步骤3:软交换1要求媒体网关1释放资源。Step 3: Softswitch 1 requires Media Gateway 1 to release resources.

步骤4:软交换1向软交换2发送BYE消息。Step 4: Softswitch 1 sends a BYE message to Softswitch 2.

步骤5:软交换2要求媒体网关2释放资源。Step 5: Softswitch 2 requests media gateway 2 to release resources.

参照图9所示,主、被叫同时检测到传真结束事件时的具体步骤如下:Referring to Figure 9, the specific steps when the calling party and the called party detect the fax end event at the same time are as follows:

步骤1:主叫用户呼叫被叫用户,两者之间建立语音通道。主、被叫用户都可以发起传真,本例假定软交换1下的用户发起传真请求。Step 1: The calling user calls the called user, and a voice channel is established between the two. Both the calling user and the called user can initiate a fax. In this example, it is assumed that a user under softswitch 1 initiates a fax request.

步骤2:经过传真协商后,软交换1下的用户与软交换2下的用户建立传真。Step 2: After fax negotiation, the user under softswitch 1 establishes a fax with the user under softswitch 2.

步骤3:媒体网关1检测到传真结束事件,告知软交换1。Step 3: Media gateway 1 detects the fax end event and notifies softswitch 1.

步骤4:软交换1要求媒体网关1切换到语音通话状态。Step 4: Softswitch 1 requires Media Gateway 1 to switch to the voice call state.

步骤5:媒体网关2也检测到传真结束事件,告知软交换2。Step 5: Media gateway 2 also detects the fax end event and notifies softswitch 2.

步骤6:软交换2要求媒体网关2切换到语音通话状态。Step 6: The soft switch 2 requires the media gateway 2 to switch to the voice communication state.

步骤7:软交换1通过SIP的re-INVITE消息向软交换2发起更改到语音通话状态的请求。Step 7: Softswitch 1 initiates a request to Softswitch 2 to change to the voice call state through a SIP re-INVITE message.

步骤8:软交换2通过SIP的re-INVITE消息向软交换1发起更改到语音通话状态的请求。Step 8: Softswitch 2 sends a request to Softswitch 1 to change to the voice call state through the SIP re-INVITE message.

步骤9:软交换1向软交换2发送491消息。Step 9: Softswitch 1 sends a 491 message to Softswitch 2.

步骤10:软交换2向软交换1发送491消息。Step 10: Softswitch 2 sends a 491 message to Softswitch 1.

步骤11:收到491消息后,软交换1启动重发re_INVITE定时器。Step 11: After receiving the 491 message, the softswitch 1 starts a resend re_INVITE timer.

此时,主叫侧的定时器时长为2.1~4秒(以10ms为单位)。At this time, the duration of the timer on the calling side is 2.1 to 4 seconds (in units of 10 ms).

步骤12:收到491消息后,软交换2同时启动重发re_INVITE定时器。Step 12: After receiving the 491 message, the softswitch 2 starts the resend re_INVITE timer at the same time.

被叫侧的定时器时长为0~2秒(以10ms为单位)。The duration of the timer on the called side is 0 to 2 seconds (in units of 10ms).

步骤13:软交换2的定时器首先终了,将重新向软交换1发送re_INVITE消息。Step 13: The timer of softswitch 2 expires first, and the re_INVITE message will be sent to softswitch 1 again.

步骤14:软交换1根据re_INVITE消息中的内容完成媒体切换,主被叫方切换到语音状态。Step 14: Softswitch 1 completes media switching according to the content in the re_INVITE message, and the calling and called parties switch to the voice state.

主、被叫同时检测到Modem结束事件的流程和F ax的流程同样处理。The flow process of the calling party and the called party detecting the Modem end event at the same time is processed in the same way as the flow process of Fax.

Claims (8)

1.一种语音、Modem和Fax全控制方法,步骤如下:1. A voice, Modem and Fax full control method, the steps are as follows: (1)主叫用户呼叫被叫用户,建立语音承载通道;(1) The calling user calls the called user to establish a voice bearer channel; (2)第一媒体网关将检测到的传真事件或者Modem事件告知第一软交换;(2) The first media gateway notifies the first softswitch of the detected fax event or Modem event; (3)第一软交换指示第一媒体网关切换到传真状态或者Modem状态;(3) the first softswitch instructs the first media gateway to switch to the fax state or the Modem state; (4)第一软交换通过信令消息向第二软交换发起传真媒体流的协商和建立请求;(4) The first softswitch initiates a negotiation and establishment request of the facsimile media flow to the second softswitch through a signaling message; (5)第二软交换收到信令消息后,指示第二媒体网关切换到传真状态或者Modem状态;(5) After the second softswitch receives the signaling message, it instructs the second media gateway to switch to the fax state or the Modem state; (6)当第二媒体网关切换到传真状态或者Modem态时,第二软交换通过信令消息与发起方完成传真能力或者Modem能力的协商和匹配;所述信令消息带有被叫侧设备的媒体能力;(6) When the second media gateway switches to the fax state or the Modem state, the second softswitch completes the negotiation and matching of the fax capability or the Modem capability with the initiator through a signaling message; the signaling message carries the called side device media capabilities; (7)主叫设备和被叫设备建立传真通道或者Modem通道。(7) The calling device and the called device establish a fax channel or a Modem channel. 2.根据权利要求1所述的语音、Modem和Fax全控制方法,其特征在于,所述第一媒体网关和第二媒体网关为网关接入设备,用于接入终端设备,并接受软交换设备的控制。2. The full control method of voice, Modem and Fax according to claim 1, characterized in that, the first media gateway and the second media gateway are gateway access equipment, used to access terminal equipment, and accept softswitch Device control. 3.根据权利要求1所述的语音、Modem和Fax全控制方法,其特征在于,所述第一软交换和第二软交换为NGN网络的核心控制设备,部署在IP网络,通过IP协议实现通讯。3. voice according to claim 1, Modem and Fax full control method, it is characterized in that, described first soft switch and the second soft switch are the core control equipment of NGN network, are deployed in IP network, realize by IP protocol communication. 4.根据权利要求1所述的语音、Modem和Fax全控制方法,其特征在于,步骤(7)进一步包括,当Modem呼叫建立失败时,退回原有呼叫状态。4. voice according to claim 1, Modem and Fax full control method, it is characterized in that, step (7) further comprises, when Modem calls and establishes failure, returns original calling state. 5.根据权利要求4所述的语音、Modem和Fax全控制方法,其特征在于,步骤(7)中所述退回原有呼叫状态的步骤包括:5. voice according to claim 4, Modem and Fax full control method, it is characterized in that, the step of returning original calling state described in the step (7) comprises: A、当第一媒体网关检测到传真结束事件,告知第一软交换;A. When the first media gateway detects the fax end event, it notifies the first softswitch; B、第一软交换要求第一媒体网关切换到语音通话状态;B. The first softswitch requires the first media gateway to switch to the voice call state; C、第一软交换通过SIP的re-INVITE消息向第二软交换发起更改到语音通话状态的请求;C. The first softswitch initiates a request to change to the voice call state through the re-INVITE message of SIP to the second softswitch; D、第二软交换收到re-INVITE后,指示第二媒体网关切换到语音通话状态;D. After receiving the re-INVITE, the second softswitch instructs the second media gateway to switch to the voice call state; E、第二软交换将第二媒体网关的SDP信息发送到第一软交换;E. The second softswitch sends the SDP information of the second media gateway to the first softswitch; F、第一软交换将第二媒体网关的SDP信息告知第一媒体网关;F. The first softswitch notifies the first media gateway of the SDP information of the second media gateway; G、主叫用户和被叫用户恢复已建立的语音通话。G. The calling user and the called user resume the established voice call. 6.根据权利要求1所述的语音、Modem和Fax全控制方法,其特征在于,当呼叫结束时,主叫设备和被叫设备释放资源。6. The voice, Modem and Fax full control method according to claim 1, characterized in that, when the call ends, the calling device and the called device release resources. 7.根据权利要求6所述的语音、Modem和Fax全控制方法,其特征在于,释放资源的步骤包括:7. voice according to claim 6, Modem and Fax full control method, it is characterized in that, the step of releasing resource comprises: i、第一媒体网关检测到挂机事件并向第一软交换上报;i. The first media gateway detects an on-hook event and reports it to the first softswitch; ii、第一软交换要求第一媒体网关释放资源;ii. The first softswitch requires the first media gateway to release resources; iii、第一软交换向第二软交换发送BYE消息;iii. The first softswitch sends a BYE message to the second softswitch; iv、第二软交换要求第二媒体网关释放资源。iv. The second softswitch requires the second media gateway to release resources. 8.根据权利要求1所述的语音、Modem和Fax全控制方法,其特征在于,当主叫设备和被叫设备同时发起Modem呼叫时,所述第一软交换和第二软交换具有同抢协商机制。8. voice according to claim 1, Modem and Fax full control method, it is characterized in that, when calling equipment and called equipment initiate Modem call simultaneously, described first softswitch and second softswitch have the same consultation mechanism.
CN 200710002492 2007-01-29 2007-01-29 Voice, Modem and Fax full control method Expired - Fee Related CN101018216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710002492 CN101018216B (en) 2007-01-29 2007-01-29 Voice, Modem and Fax full control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710002492 CN101018216B (en) 2007-01-29 2007-01-29 Voice, Modem and Fax full control method

Publications (2)

Publication Number Publication Date
CN101018216A CN101018216A (en) 2007-08-15
CN101018216B true CN101018216B (en) 2013-02-27

Family

ID=38726975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710002492 Expired - Fee Related CN101018216B (en) 2007-01-29 2007-01-29 Voice, Modem and Fax full control method

Country Status (1)

Country Link
CN (1) CN101018216B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459742B (en) * 2008-05-21 2011-07-13 中兴通讯股份有限公司 Method for establishing MODEM call in NGN system
CN101741993B (en) * 2008-11-11 2013-01-02 华为终端有限公司 Method, equipment and system for carrying data service of point of sale (POS)terminal by IP network
CN101883112B (en) * 2010-06-25 2014-07-16 中兴通讯股份有限公司 System and method for implementing full control of T30 fax soft switch in next-generation network
JP5871495B2 (en) * 2011-06-24 2016-03-01 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
CN104901922A (en) * 2014-03-04 2015-09-09 中兴通讯股份有限公司 Data service processing method and device based on session initiation protocol (SIP)
CN107547483B (en) * 2016-06-28 2020-10-09 华为技术有限公司 Method for accurate fax negotiation and access gateway
CN106210432B (en) * 2016-07-21 2018-11-13 上海携程商务有限公司 Software fax receiving system and method
CN108234498B (en) * 2018-01-04 2020-09-22 广州市申迪计算机系统有限公司 Communication call tracing method and system
CN110430165B (en) * 2019-07-02 2021-11-23 南瑞集团有限公司 Power dispatching soft exchange multi-state autonomous negotiation protocol consistency test method

Also Published As

Publication number Publication date
CN101018216A (en) 2007-08-15

Similar Documents

Publication Publication Date Title
CN101018216B (en) Voice, Modem and Fax full control method
US7746845B2 (en) Support for fax and modem in SIP/SIP-T networks and the interworking of these networks with ISUP+/BICC
US7907708B2 (en) Voice and fax over IP call establishment in a communications network
KR101114072B1 (en) Method for transmitting information in wireless communication system and terminal supporting the method
JP5450444B2 (en) Method and apparatus for handling multimedia calls
WO2007031028A1 (en) A method for negotiating about the media stream packet time length
CN104348989B (en) The method and application server of set top box and call terminal handoff calls
KR100880992B1 (en) Interworking system and method between IMS network and H.323 network
US20080186952A1 (en) Method and system for setting up a multimedia session in multimedia internetworking systems
JP4786993B2 (en) Method for establishing an IP videoconference using a telephone network for voice transmission
US20070058537A1 (en) Handling of early media ii
CN102291415B (en) Media stream processing method and system and home gateway
CN101005402B (en) Information report method of SIP user agent service switching
WO2008003233A1 (en) Method and device for achieving inter-connection of multimedia calling between cs domain and ims domain
WO2007101383A1 (en) Method and apparatus to implement media gateway internal connection
WO2007098653A1 (en) A media stream bridging device and a media service system
CN101472019B (en) Method, system and device for mutually communicating outband DTMF signaling
CN100502368C (en) Method for building call between multimedia apparatus
CN101668092B (en) Method for realizing supplementary service dialing tone by network multimedia terminal and device
CN101336002B (en) Method and system for dual-tone multi-frequency signal parameter negotiation between media gateways
WO2014000429A1 (en) Method and device for realizing terminal mobile service in internet protocol (ip) multimedia subsystem architecture
CN104811579B (en) A kind of facsimile service processing system, method and apparatus
CN100527740C (en) Method for switching services
WO2017000481A1 (en) Dialing method and apparatus for voice call
WO2008049371A1 (en) A method and system for transferring service event

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201218

Address after: 518000 Baoan District Xin'an street, Shenzhen, Guangdong, No. 625, No. 625, Nuo platinum Plaza,

Patentee after: SHENZHEN SHANGGE INTELLECTUAL PROPERTY SERVICE Co.,Ltd.

Address before: 518057 Department of law, Zhongxing building, South hi tech Industrial Park, Nanshan District hi tech Industrial Park, Guangdong, Shenzhen

Patentee before: ZTE Corp.

Effective date of registration: 20201218

Address after: 251800 Xiaosang street, Diandian Town, Yangxin County, Binzhou City, Shandong Province

Patentee after: Yangxin Runtian Cotton Industry Co.,Ltd.

Address before: 518000 Baoan District Xin'an street, Shenzhen, Guangdong, No. 625, No. 625, Nuo platinum Plaza,

Patentee before: SHENZHEN SHANGGE INTELLECTUAL PROPERTY SERVICE Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130227

Termination date: 20210129

CF01 Termination of patent right due to non-payment of annual fee