[go: up one dir, main page]

CN101742370B - Method for call processing in communication system, network node and application server - Google Patents

Method for call processing in communication system, network node and application server Download PDF

Info

Publication number
CN101742370B
CN101742370B CN 200810226166 CN200810226166A CN101742370B CN 101742370 B CN101742370 B CN 101742370B CN 200810226166 CN200810226166 CN 200810226166 CN 200810226166 A CN200810226166 A CN 200810226166A CN 101742370 B CN101742370 B CN 101742370B
Authority
CN
China
Prior art keywords
isdn
pstn
sip
channel resource
message
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.)
Active
Application number
CN 200810226166
Other languages
Chinese (zh)
Other versions
CN101742370A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200810226166 priority Critical patent/CN101742370B/en
Publication of CN101742370A publication Critical patent/CN101742370A/en
Application granted granted Critical
Publication of CN101742370B publication Critical patent/CN101742370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method for processing call in a communication system, a network node and an application server. The communication system comprises the network node; and the network node terminates ISDN/PSTN signaling on a user side, and realizes mapping between the ISDN/PSTN signaling and an SIP. The call processing method comprises that: the network node receives call establishing request message, and distributes a B channel resource to an ISDN/PSTN user according to the call establishing request message; and the network node determines a busy/idle state of the ISDN/PSTN according to the locally managed B channel resource, and performs corresponding call processing according to the busy/idle state of the ISDN/PSTN and the condition whether the call number of the ISDN/PSTN user reaches an allowed maximum call number. The call processing method can realize that a network entity under an IMS architecture can realize service call processing according to the occupation condition of the B channel resource.

Description

通信系统中呼叫处理的方法、网络节点和应用服务器Method for call processing in communication system, network node and application server

技术领域 technical field

本发明涉及通信技术领域,尤其涉及一种通信系统中呼叫处理的方法、网络节点、应用服务器和通信系统。The invention relates to the technical field of communication, in particular to a method for call processing in a communication system, a network node, an application server and a communication system.

背景技术 Background technique

随着通信技术的发展,综合业务数字网络(Integrated Services DigitalNetwork,ISDN)业务得到了广泛的应用。为了实现了数据和控制流的分离,ISDN的通道分为B、D两种类型,其中:B通道为用户通道,用来传送数据、话音、图像等用户信息,速率是64kbit/s;D通道为控制通道,用来传送公共通道信令,控制同一接口的B通道上的呼叫,速率是64kbit/s或16kbit/s。一号数字用户信令(Digital Subscriber System No.1,DSS1)是ISDN网络中用户网络接口D通道上的协议,主要涵盖了数据链路层和用于控制基本呼叫的网络层,分别对应于ITU-T建议的Q.921和Q.931协议,DSS1信令是通过D通道来传送的,遵守D信道上的链路接入规程(Link Access Procedure onthe D Channel,LAPD)。With the development of communication technology, Integrated Services Digital Network (ISDN) services have been widely used. In order to realize the separation of data and control flow, ISDN channels are divided into two types, B and D, among which: B channel is a user channel, which is used to transmit user information such as data, voice, image, etc., and the rate is 64kbit/s; D channel It is a control channel, used to transmit public channel signaling and control calls on the B channel of the same interface, and the rate is 64kbit/s or 16kbit/s. Digital Subscriber System No.1 (DSS1) is a protocol on the D channel of the user network interface in the ISDN network, mainly covering the data link layer and the network layer used to control basic calls, corresponding to the ITU In the Q.921 and Q.931 protocols suggested by -T, DSS1 signaling is transmitted through the D channel and complies with the Link Access Procedure on the D Channel (LAPD).

互联网协议多媒体子系统(Internet Protocol Multimedia Subsystem,IMS)是下一代网络中提供基于IP的多媒体会话控制的子系统,包括所有提供音频、视频、文字、即时消息等多媒体业务控制的核心网网元,采用会话初始协议(Session Initiation Protocol,SIP)作为IMS控制层协议来承载呼叫控制信令,提供统一的多媒体业务和应用。Internet Protocol Multimedia Subsystem (IMS) is a subsystem that provides IP-based multimedia session control in the next generation network, including all core network elements that provide audio, video, text, instant messaging and other multimedia service control. The Session Initiation Protocol (SIP) is used as the IMS control layer protocol to carry call control signaling and provide unified multimedia services and applications.

传统的电话交换网络(Public Switched Telephone Network,PSTN)/ISDN终端用户的业务需求仍然会大量存在,需要在IMS架构下为传统电话终端的用户提供现有PSTN/ISDN网络完全相同的业务和完全一致的业务体验,提高服务质量(QoS),必须增强资源管理的有效性同时降低管理的复杂性。但是,如图1所示为现有典型的IMS网络架构的示意图,IMS和PSTN/ISDN仿真子系统是其中的两个关键子系统,IMS采用与第三代合作伙伴项目(3GPP)统一的核心控制架构,PSTN/ISDN仿真子系统则用于对传统业务的继承,其中,传统终端(PSTN/ISDN终端)的信令(图1中点划线)和IMS终端(图1中虚线)的信令是完全独立的。Traditional telephone switching network (Public Switched Telephone Network, PSTN) / ISDN terminal users will still have a large number of business needs, and it is necessary to provide users of traditional telephone terminals with exactly the same services of the existing PSTN / ISDN network under the IMS architecture. To improve the service experience and improve the quality of service (QoS), the effectiveness of resource management must be enhanced while reducing the complexity of management. However, as shown in Figure 1 is a schematic diagram of the existing typical IMS network architecture, IMS and PSTN/ISDN simulation subsystems are two key subsystems, IMS adopts the core unified with the third generation partnership project (3GPP) control architecture, and the PSTN/ISDN simulation subsystem is used to inherit traditional services, in which, the signaling (dotted line in Figure 1) of the traditional terminal (PSTN/ISDN terminal) and the signaling of the IMS terminal (dashed line in Figure 1) commands are completely independent.

发明内容 Contents of the invention

本发明实施例提供一种通信系统中呼叫处理的方法、网络节点、应用服务器和通信系统,以实现IMS架构下的网络实体可以根据B通道的资源占用情况进行业务呼叫处理。Embodiments of the present invention provide a method for call processing in a communication system, a network node, an application server, and a communication system, so as to realize that network entities under the IMS architecture can process service calls according to the resource occupation of the B channel.

本发明实施例提供了一种通信系统中呼叫处理的方法,所述通信系统包括网络节点,所述通信系统包括网络节点,该网络节点终结用户侧的ISDN/PSTN信令,并实现ISDN/PSTN信令和会话初始化协议SIP之间的映射,所述方法包括:An embodiment of the present invention provides a method for call processing in a communication system, the communication system includes a network node, the communication system includes a network node, and the network node terminates ISDN/PSTN signaling on the user side and implements ISDN/PSTN A mapping between signaling and a session initiation protocol SIP, the method comprising:

所述网络节点接收呼叫建立请求消息,根据所述呼叫建立请求消息为ISDN/PSTN用户分配B通道资源;The network node receives a call establishment request message, and allocates B channel resources for ISDN/PSTN users according to the call establishment request message;

所述网络节点根据本地管理的B通道资源确定所述ISDN/PSTN用户的B通道资源的忙闲状态和所述ISDN/PSTN用户的呼叫数目是否达到允许的最大呼叫数目进行相应的呼叫业务处理。The network node determines the busy/idle status of the ISDN/PSTN user's B channel resource and whether the number of calls of the ISDN/PSTN user reaches the maximum allowed number of calls according to the locally managed B channel resources, and performs corresponding call service processing.

上述业务呼叫处理方法,由网络节点利用其上管理的B通道资源,感知基于ISDN/PSTN接口或者ISDN/PSTN号码的B通道占用情况,并据此确定是否触发遇忙业务,简化信令交互的流程。In the above service call processing method, the network node uses the B channel resources managed on it to perceive the occupation of the B channel based on the ISDN/PSTN interface or ISDN/PSTN number, and determines whether to trigger the busy service accordingly, simplifying the process of signaling interaction process.

本发明实施例提供了一种通信系统中呼叫处理的方法,所述通信系统包括网络节点,该网络节点终结用户侧的ISDN/PSTN信令,并实现ISDN/PSTN信令和SIP之间的映射,所述方法包括:An embodiment of the present invention provides a method for call processing in a communication system, the communication system includes a network node, the network node terminates ISDN/PSTN signaling on the user side, and implements mapping between ISDN/PSTN signaling and SIP , the method includes:

所述网络节点在为ISDN/SPTN用户进行呼叫接续过程中,为ISDN/PSTN用户分配B通道资源;The network node allocates B channel resources for ISDN/PSTN users during the call connection process for ISDN/SPTN users;

所述网络节点根据本地管理的B通道资源生成包含表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息;The network node generates a SIP message containing B channel resource occupancy information indicating the B channel resource occupancy status of the ISDN/PSTN user according to locally managed B channel resources;

所述网络节点将表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息发送给应用服务器,以便应用服务器根据所述SIP消息中的表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息进行相应的呼叫业务处理。The network node sends a SIP message indicating the B channel resource occupation information of the ISDN/PSTN user's B channel resource occupation to the application server, so that the application server indicates the ISDN/PSTN user according to the information in the SIP message. Corresponding call service processing is performed based on the B channel resource occupation status information of the B channel resource occupation status.

本发明实施例提供了一种网络节点,该网络节点包括:An embodiment of the present invention provides a network node, and the network node includes:

消息转发单元,用于将来自ISDN/PSTN用户的终端设备的ISDN/PSTN信令消息转换成会话初始化协议SIP消息发送给应用服务器,并将来自应用服务器的SIP消息转换成ISDN/PSTN信令消息发送给ISDN/PSTN用户的终端设备;The message forwarding unit is used to convert the ISDN/PSTN signaling message from the terminal equipment of the ISDN/PSTN user into a session initiation protocol SIP message and send it to the application server, and convert the SIP message from the application server into an ISDN/PSTN signaling message Send to the terminal equipment of ISDN/PSTN users;

B通道管理单元,用于管理B通道资源,当消息转发单元接收到呼叫建立请求消息时为ISDN/PSTN用户分配B通道资源;The B channel management unit is used to manage B channel resources, and allocates B channel resources for ISDN/PSTN users when the message forwarding unit receives a call establishment request message;

资源状态确定单元,用于根据B通道管理单元管理的B通道资源确定ISDN/PSTN用户的B通道资源忙闲状态和所述ISDN/PSTN用户的呼叫数目是否达到允许的最大呼叫数目,并确定需要触发的呼叫业务;The resource state determination unit is used to determine whether the B channel resource busy status of the ISDN/PSTN user and the number of calls of the ISDN/PSTN user reach the maximum number of calls allowed according to the B channel resources managed by the B channel management unit, and determine the need for Triggered call service;

呼叫处理单元,用于根据接收的资源状态确定单元确定的结果进行相应的呼叫业务处理,并控制消息转发单元的消息转发过程。The call processing unit is configured to perform corresponding call service processing according to the received result determined by the resource state determination unit, and control the message forwarding process of the message forwarding unit.

本发明实施例提供了一种网络节点,该网络节点包括:An embodiment of the present invention provides a network node, and the network node includes:

消息转发单元,用于将来自ISDN/PSTN用户的终端设备的ISDN/PSTN信令消息转换成会话初始化协议SIP消息发送给应用服务器,并将来自应用服务器的SIP消息转换成ISDN/PSTN信令消息发送给ISDN/PSTN用户的终端设备;The message forwarding unit is used to convert the ISDN/PSTN signaling message from the terminal equipment of the ISDN/PSTN user into a session initiation protocol SIP message and send it to the application server, and convert the SIP message from the application server into an ISDN/PSTN signaling message Send to the terminal equipment of ISDN/PSTN users;

B通道管理单元,用于在为ISDN/SPTN用户进行呼叫接续过程中,为ISDN/PSTN用户分配B通道资源;The B channel management unit is used to allocate B channel resources for ISDN/PSTN users during the call connection process for ISDN/SPTN users;

资源占用情况确定单元,用于根据本地管理的B通道资源生成包含表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息,通过消息转发单元发送给应用服务器。The resource occupancy determination unit is used to generate a SIP message containing B channel resource occupancy information indicating the B channel resource occupancy information of the ISDN/PSTN user according to the locally managed B channel resources, and send it to the application server through the message forwarding unit.

本发明实施例提供了一种应用服务器,该应用服务器包括:An embodiment of the present invention provides an application server, which includes:

会话初始化SIP接口单元,用于通过SIP消息与其它应用服务器和/或网络节点进行通信;The session initialization SIP interface unit is used to communicate with other application servers and/or network nodes through SIP messages;

B通道管理单元,用于从SIP接口单元接收到的SIP消息中获得SIP消息中携带的表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息,并存储和/或更新本地管理的B通道资源;The B-channel management unit is used to obtain the B-channel resource occupation information carried in the SIP message from the SIP message received by the SIP interface unit, indicating the B-channel resource occupation of ISDN/PSTN users, and store and/or update the local management B channel resources;

资源状态确定单元,用于根据B通道管理单元管理的B通道资源确定B通道资源忙闲状态和ISDN/PSTN用户的呼叫数目是否达到允许的最大呼叫数目,并确定需要触发的呼叫业务;A resource status determination unit, configured to determine whether the B channel resource busy status and the ISDN/PSTN user call number reach the maximum number of calls allowed according to the B channel resource managed by the B channel management unit, and determine the call service that needs to be triggered;

呼叫处理单元,用于根据资源状态确定单元输出的结果进行相应的呼叫业务处理。The call processing unit is configured to perform corresponding call service processing according to the result output by the resource state determination unit.

上述应用服务器,可以实现和其他应用服务器或网络节点之间的信令交互,较好地记录和/或更新了B通道资源占用情况信息,并可以根据上述B通道资源占用情况信息触发相关业务。The above application server can realize signaling interaction with other application servers or network nodes, better record and/or update the B channel resource occupation information, and can trigger related services according to the above B channel resource occupation information.

本发明实施例提供了一种通信系统,该通信系统包括网络节点和应用服务器,其中,An embodiment of the present invention provides a communication system, the communication system includes a network node and an application server, wherein,

所述网络节点,用于将来自ISDN/PSTN用户的终端设备的ISDN/PSTN信令消息转换成SIP消息发送给所述应用服务器,并将来自所述应用服务器的SIP消息转换成ISDN/PSTN信令消息发送给ISDN/PSTN用户的终端设备;在为ISDN/SPTN用户进行呼叫接续过程中,为ISDN/PSTN用户分配B通道资源;根据本地管理的B通道资源生成包含表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息;将表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息发送给应用服务器;The network node is configured to convert the ISDN/PSTN signaling message from the terminal equipment of the ISDN/PSTN user into a SIP message and send it to the application server, and convert the SIP message from the application server into an ISDN/PSTN signaling message. Order the message to be sent to the terminal equipment of the ISDN/PSTN user; in the call connection process for the ISDN/SPTN user, allocate B channel resources for the ISDN/PSTN user; The SIP message of the B channel resource occupation situation information of the B channel resource occupation situation; the SIP message of the B channel resource occupation situation information indicating the B channel resource occupation situation of the ISDN/PSTN user is sent to the application server;

应用服务器,用于通过接收的SIP消息与和网络节点进行通信,从SIP消息中获得SIP消息中携带的表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息,并存储和/或更新本地管理的B通道资源;根据本地管理的B通道资源进行相应的呼叫业务处理。The application server is configured to communicate with the network node through the received SIP message, obtain the B channel resource occupation information carried in the SIP message from the SIP message indicating the B channel resource occupation of ISDN/PSTN users, and store and/or Or update the locally managed B channel resources; perform corresponding call service processing according to the locally managed B channel resources.

上述通信系统,利用网络节点终结用户侧的信令消息,实现ISDN/PSTN用户的终端设备的信令消息和服务器的SIP消息之间的映射,并将生成的包含表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的会话初始化协议消息发送给应用服务器,由应用服务器在确定启动相应的业务处理时,根据所述B通道资源进行相应的呼叫业务处理。The above-mentioned communication system utilizes the network node to terminate the signaling message on the user side, realizes the mapping between the signaling message of the terminal equipment of the ISDN/PSTN user and the SIP message of the server, and generates a message containing the information representing the ISDN/PSTN user The session initialization protocol message of the B channel resource occupation information of the B channel resource occupation is sent to the application server, and the application server performs corresponding call service processing according to the B channel resources when determining to start the corresponding service processing.

附图说明 Description of drawings

图1为现有典型的IMS网络架构的示意图;FIG. 1 is a schematic diagram of an existing typical IMS network architecture;

图2A为本发明业务呼叫处理实施例一的流程图;FIG. 2A is a flow chart of Embodiment 1 of service call processing in the present invention;

图2B为本发明业务呼叫处理实施例二的流程图;FIG. 2B is a flow chart of the second embodiment of service call processing in the present invention;

图3为本发明业务呼叫处理实施例的信令流程图;Fig. 3 is a signaling flowchart of an embodiment of service call processing in the present invention;

图4为本发明应用应用服务器执行NDUB操作并触发呼叫等待业务实施例的信令流程图;Fig. 4 is the signaling flow diagram of the application server of the present invention executing the NDUB operation and triggering the embodiment of the call waiting service;

图5为本发明应用服务器实施例的结构示意图;FIG. 5 is a schematic structural diagram of an embodiment of an application server in the present invention;

图6为本发明网络节点实施例一的结构示意图;FIG. 6 is a schematic structural diagram of Embodiment 1 of a network node in the present invention;

图7为本发明网络节点实施例二的结构示意图;FIG. 7 is a schematic structural diagram of Embodiment 2 of a network node in the present invention;

图8为本发明通信系统实施例的结构示意图。FIG. 8 is a schematic structural diagram of an embodiment of a communication system according to the present invention.

具体实施方式 Detailed ways

下面结合附图和具体实施例进一步说明本发明实施例的技术方案。The technical solutions of the embodiments of the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

本发明实施例基于上述IMS架构实现ISDN业务场景中NDUB的相关操作,在IMS架构中,MSAN将充当VGW/接入网关(AGW)功能实体,终结用户侧的数字用户信令(DSS1),并实现数字用户信令和SIP信令之间的映射。另外,MSAN负责完成ISDN/PSTN用户通道资源的分配管理,如B通道的分配管理,具体分配管理可参考TISPAN 183 036中的定义,MSAN利用其上管理的B通道资源,感知到基于ISDN/PSTN接口或者ISDN/PSTN号码的B通道占用情况,以此为依据执行“资源是否被占满”的相关处理,并且可以据此确定是否触发遇忙业务,简化信令交互的流程。在本发明的另一个实施例中,由MSAN负责完成ISDN/PSTN用户通道资源的分配管理,如B通道的分配管理,具体分配管理可参考TISPAN183036中的定义,由MSAN根据其上管理的通道资源将表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息通过SIP消息发送给应用服务器,由应用服务器根据MSAN发送的SIP消息中的表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息确定该ISDN/PSTN用户的B通道资源忙闲状态和允许该ISDN/PSTN用户呼叫的最大数目,并且可以根据该ISDN/PSTN用户的B通道资源忙闲状态和允许该ISDN/PSTN用户呼叫的最大数目进行相应的呼叫处理。The embodiment of the present invention implements NDUB-related operations in the ISDN service scenario based on the above-mentioned IMS architecture. In the IMS architecture, the MSAN will act as a VGW/Access Gateway (AGW) functional entity, terminate the digital subscriber signaling (DSS1) on the user side, and Realize the mapping between digital user signaling and SIP signaling. In addition, MSAN is responsible for the allocation and management of ISDN/PSTN user channel resources, such as the allocation and management of B channels. The specific allocation management can refer to the definition in TISPAN 183 036. MSAN uses the B channel resources managed on it to perceive the ISDN/PSTN-based Interface or B channel occupancy of ISDN/PSTN number is used as a basis to perform related processing of "whether the resource is full", and can determine whether to trigger the busy service based on this, simplifying the process of signaling interaction. In another embodiment of the present invention, MSAN is responsible for completing the allocation and management of ISDN/PSTN user channel resources, such as the allocation and management of B channels. The specific allocation management can refer to the definition in TISPAN183036, and the channel resources managed by MSAN Send the B channel resource occupation information indicating the B channel resource occupation of ISDN/PSTN users to the application server through a SIP message, and the application server indicates the B channel resource occupation of ISDN/PSTN users according to the information in the SIP message sent by MSAN The B-channel resource occupancy information determines the busy/idle state of the B-channel resource of the ISDN/PSTN user and the maximum number of calls allowed by the ISDN/PSTN user, and can be based on the busy/idle state of the B-channel resource of the ISDN/PSTN user and the allowed /Maximum number of PSTN user calls for corresponding call processing.

为了描述简化,下文中统一用ISDN用户进行说明,ISDN用户可以扩展到PSTN用户。In order to simplify the description, ISDN users are used for description in the following, and ISDN users can be extended to PSTN users.

其中,根据该ISDN/PSTN用户的B通道资源忙闲状态和该ISDN/PSTN用户呼叫的数目是否达到允许的最大呼叫数目进行相应的呼叫业务处理,包括但不仅限于如下一种或多种的组合情况:Among them, according to the busy state of the B channel resources of the ISDN/PSTN user and whether the number of calls of the ISDN/PSTN user reaches the maximum number of calls allowed, corresponding call service processing is performed, including but not limited to one or more of the following combinations Condition:

1、B通道资源忙,且该ISDN号码/ISDN接口的呼叫数目已经达到最大值,则拒绝该呼叫建立请求,可以返回486响应。1. If channel B resources are busy, and the number of calls to the ISDN number/ISDN interface has reached the maximum value, the call establishment request is rejected and a 486 response can be returned.

2、B通道资源空闲,且该ISDN号码/ISDN接口的呼叫数目已经达到最大值,则拒绝该呼叫建立请求,可以返回486响应。2. If the B channel resources are idle, and the number of calls of the ISDN number/ISDN interface has reached the maximum value, the call establishment request is rejected and a 486 response can be returned.

3、B通道资源空闲,且该ISDN号码/ISDN接口的呼叫数目没有达到最大值,则允许该呼叫建立请求,但是不会触发呼叫等待业务,而是按照普通呼叫进行接续处理。3. If the B channel resource is idle, and the number of calls of the ISDN number/ISDN interface has not reached the maximum value, the call establishment request is allowed, but the call waiting service will not be triggered, and the connection process will be performed as a normal call.

4、B通道资源忙,且该ISDN号码/ISDN接口的呼叫数目没有达到最大值,则触发呼叫等待业务。4. If channel B resources are busy, and the number of calls of the ISDN number/ISDN interface does not reach the maximum value, the call waiting service will be triggered.

上面的ISDN号码/ISDN接口用来标识ISDN用户。The above ISDN number/ISDN interface is used to identify ISDN users.

如图2A所示,为本发明业务呼叫处理实施例一的流程图,图2A所示为网络节点根据其上管理的B通道资源实现ISDN/PSTN用户的B通道资源忙闲检测,根据忙闲检测结果触发相应的呼叫处理。As shown in Figure 2A, it is a flow chart of the first embodiment of service call processing in the present invention, and Figure 2A shows that the network node realizes the B channel resource busy/idle detection of ISDN/PSTN users according to the B channel resources managed on it, and according to the busy/idle The detection result triggers the corresponding call processing.

步骤101、网络节点接收呼叫建立请求消息,根据上述呼叫建立请求消息为I SDN/PSTN用户分配B通道资源;Step 101, the network node receives the call setup request message, and distributes the B channel resources for ISDN/PSTN users according to the above call setup request message;

对于主叫ISDN/PSTN用户,该呼叫建立请求为来自主叫ISDN/PSTN用户的承载于控制通道,如D通道的呼叫建立请求消息,用于建立与主叫ISDN/PSTN用户的呼叫;对于被叫ISDN/PSTN用户,该呼叫建立请求消息为来自应用服务器的SIP呼叫建立请求消息,用于建立与被叫ISDN/PSTN用户的呼叫;For the calling ISDN/PSTN user, the call establishment request is carried on the control channel from the calling ISDN/PSTN user, such as the call establishment request message of the D channel, which is used to establish a call with the calling ISDN/PSTN user; Call ISDN/PSTN user, this call establishment request message is the SIP call establishment request message from application server, is used for setting up the call with called ISDN/PSTN user;

步骤102、确定需要建立呼叫的ISDN/PSTN用户是否与定了遇忙业务,若是,执行步骤103,否则执行步骤104;Step 102, determine whether the ISDN/PSTN user who needs to set up a call has ordered a busy service, if so, perform step 103, otherwise perform step 104;

另外,根据接收到的呼叫建立请求消息,为需要建立呼叫的ISDN/PSTN用户分配B通道资源;In addition, allocate B channel resources for ISDN/PSTN users who need to establish calls according to the received call establishment request message;

步骤103、根据本地管理的ISDN/PSTN用户的B通道资源确定ISDN/PSTN用户的B通道资源忙闲状态和该ISDN/PSTN用户的呼叫数目是否达到允许的最大呼叫数目,并据此进行相应的呼叫业务处理;Step 103, according to the B channel resources of ISDN/PSTN users of local management, determine whether the B channel resources of ISDN/PSTN users are busy or idle and whether the number of calls of this ISDN/PSTN user reaches the maximum number of calls allowed, and accordingly carry out corresponding Call business processing;

具体呼叫处理参见上文所述,不再赘述。其中,根据ISDN/PSTN用户的B通道资源忙闲状态、该ISDN/PSTN用户的呼叫数目这两个参数和本地存储的ISDN/PSTN用户业务处理的判决条件匹配,参见上文上述。For specific call processing, refer to the above description, and details will not be repeated here. Among them, according to the ISDN/PSTN user's B channel resource busy state, the number of calls of the ISDN/PSTN user, these two parameters are matched with the locally stored ISDN/PSTN user service processing decision condition, see above.

步骤104、根据本地管理的ISDN/PSTN用户的B通道资源确定ISDN/PSTN用户的B通道资源忙闲状态,如果忙则拒绝该呼叫建立请求。Step 104: Determine the busy/idle state of the ISDN/PSTN user's B channel resource according to the locally managed ISDN/PSTN user's B channel resource, and reject the call establishment request if busy.

上述业务呼叫处理方法,由MSAN利用其上管理的B通道资源,感知基于ISDN/PSTN接口或者ISDN/PSTN号码的B通道占用情况,并据此确定是否触发遇忙业务,简化信令交互的流程。In the above service call processing method, the MSAN uses the B channel resources managed on it to sense the occupation of the B channel based on the ISDN/PSTN interface or ISDN/PSTN number, and determines whether to trigger the busy service accordingly, simplifying the signaling interaction process .

如图2B所示,为本发明业务呼叫处理实施例二的流程图,图2B所示为网络节点根据本地管理的B通道资源,将表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息通过SIP消息发送给应用服务器,以便应用服务器根据SIP消息中的B通道资源占用情况信息判断ISDN/PSTN用户的通道资源忙闲状态和呼叫上实现忙闲检测,根据忙闲检测结果触发相应的呼叫业务处理,如执行呼叫等待业务或遇忙呼叫完成业务等。As shown in Figure 2B, it is a flow chart of the second embodiment of service call processing in the present invention, and Figure 2B shows that the network node will represent the B channel resources of the B channel resources occupied by ISDN/PSTN users according to the B channel resources locally managed The occupancy information is sent to the application server through the SIP message, so that the application server can judge the busy/idle state of the channel resource of the ISDN/PSTN user according to the B channel resource occupancy information in the SIP message and realize the busy/idle detection on the call, and trigger according to the busy/idle detection result Corresponding call service processing, such as performing call waiting service or busy call completion service, etc.

步骤201、网络节点接收呼叫建立请求消息,根据呼叫建立请求消息为ISDN/PSTN用户分配B通道资源;Step 201, the network node receives the call setup request message, and allocates B channel resources for ISDN/PSTN users according to the call setup request message;

对于主叫ISDN/PSTN用户,该呼叫建立请求为来自主叫ISDN/PSTN用户的承载于控制通道,如D通道的呼叫建立请求消息,用于建立与主叫ISDN/PSTN用户的呼叫;For the calling ISDN/PSTN user, the call establishment request is carried on the control channel from the calling ISDN/PSTN user, such as the call establishment request message of the D channel, which is used to establish a call with the calling ISDN/PSTN user;

对于被叫ISDN/PSTN用户,该呼叫建立请求消息为来自应用服务器的SIP呼叫建立请求消息,用于建立与被叫ISDN/PSTN用户的呼叫;For the called ISDN/PSTN user, the call setup request message is a SIP call setup request message from the application server, which is used to set up a call with the called ISDN/PSTN user;

网络节点可以根据呼叫建立请求消息查询本地管理的B通道资源,为I SDN/PSTN用户分配B通道资源;The network node can query the locally managed B channel resources according to the call establishment request message, and allocate B channel resources for ISDN/PSTN users;

步骤202、网络节点根据本地管理的B通道资源向AS发送包含表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息;Step 202, the network node sends a SIP message containing B channel resource occupation information indicating the B channel resource occupation status of the ISDN/PSTN user to the AS according to the locally managed B channel resources;

其中,网络节点在为主叫ISDN/PSTN用户和/或被叫ISDN/PSTN用户建立呼叫的过程中可以从AS发送的SIP消息中获得表示AS支持通道资源协商的能力信息,并据此启动步骤202的操作;Wherein, in the process of establishing a call for the calling ISDN/PSTN user and/or the called ISDN/PSTN user, the network node can obtain the capability information indicating that the AS supports channel resource negotiation from the SIP message sent by the AS, and start the procedure accordingly 202 operation;

特别地,网络节点在为被叫ISDN/PSTN用户建立呼叫时,该表示AS支持通道资源协商的能力信息可以通过AS发送给网络节点的SIP呼叫建立请求消息携带以节省流程、减少消息交互;In particular, when the network node establishes a call for the called ISDN/PSTN user, the capability information indicating that the AS supports channel resource negotiation can be carried in the SIP call establishment request message sent by the AS to the network node to save procedures and reduce message interaction;

步骤203、AS根据网路节点发送的SIP消息中的B通道资源占用情况信息存储和/或更新本地管理的B通道资源,并根据AS本地管理的B通道资源确定ISDN/PSTN用户的忙闲状态和该ISDN/PSTN用户的呼叫数目是否达到允许的最大呼叫数目,并据此进行相应的呼叫处理。Step 203, the AS stores and/or updates the locally managed B channel resources according to the B channel resource occupancy information in the SIP message sent by the network node, and determines the ISDN/PSTN user's busy/idle status according to the B channel resources locally managed by the AS Check whether the number of calls with the ISDN/PSTN user reaches the maximum number of calls allowed, and perform corresponding call processing accordingly.

例如执行呼叫等待业务或遇忙呼叫完成业务等。For example, perform call waiting service or busy call completion service, etc.

上述方法流程中,在AS上可以判断ISDN/PSTN用户是否注册了预定的遇忙业务,根据判断结果确定是否向网络节点发送表示AS支持通道资源协商的能力信息,以通知网络节点向AS反馈ISDN/PSTN用户的B通道资源占用情况信息。In the process of the above method, it can be judged on the AS whether the ISDN/PSTN user has registered a predetermined busy service, and according to the judgment result, it is determined whether to send capability information indicating that the AS supports channel resource negotiation to the network node, so as to notify the network node to feed back the ISDN service to the AS. /PSTN user's B channel resource occupancy information.

上述业务呼叫处理方法实施例,由网络节点根据其上管理的通道资源将表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息通过SIP消息发送给应用服务器,由应用服务器根据上述SIP消息中的表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息确定该ISDN/PSTN用户的B通道资源忙闲状态和允许该ISDN/PSTN用户呼叫的最大数目,并且可以根据该ISDN/PSTN用户的B通道资源忙闲状态和允许该ISDN/PSTN用户呼叫的最大数目进行相应的呼叫处理。In the embodiment of the above service call processing method, the network node sends the B channel resource occupation information indicating the B channel resource occupation of ISDN/PSTN users to the application server through a SIP message according to the channel resources managed on it, and the application server according to the above In the SIP message, the B channel resource occupation information indicating the B channel resource occupation of ISDN/PSTN users determines the busy status of the B channel resources of the ISDN/PSTN users and the maximum number of calls allowed by the ISDN/PSTN users, and can be based on The B channel resource busy/idle state of the ISDN/PSTN user and the maximum number of calls allowed by the ISDN/PSTN user are correspondingly processed.

如图3所示,为本发明业务呼叫处理实施例的信令流程图,该呼叫处理以应用服务器AS实现根据B通道资源占用情况和ISDN用户的呼叫数目执行相应的呼叫处理为例。如图3所示的业务呼叫处理的信令流程图,从该信令流程图中可以清楚地看出主叫方ISDN用户(caller)、主叫方MSAN(O-MSAN)、主叫方AS(O-AS)、被叫方AS(T-AS)、被叫方MSAN(T-MSAN)和被叫方ISDN用户(callee)之间的处理流程,图3中的启动一个新的呼叫的呼叫建立消息包括:DSS1提醒消息(DSS1 ALERTING消息)、DSS1连接消息(DSS1 CONNECT消息),DSS1连接证实消息(DSS1CONNECT ACK),DSS1进展消息(DSS1PROGRESS消息),DSS1建立消息(DSS1SETUP消息),DSS1建立证实消息(DSS1 SETUP ACK消息);结束一个呼叫的消息包括:DSS1释放消息(DSS1 RELEASE消息)、DSS1释放完成消息(DSS1 REL COM消息)。呼叫流程包括:As shown in FIG. 3 , it is a signaling flow chart of the service call processing embodiment of the present invention. The call processing takes the application server AS to implement corresponding call processing according to the B channel resource occupation and the number of calls of ISDN users as an example. The signaling flow chart of service call processing as shown in Figure 3, can clearly see that calling party ISDN user (caller), calling party MSAN (O-MSAN), calling party AS from this signaling flowchart (O-AS), called party AS (T-AS), called party MSAN (T-MSAN) and called party ISDN user (callee), the process of starting a new call in Figure 3 Call setup messages include: DSS1 reminder message (DSS1 ALERTING message), DSS1 connection message (DSS1 CONNECT message), DSS1 connection confirmation message (DSS1 CONNECT ACK), DSS1 progress message (DSS1 PROGRESS message), DSS1 setup message (DSS1SETUP message), DSS1 setup message Confirmation message (DSS1 SETUP ACK message); the message to end a call includes: DSS1 release message (DSS1 RELEASE message), DSS1 release completion message (DSS1 REL COM message). The call flow includes:

主叫方ISDN用户通过D通道向主叫方MSAN发送呼叫建立请求消息(DSS1 SETUP消息);The calling party ISDN user sends a call setup request message (DSS1 SETUP message) to the calling party MSAN through the D channel;

步骤301~302、主叫方MSAN接收到承载于D通道的呼叫建立请求消息,主叫方MSAN通过主叫方AS向被叫方AS发送SIP请求消息,该过程可以采用SIP标准定义的INVITE消息,不再赘述;In steps 301-302, the calling party MSAN receives the call setup request message carried on the D channel, and the calling party MSAN sends a SIP request message to the called party AS through the calling party AS. This process can use the INVITE message defined by the SIP standard ,No longer;

步骤303、在呼叫接续过程中,被叫方AS如果判断被叫方ISDN用户已经登记了CW业务,并且参数设置为“AS执行NDUB”,那么在发送给被叫方MSAN的SIP请求(SIP INVITE)消息中需要携带表示AS支持通道资源协商的信息Supported:ChanStatus,以便通知被叫方MSAN上报通道资源占用情况,符合上述要求的SIP INVITE消息示例如下:Step 303, in the call connection process, if the called party AS judges that the called party ISDN user has registered the CW service, and the parameter is set to "AS executes NDUB", then in the SIP request (SIP INVITE) sent to the called party MSAN ) message needs to carry the information Supported: ChanStatus indicating that the AS supports channel resource negotiation, so as to notify the called party MSAN to report channel resource occupancy. An example of a SIP INVITE message that meets the above requirements is as follows:

INVITE sip:+8675511111huawei.com;user=phone SIP/2.0INVITE sip:+8675511111huawei.com; user=phone SIP/2.0

Call-ID:c006b979a8938e0683bcc9096ba308bcCall-ID: c006b979a8938e0683bcc9096ba308bc

From:<sip:+8675512345huawei.com;user=phone>;tag=7f1f90f1From:<sip:+8675512345huawei.com; user=phone>; tag=7f1f90f1

To:<sip:+8675511111huawei.com;user=phone>To:<sip:+8675511111huawei.com; user=phone>

Supported:ChanStatus     //表示AS支持通道资源协商Supported:ChanStatus //Indicates that the AS supports channel resource negotiation

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

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

步骤304~306、被叫方MSAN依次通过被叫方AS、主叫方AS向主叫方MSAN发送SIP应答消息,该过程可以采用SIP标准定义的183消息,不再赘述;Steps 304 to 306, the called party MSAN sends a SIP response message to the calling party MSAN through the called party AS and the calling party AS in turn. This process can use the 183 message defined by the SIP standard, and will not be described again;

另外,MSAN还向ISDN用户发送DSS1提醒消息;In addition, MSAN also sends DSS1 reminder messages to ISDN users;

步骤307、在呼叫接续过程中,被叫方MSAN根据SIP INVITE消息中表示AS支持通道资源协商的信息Supported:ChanStatus确定AS支持通道资源协商,则根据本地管理的B通道资源生成包含B通道资源占用情况信息的SIP消息,并将生成的包含B通道资源占用情况信息的SIP消息返回给被叫方AS,以便被叫方AS据此来记录和/或刷新该ISDN接口或者ISDN号码的B通道资源占用情况。其中,包含B通道资源占用情况信息的SIP消息为SIP200响应消息,B通道资源占用情况信息以扩展的xml编码表示,符合上述要求的SIP200响应消息示例如下:Step 307, during the call connection process, the called party MSAN determines that the AS supports channel resource negotiation according to the information Supported:ChanStatus indicating that the AS supports channel resource negotiation in the SIP INVITE message, and then generates B channel resource occupation according to the locally managed B channel resources The SIP message of the situation information, and return the generated SIP message containing the B channel resource occupation information to the called party AS, so that the called party AS can record and/or refresh the B channel resource of the ISDN interface or ISDN number accordingly occupancy. Among them, the SIP message containing the resource occupancy information of the B channel is a SIP200 response message, and the resource occupancy information of the B channel is represented by an extended xml code. An example of a SIP200 response message that meets the above requirements is as follows:

SIP/2.0200OKSIP/2.0200OK

Call-ID:c006b979a8938e0683bcc9096ba308bcCall-ID: c006b979a8938e0683bcc9096ba308bc

From:<sip:+86755612345huawei.com;user=phone>;tag=7f1f90f1From:<sip:+86755612345huawei.com; user=phone>; tag=7f1f90f1

To:<sip:+8675511111huawei.com;user=phone>;tag=314159To:<sip:+8675511111huawei.com; user=phone>; tag=314159

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

  Content-Type:multipart/mixed;boundary=Boundary42Content-Type: multipart/mixed; boundary=Boundary42

--Boundary42--Boundary42

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

  Content-Type:application/ChannelStatus+xml//表示B通道资源占用情况Content-Type: application/ChannelStatus+xml//Indicates the resource occupation of channel B

<?xml version="1.0"encoding="UTF-8"?><?xml version="1.0" encoding="UTF-8"?>

<ChannelStatus state=“ChannelFullBusy”><ChannelStatus state="ChannelFullBusy">

  <uri>sip:+8675511111huawei.com</uri><uri>sip:+8675511111huawei.com</uri>

</Channel Status></Channel Status>

--Boundary42--Boundary42

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

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

步骤308、被叫方AS向主叫方AS发送SIP响应消息,可以采用SIP标准定义的SIP200消息;Step 308, the called party AS sends a SIP response message to the calling party AS, which may adopt the SIP200 message defined by the SIP standard;

步骤309、在呼叫接续过程中,主叫方AS如果判断主叫方ISDN用户已经登记了CW业务,本发明一个实施例是由主叫方AS执行NDUB,那么在发送给主叫MSAN的SIP200消息中需要携带表示AS支持通道资源协商的信息Supported:ChanStatus,以便主叫MSAN根据SIP200消息中的表示AS支持通道资源协商的信息Supported:ChanStatus确定AS支持通道资源协商,符合上述要求的SIP200消息示例如下:Step 309, during the call connection process, if the calling party AS judges that the calling party ISDN user has registered the CW service, one embodiment of the present invention is that the calling party AS executes NDUB, then the SIP200 message sent to the calling MSAN The information Supported:ChanStatus indicating that the AS supports channel resource negotiation needs to be carried in the message, so that the calling MSAN can determine that the AS supports channel resource negotiation based on the information Supported:ChanStatus in the SIP200 message indicating that the AS supports channel resource negotiation. An example of a SIP200 message that meets the above requirements is as follows :

SIP/2.0200OKSIP/2.0200OK

Call-ID:d432fa84b4c76e66710Call-ID:d432fa84b4c76e66710

From:<sip:+86755612345huawei.com;user=phone>;tag=43524545From:<sip:+86755612345huawei.com; user=phone>; tag=43524545

To:<sip:+8675511111huawei.com;user=phone>;tag=a3343df32To:<sip:+8675511111huawei.com; user=phone>; tag=a3343df32

Supported:ChanStatus           //表示AS支持通道资源协商Supported:ChanStatus //Indicates that the AS supports channel resource negotiation

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

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

步骤310~312、主叫方MSAN依次通过主叫方AS、被叫方AS向MSAN发送SIP ACK消息;这里,步骤310~312可选;Steps 310-312, the calling party MSAN sends a SIP ACK message to MSAN through the calling party AS and the called party AS in turn; here, steps 310-312 are optional;

步骤313、在呼叫接续过程中,主叫方MSAN如果判断接收到的SIP200消息中包含了表示AS支持通道资源协商的能力信息Supported:ChanStatus,则在SIP对话建立之后,发送SIP Update消息,并在SIP Update消息中携带表示B通道资源占用情况的B通道资源占用情况信息,其中B通道资源占用情况信息以xml编码表示,以便主叫方AS据此来记录和/或刷新该ISDN接口或者ISDN号码的B通道资源占用情况,主叫方AS可以根据其上管理的B通道资源占用情况确定是否触发遇忙业务,如呼叫等待业务或遇忙呼叫完成业务;符合上述要求的SIP Update消息示例如下:Step 313, during the call connection process, if the calling party MSAN judges that the received SIP200 message contains the ability information Supported:ChanStatus indicating that the AS supports channel resource negotiation, then after the SIP dialogue is established, send a SIP Update message, and in The SIP Update message carries B channel resource occupancy information indicating the B channel resource occupancy, where the B channel resource occupancy information is expressed in xml code, so that the calling party AS can record and/or refresh the ISDN interface or ISDN number accordingly The calling party AS can determine whether to trigger a busy service, such as a call waiting service or a busy call completion service, according to the B channel resource occupancy status managed on it; the example of a SIP Update message that meets the above requirements is as follows:

UPDATE sip:+8675511111huawei.com;user=phone SIP/2.0UPDATE sip:+8675511111huawei.com; user=phone SIP/2.0

Call-ID:d432fa84b4c76e66710Call-ID:d432fa84b4c76e66710

From:<sip:+8675512345@huawei.com;user=phone>;tag=43524545From:<sip:+8675512345@huawei.com; user=phone>; tag=43524545

To:<sip:+8675511111huawei.com;user=phone>;tag=a3343df32To:<sip:+8675511111huawei.com; user=phone>; tag=a3343df32

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

Content-Type:application/ChannelStatus+xml//表示B通道资源占用情况Content-Type: application/ChannelStatus+xml//Indicates the resource occupancy of channel B

<?xml version="1.0"encoding="UTF-8"?><?xml version="1.0" encoding="UTF-8"?>

<Channel Status state=“ChannelFullBusy”><Channel Status state="ChannelFullBusy">

  <uri>sip:+8675512345huawei.com</uri><uri>sip:+8675512345huawei.com</uri>

</ChannelStatus></ChannelStatus>

步骤314、主叫方AS向主叫方MSAN发送SIP200消息;Step 314, the calling party AS sends a SIP200 message to the calling party MSAN;

步骤315、在呼叫释放过程中,释放方MSAN即主叫方MSAN在SIP释放请求(SIP BYE)消息中携带扩展的xml编码表示的B通道资源占用情况,主叫方AS据此来记录和/或刷新该ISDN接口或者ISDN号码的B通道资源占用情况。符合上述要求的SIP BYE消息示例如下:Step 315, in the call release process, the release party MSAN, that is, the calling party MSAN, carries the B channel resource occupancy situation of the extended xml code representation in the SIP release request (SIP BYE) message, and the calling party AS records and/or Or refresh the B channel resource occupancy of the ISDN interface or ISDN number. An example of a SIP BYE message that meets the above requirements is as follows:

BYE sip:+8675511111huawei.com;user=phone SIP/2.0BYE sip:+8675511111huawei.com; user=phone SIP/2.0

Call-ID:d432fa84b4c76e66710Call-ID:d432fa84b4c76e66710

From:<sip:+8675512345huawei.com;user=phone>;tag=43524545From:<sip:+8675512345huawei.com; user=phone>; tag=43524545

To:<sip:+8675511111huawei.com;user=phone>;tag=a3343df32To:<sip:+8675511111huawei.com; user=phone>; tag=a3343df32

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

Content-Type:application/ChannelStatus+xml//表示B通道资源占用情况Content-Type: application/ChannelStatus+xml//Indicates the resource occupancy of channel B

<?xml version="1.0"encoding="UTF-8"?><?xml version="1.0" encoding="UTF-8"?>

<ChannelStatus state=“ChannelFullBusy”><ChannelStatus state="ChannelFullBusy">

  <uri>sip:+8675512345huawei.com</uri><uri>sip:+8675512345huawei.com</uri>

</ChannelStatus></ChannelStatus>

步骤316~317、主叫方AS通过被叫方AS向被叫方MSAN发送SIP释放(SIP BYE)消息,该SIP释放消息中可以采用现有标准做法,不包含B通道资源占用情况;Steps 316~317, the calling party AS sends a SIP release (SIP BYE) message to the called party MSAN through the called party AS, the existing standard practice can be adopted in the SIP release message, and the resource occupation of the B channel is not included;

步骤318、在呼叫释放过程中,被释放侧MSAN即被叫方MSAN在SIP200消息中携带扩展的xml编码表示的B通道资源占用情况,被叫方AS据此来记录和/或刷新该ISDN接口或者ISDN号码的B通道资源占用情况。符合上述要求的SIP200消息示例如下:Step 318, during the call release process, the MSAN at the released side, that is, the MSAN of the called party, carries in the SIP200 message the B-channel resource occupancy of the extended xml code representation, and the called party AS records and/or refreshes the ISDN interface accordingly Or the resource occupation of the B channel of the ISDN number. An example of a SIP200 message that meets the above requirements is as follows:

SIP/2.0 200 OKSIP/2.0 200 OK

Call-ID:d432fa84b4c76e66710Call-ID:d432fa84b4c76e66710

From:<sip:+86755612345huawei.com;user=phone>;tag=43524545From:<sip:+86755612345huawei.com; user=phone>; tag=43524545

To:<sip:+8675511111huawei.com;user=phone>;tag=a3343df32To:<sip:+8675511111huawei.com; user=phone>; tag=a3343df32

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

Content-Type:application/Channel Status+xml//表示B通道资源占用情况Content-Type: application/Channel Status+xml//Indicates the resource occupancy of channel B

<?xml version="1.0"encoding="UTF-8"?><?xml version="1.0" encoding="UTF-8"?>

<ChannelStatus state=“ChannelFullBusy”><ChannelStatus state="ChannelFullBusy">

  <uri>sip:+8675511111huawei.com</uri><uri>sip:+8675511111huawei.com</uri>

</ChannelStatus></ChannelStatus>

步骤319~320、标准做法,没有特殊要求。Steps 319-320, standard practice, no special requirements.

另外,上述步骤315-320是在主叫方发送释放请求消息的情况下执行的处理流程,同样,若是由被叫方发送释放请求消息,其后续操作流程同步骤315-320是完全对等的,在此不赘述。In addition, the above-mentioned steps 315-320 are the processing flow executed when the calling party sends the release request message. Similarly, if the callee sends the release request message, the subsequent operation flow is completely equivalent to the steps 315-320 , which will not be described here.

通过上述业务控制实体之间的信令交互处理,AS就可以获知所需要的资源状态信息,并据此确定是否可以触发呼叫等待业务;如图4所示,为本发明应用应用服务器执行NDUB操作并触发呼叫等待业务实施例的信令流程图,根据ITU-T Q.953.1中对NDUB判断条件的定义,NDUB的执行结果包括如下几种情况:1、B通道资源忙,且该ISDN号码/ISDN接口的呼叫数目已经达到最大值,则拒绝该呼叫建立请求,返回486响应。2、B通道资源空闲,同时基于该ISDN号码/ISDN接口的呼叫数目已经达到最大值,则拒绝该呼叫建立请求,返回486响应。3、B通道资源空闲,且该ISDN号码/ISDN接口的呼叫数目没有达到最大值,则允许该呼叫建立请求,但是不会触发呼叫等待业务,而是按照普通呼叫进行接续处理。4、B通道资源忙,且该ISDN号码/ISDN接口的呼叫数目没有达到最大值,则触发呼叫等待业务。这种情况下的信令交互流程包括:Through the signaling interaction processing between the above service control entities, the AS can learn the required resource status information, and determine whether the call waiting service can be triggered accordingly; as shown in Figure 4, the application server of the present invention performs the NDUB operation And trigger the signaling flowchart of the call waiting service embodiment, according to the definition of NDUB judging conditions in ITU-T Q.953.1, the execution result of NDUB includes the following several situations: 1, B channel resources are busy, and the ISDN number/ If the number of calls on the ISDN interface has reached the maximum value, the call establishment request is rejected and a 486 response is returned. 2. If the B channel resources are idle, and the number of calls based on the ISDN number/ISDN interface has reached the maximum value, the call establishment request is rejected and a 486 response is returned. 3. If the B channel resource is idle, and the number of calls of the ISDN number/ISDN interface has not reached the maximum value, the call establishment request is allowed, but the call waiting service will not be triggered, and the connection process will be performed as a normal call. 4. If channel B resources are busy, and the number of calls of the ISDN number/ISDN interface does not reach the maximum value, the call waiting service will be triggered. The signaling interaction process in this case includes:

步骤401、AS接收SIP呼叫建立请求(SIP INVITE)消息;Step 401, AS receives SIP call setup request (SIP INVITE) message;

步骤402、AS执行NDUB相关处理和判断,即判断ISDN/PSTN用户的B通道资源的忙闲状态和ISDN/PSTN用户的呼叫数目是否达到允许的最大呼叫数目,如果NDUB的判断结果是触发呼叫等待业务,那么发送给MSAN的SIP INVITE消息中需要携带业务指示P-Service-Indication,该业务标识可以利用扩展的增强型巴克斯范式(ABNF)格式,描述如下:Step 402, AS executes NDUB-related processing and judgment, that is, judges whether the busy state of the B channel resource of the ISDN/PSTN user and the number of calls of the ISDN/PSTN user reach the maximum number of calls allowed, if the judgment result of NDUB is to trigger call waiting service, then the SIP INVITE message sent to MSAN needs to carry the service indication P-Service-Indication, the service identification can use the extended enhanced Backus-Naur Form (ABNF) format, described as follows:

P-Service-Indication="P-Service-Indication"P-Service-Indication="P-Service-Indication"

                        HCOLON indication                               

Indication           ="CW"Indication = "CW"

步骤403、MSAN接收来自AS的SIP呼叫建立请求(SIP INVITE)消息,并判断业务指示P-Service-Indication中是否携带了表示呼叫等待业务的指示“cw”;Step 403, MSAN receives the SIP call setup request (SIP INVITE) message from AS, and judges whether the indication "cw" representing the call waiting service is carried in the service indication P-Service-Indication;

步骤404、如果业务指示P-Service-Indication中携带了表示呼叫等待业务的指示“cw”,那么在发送给用户侧的DSS1呼叫建立请求(DSS1SETUP)消息中的通道标识(Channelidentification)IE中的Info.Chan sel字段需要设置为00(No channel),通道表示为“00”表示没有通道即需要呼叫等待,以便ISDN/PSTN用户的终端设备检测到DSS1SETUP消息中的通道标识进行呼叫等待。Step 404, if the indication "cw" representing the call waiting service is carried in the service indication P-Service-Indication, then the Info in the channel identification (Channel identification) IE in the DSS1 call setup request (DSS1SETUP) message sent to the user side The .Chan sel field needs to be set to 00 (No channel), and the channel is indicated as "00", which means that there is no channel, that is, call waiting is required, so that the terminal equipment of the ISDN/PSTN user detects the channel identifier in the DSS1SETUP message and performs call waiting.

通过图3所示的业务控制实体之间的信令交互处理,应用服务器就可以获知执行NDUB判断处理所需要的B通道资源占用情况信息,并通过图4可以看出据此是否触发呼叫等待业务的处理流程。Through the signaling interaction processing between the service control entities shown in Figure 3, the application server can learn the B channel resource occupancy information required to execute the NDUB judgment process, and see whether the call waiting service is triggered based on this information in Figure 4 processing flow.

如图5所示,为本发明应用服务器实施例的结构示意图,该应用服务器包括:As shown in Figure 5, it is a schematic structural diagram of an embodiment of the application server of the present invention, and the application server includes:

SIP接口单元21,用于通过SIP消息与其它应用服务器和/或网络节点(如MSAN)进行通信;其它应用服务器可以是主叫ISDN/PSTN用户所属网络的主叫应用服务器、网络节点可以是主叫MSAN;其它应用服务器也可以是被叫ISDN/PSTN用户所属网络的被叫应用服务器、网络节点可以是被叫MSAN。The SIP interface unit 21 is used to communicate with other application servers and/or network nodes (such as MSAN) through SIP messages; other application servers can be the calling application server of the network to which the calling ISDN/PSTN user belongs, and the network node can be the It is called MSAN; other application servers can also be called application servers of the network to which the called ISDN/PSTN user belongs, and the network node can be called MSAN.

B通道管理单元22,用于从SIP接口单元21接收到的SIP消息中获得SIP消息中携带的表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息,并存储和/或更新本地管理的B通道资源;The B-channel management unit 22 is configured to obtain, from the SIP message received by the SIP interface unit 21, the B-channel resource occupancy information carried in the SIP message to represent the B-channel resource occupancy of ISDN/PSTN users, and store and/or update Locally managed B-channel resources;

资源状态确定单元23,用于根据B通道管理单元22管理的B通道资源执行ISDN/PSTN用户的NDUB操作,即确定ISDN/PSTN用户的B通道资源忙闲状态、该ISDN/PSTN用户的呼叫数目是否达到允许的最大呼叫数目,当确定了需要触发的业务类型,通知呼叫处理单元24进行相应的呼叫处理;资源状态确定单元23可以监听SIP接口单元21接收到的SIP消息,触发NDUB的操作以确定是否启动相应的业务处理。The resource state determination unit 23 is used to perform the NDUB operation of the ISDN/PSTN user according to the B channel resource managed by the B channel management unit 22, that is, to determine the busy state of the B channel resource of the ISDN/PSTN user and the number of calls of the ISDN/PSTN user Whether to reach the maximum number of calls allowed, when the business type that needs to be triggered is determined, the call processing unit 24 is notified to carry out corresponding call processing; the resource status determination unit 23 can monitor the SIP message received by the SIP interface unit 21, trigger the operation of NDUB to Determine whether to start the corresponding business processing.

呼叫处理单元24,用于根据资源状态确定单元23输出的结果,即ISDN/PSTN用户的B通道资源忙闲状态、该ISDN/PSTN用户的呼叫数目是否达到允许的最大呼叫数目进行相应的呼叫业务处理,如遇忙呼叫完成业务或呼叫等待业务。The call processing unit 24 is used to perform corresponding call services according to the result output by the resource status determination unit 23, namely the busy/idle status of the B channel resource of the ISDN/PSTN user, and whether the number of calls of the ISDN/PSTN user reaches the maximum number of calls allowed Processing, call completion service or call waiting service if busy.

上述应用服务器还可以包括B通道资源协商单元25,用于通知SIP接口单元向MSAN发送表示AS支持通道资源协商的能力信息的SIP消息。The above-mentioned application server may also include a B channel resource negotiation unit 25, configured to notify the SIP interface unit to send a SIP message indicating the capability information of the AS supporting channel resource negotiation to the MSAN.

上述应用服务器,可以实现和其他应用服务器或网络节点之间的信令交互,较好地记录和/或更新了B通道资源占用情况信息,并可以根据上述B通道资源占用情况信息触发相关业务。The above application server can realize signaling interaction with other application servers or network nodes, better record and/or update the B channel resource occupation information, and can trigger related services according to the above B channel resource occupation information.

如图6所示,为本发明网络节点实施例一的结构示意图,该网络节点包括:As shown in FIG. 6, it is a schematic structural diagram of Embodiment 1 of a network node of the present invention, and the network node includes:

消息转发单元30,用于将来自ISDN/PSTN用户的终端设备的ISDN/PSTN信令消息转换成SIP消息发送给应用服务器,并将来自应用服务器的SIP消息转换成ISDN/PSTN信令消息发送给ISDN/PSTN用户的终端设备;The message forwarding unit 30 is used to convert the ISDN/PSTN signaling message from the terminal equipment of the ISDN/PSTN user into a SIP message and send it to the application server, and convert the SIP message from the application server into an ISDN/PSTN signaling message and send it to the Terminal equipment for ISDN/PSTN users;

B通道管理单元34,用于管理B通道资源,当消息转发单元30接收到呼叫建立请求消息时为ISDN/PSTN用户分配B通道资源,其中,如果呼叫建立请求为来自主叫ISDN/PSTN用户的ISDN/PSTN信令呼叫建立请求消息,则B通道管理单元34为主叫ISDN/PSTN用户分配B通道资源;如果呼叫建立请求为来自应用服务器的SIP呼叫建立请求消息,则B通道管理单元34为被叫ISDN/PSTN用户分配B通道资源。The B channel management unit 34 is used to manage the B channel resources. When the message forwarding unit 30 receives the call setup request message, it distributes the B channel resources for ISDN/PSTN users, wherein, if the call setup request is from the calling ISDN/PSTN user ISDN/PSTN signaling call setup request message, then B channel management unit 34 allocates B channel resources for the calling ISDN/PSTN user; if the call setup request is a SIP call setup request message from the application server, then B channel management unit 34 is The called ISDN/PSTN user allocates B channel resources.

资源状态确定单元35,用于根据B通道管理单元34管理的B通道资源确定ISDN/PSTN用户的B通道资源忙闲状态和该ISDN/PSTN用户的呼叫数目是否达到允许的最大呼叫数目,并据此确定需要触发的呼叫业务。判断处理过程参见上文所述。Resource state determination unit 35, is used for determining whether the B channel resource busy state of ISDN/PSTN user and the call number of this ISDN/PSTN user reach the maximum call number allowed according to the B channel resource managed by B channel management unit 34, and according to This determination requires the call service to be triggered. Refer to the above description for the judgment process.

呼叫处理单元36用于根据接收的资源状态确定单元35确定的结果进行相应的呼叫业务处理,并控制消息转发单元30的消息转发过程。The call processing unit 36 is configured to perform corresponding call service processing according to the received result determined by the resource status determining unit 35 , and control the message forwarding process of the message forwarding unit 30 .

上述消息转发单元30具体包括ISDN/PSTN接口单元31、映射单元32和SIP接口单元33。ISDN/PSTN接口单元31,用于提供和ISDN/PSTN用户的终端设备的通信接口,接收来自或发往ISDN/PSTN信令消息。SIP接口单元33,用于提供和应用服务器的SIP接口,接收来自或发往应用服务器的SIP消息。其中,ISDN/PSTN接口单元31将来自ISDN/PSTN信令消息发送给映射单元32,映射单元32将ISDN/PSTN信令消息转换成SIP消息,并将SIP消息发送给SIP接口单元33;SIP接口单元33将来自应用服务器的SIP消息发送给映射单元32,映射单元32将SIP消息转换成ISDN/PSTN信令消息,并发送给ISDN/PSTN接口单元31。The message forwarding unit 30 specifically includes an ISDN/PSTN interface unit 31 , a mapping unit 32 and a SIP interface unit 33 . The ISDN/PSTN interface unit 31 is configured to provide a communication interface with ISDN/PSTN user terminal equipment, and receive signaling messages from or to ISDN/PSTN. The SIP interface unit 33 is configured to provide a SIP interface with the application server, and receive SIP messages from or to the application server. Wherein, the ISDN/PSTN interface unit 31 sends the mapping unit 32 from the ISDN/PSTN signaling message, and the mapping unit 32 converts the ISDN/PSTN signaling message into a SIP message, and sends the SIP message to the SIP interface unit 33; The unit 33 sends the SIP message from the application server to the mapping unit 32 , and the mapping unit 32 converts the SIP message into an ISDN/PSTN signaling message and sends it to the ISDN/PSTN interface unit 31 .

上述网络节点还包括:配置管理单元37,用于配置消息转发单元30的参数,如映射单元32的消息转换映射参数。The network node above also includes: a configuration management unit 37 configured to configure parameters of the message forwarding unit 30 , such as message conversion and mapping parameters of the mapping unit 32 .

上述ISDN/PSTN信令消息可为基于DSS1的信令消息。上述网络节点可以为主叫方ISDN/PSTN用户和/或被叫方ISDN/PSTN用户分配B通道资源,并根据其上管理的B通道资源为主叫ISDN/PSTN用户和/或被叫ISDN/PSTN用户提供相应的呼叫业务处理,呼叫业务处理参见上述所述,不再赘述。The above-mentioned ISDN/PSTN signaling message may be a DSS1-based signaling message. The above-mentioned network node can allocate B-channel resources for the calling party ISDN/PSTN user and/or the called party ISDN/PSTN user, and according to the B-channel resources managed on the calling party ISDN/PSTN user and/or the called party ISDN/PSTN user The PSTN user provides corresponding call service processing, and the call service processing refers to the above description, and will not be repeated here.

上述网络节点不需要和应用服务器交互信息,而是根据本地管理的B通道资源进行决策,以确定是否触发遇忙业务,由于该网络节点直接和ISDN/PSTN用户相连,能够更快地响应用户的需要,在不需要为遇忙业务进行计费时可以降低应用服务器的负荷;如果需要为遇忙业务进行计费,该网络节点本地可以记录遇忙业务的记录,并将遇忙业务记录周期性或基于应用服务器(或计费服务器)的请求发送以便计费。The above-mentioned network nodes do not need to exchange information with the application server, but make decisions based on locally managed B-channel resources to determine whether to trigger the busy service. Since the network nodes are directly connected to ISDN/PSTN users, they can respond to user requests more quickly. If necessary, the load on the application server can be reduced when there is no need to charge for busy services; if charging for busy services is required, the network node can record the records of busy services locally, and record the busy services periodically Or send based on the request of the application server (or billing server) for billing.

如图7所示,为本发明网络节点实施例二的结构示意图,该网络节点包括:As shown in FIG. 7, it is a schematic structural diagram of Embodiment 2 of the network node of the present invention, and the network node includes:

消息转发单元30,用于将来自ISDN/PSTN信令消息转换成SIP消息发送给应用服务器,并将来自应用服务器的SIP消息转换成ISDN/PSTN信令消息发送给ISDN/PSTN用户的终端设备;The message forwarding unit 30 is used to convert the ISDN/PSTN signaling message into a SIP message and send it to the application server, and convert the SIP message from the application server into an ISDN/PSTN signaling message and send it to the terminal equipment of the ISDN/PSTN user;

B通道管理单元34,用于在为ISDN/SPTN用户进行呼叫接续过程中,为ISDN/PSTN用户分配B通道资源;The B channel management unit 34 is used for distributing B channel resources for ISDN/PSTN users during the call connection process for ISDN/SPTN users;

资源占用情况确定单元38,用于根据本地管理的B通道资源生成包含表示上述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息,并通过消息转发单元30发送给应用服务器。The resource occupancy determination unit 38 is used to generate a SIP message containing the B channel resource occupancy information indicating the B channel resource occupancy of the ISDN/PSTN user according to the locally managed B channel resources, and send it to the application through the message forwarding unit 30 server.

上述消息转发单元30具体包括ISDN/PSTN接口单元31、映射单元32和SIP接口单元33。ISDN/PSTN接口单元31,用于提供和ISDN/PSTN用户的终端设备的通信接口,接收来自或发往ISDN/PSTN信令消息。SIP接口单元33,用于提供和应用服务器的SIP接口,接收来自或发往应用服务器的SIP消息。其中,ISDN/PSTN接口单元31将来自ISDN/PSTN信令消息发送给映射单元32,映射单元32将ISDN/PSTN信令消息转换成SIP消息,并将SIP消息发送给SIP接口单元33;SIP接口单元33将来自应用服务器的SIP消息发送给映射单元32,映射单元32将SIP消息转换成ISDN/PSTN信令消息,并发送给ISDN/PSTN接口单元31。The message forwarding unit 30 specifically includes an ISDN/PSTN interface unit 31 , a mapping unit 32 and a SIP interface unit 33 . The ISDN/PSTN interface unit 31 is configured to provide a communication interface with ISDN/PSTN user terminal equipment, and receive signaling messages from or to ISDN/PSTN. The SIP interface unit 33 is configured to provide a SIP interface with the application server, and receive SIP messages from or to the application server. Wherein, the ISDN/PSTN interface unit 31 sends the mapping unit 32 from the ISDN/PSTN signaling message, and the mapping unit 32 converts the ISDN/PSTN signaling message into a SIP message, and sends the SIP message to the SIP interface unit 33; The unit 33 sends the SIP message from the application server to the mapping unit 32 , and the mapping unit 32 converts the SIP message into an ISDN/PSTN signaling message and sends it to the ISDN/PSTN interface unit 31 .

上述网络节点还包括:配置管理单元37,用于配置消息转发单元30的参数,如映射单元32的消息转换映射参数。The network node above also includes: a configuration management unit 37 configured to configure parameters of the message forwarding unit 30 , such as message conversion and mapping parameters of the mapping unit 32 .

上述网络节点可以根据其上管理的通道资源将表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息通过SIP消息发送给应用服务器,由应用服务器根据MSAN发送的SIP消息中的表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息确定该ISDN/PSTN用户的B通道资源忙闲状态和该ISDN/PSTN用户的呼叫数目是否达到允许的最大呼叫数目,并且可以据此进行相应的呼叫业务处理,呼叫业务处理参见上述所述,不再赘述。另外,上述网络节点可以是MSAN等。The above-mentioned network node can send the B-channel resource occupancy information indicating the B-channel resource occupancy of the ISDN/PSTN user to the application server through the SIP message according to the channel resources managed on it, and the application server can send the information according to the SIP message sent by the MSAN. B channel resource occupancy information of ISDN/PSTN user's B channel resource occupancy information determines the B channel resource busy status of the ISDN/PSTN user and whether the number of calls of the ISDN/PSTN user reaches the maximum number of calls allowed, and can be used according to Then, the corresponding call service processing is performed, and the call service processing refers to the above description, and will not be repeated here. In addition, the above-mentioned network node may be MSAN or the like.

上述网络节点可以根据其上管理的通道资源将表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息通过SIP消息发送给应用服务器,由应用服务器根据上述SIP消息中的表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息确定该ISDN/PSTN用户的B通道资源忙闲状态和该ISDN/PSTN用户的呼叫数目是否达到允许的最大呼叫数目,并且可以根据确定的结果进行相应的呼叫业务处理。The above-mentioned network node can send the B-channel resource occupancy situation information indicating the B-channel resource occupancy situation of the ISDN/PSTN user to the application server through a SIP message according to the channel resources managed thereon, and the application server can represent ISDN/PSTN according to the above-mentioned SIP message. The B channel resource occupation status information of PSTN user's B channel resource occupation status determines whether the B channel resource busy state of the ISDN/PSTN user and the number of calls of the ISDN/PSTN user have reached the maximum number of calls allowed, and can be determined according to the determined As a result, corresponding call service processing is performed.

如图8所示,为本发明通信系统实施例的结构示意图,该系统包括网络节点1和应用服务器2,其中,上述网络节点1,用于将来自ISDN/PSTN用户的终端设备的ISDN/PSTN信令消息转换成SIP消息发送给上述应用服务器2,并将来自上述应用服务器2的SIP消息转换成ISDN/PSTN信令消息发送给ISDN/PSTN用户的终端设备;在为ISDN/SPTN用户进行呼叫接续过程中,为ISDN/PSTN用户分配B通道资源;根据本地管理的B通道资源生成包含表示上述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息;将表示上述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息发送给应用服务器2;应用服务器2,用于通过接收的SIP消息与和网络节点1进行通信,从SIP消息中获得SIP消息中携带的表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息,并存储和/或更新本地管理的B通道资源;根据本地管理的B通道资源进行相应的呼叫业务处理。As shown in FIG. 8 , it is a schematic structural diagram of an embodiment of a communication system of the present invention. The system includes a network node 1 and an application server 2, wherein the above-mentioned network node 1 is used to transmit ISDN/PSTN information from terminal equipment of ISDN/PSTN users The signaling message is converted into a SIP message and sent to the above-mentioned application server 2, and the SIP message from the above-mentioned application server 2 is converted into an ISDN/PSTN signaling message and sent to the terminal equipment of the ISDN/PSTN user; making a call for the ISDN/SPTN user During the connection process, allocate B channel resources for ISDN/PSTN users; generate a SIP message containing B channel resource occupancy information indicating the B channel resource occupancy information of the above ISDN/PSTN users according to the locally managed B channel resources; will indicate the above ISDN The SIP message of the B channel resource occupation information of the /PSTN user's B channel resource occupation situation is sent to the application server 2; the application server 2 is used to communicate with the network node 1 through the received SIP message, and obtain the SIP from the SIP message The B channel resource occupation information carried in the message indicates the B channel resource occupation of ISDN/PSTN users, and store and/or update the locally managed B channel resources; perform corresponding call service processing according to the locally managed B channel resources.

上述通信系统,利用网络节点终结用户侧的信令消息,实现ISDN/PSTN用户的终端设备的信令消息和服务器的SIP消息之间的映射,并将生成的包含表示上述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的会话初始化协议消息发送给应用服务器,由应用服务器在确定启动相应的呼叫业务处理时,根据上述B通道资源进行相应的呼叫业务处理。The above-mentioned communication system utilizes the network node to terminate the signaling message on the user side, realizes the mapping between the signaling message of the terminal equipment of the ISDN/PSTN user and the SIP message of the server, and generates the B containing the above-mentioned ISDN/PSTN user. The session initialization protocol message of channel resource occupancy information of B channel resource occupancy information is sent to the application server, and the application server performs corresponding call service processing according to the above-mentioned B channel resources when determining to start corresponding call service processing.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (7)

1.一种通信系统中呼叫处理的方法,其特征在于,所述通信系统包括网络节点,该网络节点终结用户侧的综合业务数字网ISDN/公共交换电话网PSTN信令,并实现ISDN/PSTN信令和SIP之间的映射,所述方法包括: 1. A method for call processing in a communication system, characterized in that the communication system includes a network node, and the network node terminates the ISDN/PSTN signaling of the user side, and realizes the ISDN/PSTN For mapping between signaling and SIP, the method includes: 所述网络节点在为ISDN/ PSTN用户进行呼叫接续过程中,为ISDN/PSTN用户分配B通道资源; The network node allocates B channel resources for ISDN/PSTN users during the call connection process for ISDN/PSTN users; 所述网络节点根据本地管理的B通道资源生成包含表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息; The network node generates a SIP message containing B channel resource occupancy information indicating the B channel resource occupancy status of the ISDN/PSTN user according to locally managed B channel resources; 所述网络节点将表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息发送给应用服务器,以便应用服务器根据所述SIP消息中的表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息进行相应的呼叫业务处理。 The network node sends a SIP message indicating the B channel resource occupation information of the ISDN/PSTN user's B channel resource occupation to the application server, so that the application server indicates the ISDN/PSTN user according to the information in the SIP message. Corresponding call service processing is performed based on the B channel resource occupation status information of the B channel resource occupation status. 2.根据权利要求1所述的通信系统中呼叫处理的方法,其特征在于,所述网络节点根据本地管理的B通道资源生成包含表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息之前,所述方法还包括: 2. the method for call processing in the communication system according to claim 1, is characterized in that, described network node generates the B channel that comprises the B channel resource occupancy situation that represents described ISDN/PSTN user according to the B channel resource of local management Before the SIP message of resource occupation situation information, the method also includes: 所述网络节点接收来自应用服务器的包含表示应用服务器支持B通道资源协商的能力信息的SIP消息。 The network node receives a SIP message from the application server including capability information indicating that the application server supports B-channel resource negotiation. 3.一种网络节点,其特征在于,包括: 3. A network node, characterized in that, comprising: 消息转发单元,用于将来自ISDN/PSTN用户的终端设备的ISDN/PSTN信令消息转换成会话初始化协议SIP消息发送给应用服务器,并将来自应用服务器的SIP消息转换成ISDN/PSTN信令消息发送给ISDN/PSTN用户的终端设备; The message forwarding unit is used to convert the ISDN/PSTN signaling message from the terminal equipment of the ISDN/PSTN user into a session initiation protocol SIP message and send it to the application server, and convert the SIP message from the application server into an ISDN/PSTN signaling message Send to the terminal equipment of ISDN/PSTN users; B通道管理单元,用于在为ISDN/PSTN用户进行呼叫接续过程中,为ISDN/PSTN用户分配B通道资源; The B channel management unit is used to allocate B channel resources for ISDN/PSTN users during the call connection process for ISDN/PSTN users; 资源占用情况确定单元,用于根据本地管理的B通道资源生成包含表示 所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息,通过消息转发单元发送给应用服务器。 The resource occupancy determination unit is used to generate a SIP message containing the B channel resource occupancy information representing the B channel resource occupancy information of the ISDN/PSTN user according to the locally managed B channel resource, and send it to the application server through the message forwarding unit. 4.根据权利要求3所述的网络节点,其特征在于,所述消息转发单元包括: 4. The network node according to claim 3, wherein the message forwarding unit comprises: ISDN/PSTN接口单元,用于提供和ISDN/PSTN用户的终端设备的通信接口,接收来自或发往ISDN/PSTN用户的终端设备的ISDN/PSTN信令消息; The ISDN/PSTN interface unit is used to provide a communication interface with the terminal equipment of the ISDN/PSTN user, and receive ISDN/PSTN signaling messages from or to the terminal equipment of the ISDN/PSTN user; SIP接口单元,用于提供和应用服务器的SIP接口,接收来自或发往应用服务器的SIP消息; The SIP interface unit is used to provide a SIP interface with the application server, and receive SIP messages from or to the application server; 映射单元,用于将ISDN/PSTN信令消息转换成SIP消息,将SIP消息发送给SIP接口单元和将SIP消息转换成ISDN/PSTN信令消息,并发送给ISDN/PSTN接口单元。 The mapping unit is used to convert ISDN/PSTN signaling messages into SIP messages, send the SIP messages to the SIP interface unit and convert the SIP messages into ISDN/PSTN signaling messages, and send them to the ISDN/PSTN interface unit. 5.一种应用服务器,其特征在于,包括: 5. An application server, characterized in that, comprising: 会话初始化SIP接口单元,用于通过SIP消息与其它应用服务器和/或网络节点进行通信; The session initialization SIP interface unit is used to communicate with other application servers and/or network nodes through SIP messages; B通道管理单元,用于从SIP接口单元接收到的SIP消息中获得SIP消息中携带的表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息,并存储和/或更新本地管理的B通道资源; The B-channel management unit is used to obtain the B-channel resource occupation information carried in the SIP message from the SIP message received by the SIP interface unit, indicating the B-channel resource occupation of ISDN/PSTN users, and store and/or update the local management B channel resources; 资源状态确定单元,用于根据B通道管理单元管理的B通道资源确定B通道资源忙闲状态和ISDN/PSTN用户的呼叫数目是否达到允许的最大呼叫数目,并确定需要触发的呼叫业务; A resource status determination unit, configured to determine whether the B channel resource busy status and the ISDN/PSTN user call number reach the maximum number of calls allowed according to the B channel resource managed by the B channel management unit, and determine the call service that needs to be triggered; 呼叫处理单元,用于根据资源状态确定单元输出的结果进行相应的呼叫业务处理。 The call processing unit is configured to perform corresponding call service processing according to the result output by the resource status determining unit. 6.根据权利要求5所述的应用服务器,其特征在于,还包括: 6. The application server according to claim 5, further comprising: B通道资源协商单元,用于通知SIP接口单元向网络节点发送表示本身所在的应用服务器支持通道资源协商的能力信息的SIP消息。 The channel resource negotiation unit is configured to notify the SIP interface unit to send a SIP message indicating the capability information of the application server where it is located supports channel resource negotiation to the network node. 7.一种通信系统,包括网络节点和应用服务器,其特征在于:  7. A communication system, comprising a network node and an application server, characterized in that: 所述网络节点,用于将来自ISDN/PSTN用户的终端设备的ISDN/PSTN信令消息转换成SIP消息发送给所述应用服务器,并将来自所述应用服务器的SIP消息转换成ISDN/PSTN信令消息发送给ISDN/PSTN用户的终端设备;在为ISDN/ PSTN用户进行呼叫接续过程中,为ISDN/PSTN用户分配B通道资源;根据本地管理的B通道资源生成包含表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息;将表示所述ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息的SIP消息发送给应用服务器; The network node is configured to convert the ISDN/PSTN signaling message from the terminal equipment of the ISDN/PSTN user into a SIP message and send it to the application server, and convert the SIP message from the application server into an ISDN/PSTN signaling message. The message is sent to the terminal equipment of the ISDN/PSTN user; during the call connection process for the ISDN/PSTN user, the B channel resource is allocated for the ISDN/PSTN user; according to the local management of the B channel resource generation, it contains the information indicating the ISDN/PSTN user The SIP message of the B channel resource occupation situation information of the B channel resource occupation situation; the SIP message of the B channel resource occupation situation information indicating the B channel resource occupation situation of the ISDN/PSTN user is sent to the application server; 应用服务器,用于通过接收的SIP消息与和网络节点进行通信,从SIP消息中获得SIP消息中携带的表示ISDN/PSTN用户的B通道资源占用情况的B通道资源占用情况信息,并存储和/或更新本地管理的B通道资源;根据本地管理的B通道资源进行相应的呼叫业务。  The application server is configured to communicate with the network node through the received SIP message, obtain the B channel resource occupation information carried in the SIP message from the SIP message indicating the B channel resource occupation of ISDN/PSTN users, and store and/or Or update the locally managed B channel resources; perform corresponding call services according to the locally managed B channel resources. the
CN 200810226166 2008-11-14 2008-11-14 Method for call processing in communication system, network node and application server Active CN101742370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810226166 CN101742370B (en) 2008-11-14 2008-11-14 Method for call processing in communication system, network node and application server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810226166 CN101742370B (en) 2008-11-14 2008-11-14 Method for call processing in communication system, network node and application server

Publications (2)

Publication Number Publication Date
CN101742370A CN101742370A (en) 2010-06-16
CN101742370B true CN101742370B (en) 2013-01-30

Family

ID=42465129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810226166 Active CN101742370B (en) 2008-11-14 2008-11-14 Method for call processing in communication system, network node and application server

Country Status (1)

Country Link
CN (1) CN101742370B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10333779B2 (en) 2013-04-10 2019-06-25 Huawei Technologies Co., Ltd. System and method for providing a software defined protocol stack

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1480431A1 (en) * 2003-05-23 2004-11-24 Siemens Aktiengesellschaft Method for signaling of call diversion parameters in a SIP network
CN101022471A (en) * 2006-02-15 2007-08-22 华为技术有限公司 Method and system for realizing public telephone exchange network simulation service
CN101273604A (en) * 2005-09-27 2008-09-24 喷流数据有限公司 System and method for progressive delivery of multimedia objects

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1480431A1 (en) * 2003-05-23 2004-11-24 Siemens Aktiengesellschaft Method for signaling of call diversion parameters in a SIP network
CN101273604A (en) * 2005-09-27 2008-09-24 喷流数据有限公司 System and method for progressive delivery of multimedia objects
CN101022471A (en) * 2006-02-15 2007-08-22 华为技术有限公司 Method and system for realizing public telephone exchange network simulation service

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王晓宇等.PSTN与NGN互通研究.《中国新通信》.2007,(第17期),64-66. *

Also Published As

Publication number Publication date
CN101742370A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN101502076B (en) Interworking with media fallback
KR101548140B1 (en) Method and system for selective call forwarding based on media attributes in telecommunication network
CN101420432B (en) A method, system and device for implementing IMS monitoring
CN101132378B (en) A method and communication system for intercommunication between different networks
CN101394294B (en) Access method, system and apparatus for network multimedia meeting
US20080153499A1 (en) Mobile video call response
WO2006097045A1 (en) A multimedia call processing method and the system thereof
CN101971592A (en) Access controller, IP multimedia subsystem and its registration session method
WO2007115455A1 (en) A method device and system for the circuit switched domain terminals accessing packet network realizing packet service
US20150222753A1 (en) Method for Handling a Call from a Calling Subscriber Towards a Called Subscriber
CN101123647A (en) A communication method, system and service control functional entity
CN101192851A (en) Method, system and application server for preventing ring tone crosstalk
CN101547266B (en) A method, system and gateway for providing intelligent services
WO2007093116A1 (en) A method and system for realizing the simulating service and the access signaling adaptive entity
CN101001185A (en) Specification processing method of multimedia call
CN101742370B (en) Method for call processing in communication system, network node and application server
CN101166162B (en) Method for transmitting service event
US8837451B2 (en) Method and system for implementing a call by a media gateway
CN101119212B (en) Method for transmitting ISDN user-user application information through signaling adaptation entity
CN102057701B (en) Method for achieving a call-waiting functionality in a communication network
CN101741871B (en) Method and system for isolating or reconnecting ISDN subscriber in session and access node
EP3136756A1 (en) System, device and method for implementing ring back tone service
CN101686138A (en) Method, device and system for realizing tripartite conference
CN101202956A (en) Realization Method of IP Multimedia Subsystem Session Falling Back to Circuit Switching Call
CN101800948B (en) Method, device and system for implementing call forwarding service

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