CN104243290B - A dispatching platform communication method and system based on instant message - Google Patents
A dispatching platform communication method and system based on instant message Download PDFInfo
- Publication number
- CN104243290B CN104243290B CN201410524055.2A CN201410524055A CN104243290B CN 104243290 B CN104243290 B CN 104243290B CN 201410524055 A CN201410524055 A CN 201410524055A CN 104243290 B CN104243290 B CN 104243290B
- Authority
- CN
- China
- Prior art keywords
- dispatching
- call
- event
- message
- server
- 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
Links
Landscapes
- Telephonic Communication Services (AREA)
Abstract
本发明公开了一种基于即时消息的调度台通信方法,通过将SIP协议的即时消息(Message方法)引入调度通信系统来实现调度台和调度服务器之间的实时通信,在消息体中采用XML编码的即时消息传送调度业务命令的请求、响应以及事件消息,即时消息内容传送的即时性能够满足系统的实时性要求。本发明有效解决了现有技术中调度台通信协议私有封闭、业务扩展困难的问题,从而增加系统的标准化、开放性,提升新业务的扩展能力。
The invention discloses a communication method for dispatching station based on instant message. By introducing the instant message (Message method) of SIP protocol into the dispatching communication system to realize the real-time communication between the dispatching station and the dispatching server, XML coding is adopted in the message body The real-time instant message transmits the requests, responses and event messages of scheduling business commands, and the immediacy of instant message content transmission can meet the real-time requirements of the system. The invention effectively solves the problems in the prior art that the communication protocol of the dispatching station is privately closed and the service expansion is difficult, thereby increasing the standardization and openness of the system and improving the expansion ability of new services.
Description
技术领域 technical field
本发明属于通信技术领域,涉及一种调度台的通信方法,采用SIP协议的即时消息传送调度台操作请求/响应。 The invention belongs to the technical field of communication, and relates to a communication method of a dispatching station, which uses the instant message of the SIP protocol to transmit the operation request/response of the dispatching station.
背景技术 Background technique
某些行业(例如电力)的调度通信系统,一般包括调度交换机、调度台、调度分机等设备。其中,调度台作为客户端为各级调度员提供进行调度电话操作使用的操作界面、实时呈现调度电话的状态,多个调度台组成一个调度台组;服务端(某些厂商在调度交换机中实现)为各个调度台提供调度分机的呼叫控制服务和事件。 The dispatching communication system of some industries (such as electric power) generally includes dispatching switches, dispatching consoles, dispatching extensions and other equipment. Among them, the dispatching station, as a client, provides dispatchers at all levels with an operation interface for dispatching telephone operations, and presents the status of dispatching telephones in real time. Multiple dispatching stations form a dispatching station group; ) to provide call control services and events of dispatching extensions for each dispatching console.
在现有技术中,调度台与服务端之间的操作请求、响应以及事件消息一般都采用私有协议进行通信,业务扩展困难,功能测试时难以分析调度台的通信报文。 In the prior art, the operation requests, responses, and event messages between the dispatcher and the server are generally communicated using proprietary protocols, which makes it difficult to expand services, and it is difficult to analyze the communication messages of the dispatcher during functional testing.
基于IP网络的软交换技术在通信领域内已经得到了长足的发展和大规模应用,SIP协议及其扩展定义了建立,修改和终止会话交互,正在改变人们使用互联网的沟通方式。Message方法-SIP扩展RFC3428,其允许发送即时消息,即时消息系统最大特点是内容传送的即时性,能够在两个或多个用户间进行接近于实时的信息交互。 Softswitch technology based on IP network has been greatly developed and applied on a large scale in the communication field. The SIP protocol and its extensions define the establishment, modification and termination of session interaction, which is changing the way people use the Internet to communicate. Message method—SIP extension RFC3428, which allows instant messages to be sent. The most important feature of an instant message system is the immediacy of content delivery, which enables near-real-time information interaction between two or more users.
发明内容 Contents of the invention
有鉴于此,本发明实施例提供了一种基于即时消息的调度台通信方法,调度台和调度服务器之间通过SIP协议的Message方法发送即时消息,在消息体携带XML编码的呼叫操作请求、响应以及事件消息,增加系统的标准化、开放性,提升新业务的扩展能力。 In view of this, the embodiment of the present invention provides a dispatching station communication method based on instant messages, the dispatching station and the dispatching server send instant messages through the Message method of the SIP protocol, and the call operation request and response of the XML code are carried in the message body And event messages, increase the standardization and openness of the system, and improve the expansion capability of new services.
为实现上述目的,本发明实施例提供如下技术方案: In order to achieve the above purpose, embodiments of the present invention provide the following technical solutions:
系统采用当前主流软交换设备厂商的软交换机作为调度交换机,调度服务器独立于调度交换机,通过CSTA/TAPI/TSAPI/JTAPI等标准的CTI协议实现与不同厂商软交换机的计算机电信应用集成,为调度台提供跨厂商软交换机的呼叫控制服务。调度台和调度服务器之间通过SIP服务器发送SIPMessage即时消息,在消息体中携带调度操作请求、响应和/或事件消息的XML(ExtensibleMarkupLanguage)格式信息。 The system adopts the soft switch of the current mainstream soft switch equipment manufacturer as the dispatching switch, and the dispatching server is independent of the dispatching switch. Through CSTA/TAPI/TSAPI/JTAPI and other standard CTI protocols, the computer telecommunication application integration with the soft switches of different manufacturers is realized, and it is a dispatching platform. Provides call control services for cross-vendor soft switches. The SIPMessage instant message is sent between the dispatch console and the dispatch server through the SIP server, and the XML (ExtensibleMarkupLanguage) format information of the dispatch operation request, response and/or event message is carried in the message body.
SIPMessage即时消息体从呼叫事件<CallEvent>根元素开始,包括消息头<MessageHead>元素和事件消息<EventMessage>元素。其中,消息头<MessageHead>元素定义了系统消息的公共信息,包括调度服务器标识<AS-ID>元素、调度台标识<DIS-ID>元素、事件序列号<SerialNo>元素以及事件发生时间<GeneralizedTime>元素;事件消息<EventMessage>元素根据事件属性eventtype的取值选择性的包括呼叫事件<CallEvent>元素和操作事件<OperateEvent>元素。 The SIPMessage instant message body starts from the call event <CallEvent> root element, including the message header <MessageHead> element and the event message <EventMessage> element. Among them, the <MessageHead> element of the message header defines the public information of the system message, including the dispatching server identification <AS-ID> element, the dispatching platform identification <DIS-ID> element, the event sequence number <SerialNo> element and the event occurrence time <GeneralizedTime > element; the event message <EventMessage> element selectively includes the call event <CallEvent> element and the operation event <OperateEvent> element according to the value of the event attribute eventtype.
当事件属性eventtype的取值表示SIPMessage即时消息体是从调度服务器发送给调度台的上行消息时,事件消息元素包括呼叫事件<CallEvent>元素,所述上行消息包括执行调度员操作请求的应答消息或监听到的调度电话的呼叫事件消息。 When the value of the event attribute eventtype indicates that the SIPMessage instant message body is an uplink message sent from the dispatch server to the dispatcher, the event message element includes a call event <CallEvent> element, and the uplink message includes a response message for executing the dispatcher's operation request or The monitored call event message of the dispatch phone.
根据呼叫事件属性CallEventNo的取值,所述SIPMessage即时消息体中的呼叫事件<CallEvent>元素包括如下元素中的一个或多个:操作命令响应<CMDRspEvent>元素、呼叫连接状态变更事件<ConnectionStateEvent>元素、前转特性设置事件<forwardEvent>元素、开铃特性设置事件<ringEvent>元素、自动应答特性设置事件<autoAnswerEvent>元素和/或调度交换机连接事件<connectEvent>元素。 According to the value of the call event attribute CallEventNo, the call event <CallEvent> element in the SIPMessage instant message body includes one or more of the following elements: operation command response <CMDRspEvent> element, call connection state change event <ConnectionStateEvent> element , a forwarding feature setting event <forwardEvent> element, a ringing feature setting event <ringEvent> element, an automatic answering feature setting event <autoAnswerEvent> element and/or a scheduling switch connection event <connectEvent> element.
当事件属性eventtype的取值表示SIPMessage即时消息体是从调度台发送给调度服务器的下行消息时,事件消息元素包括操作事件<OperateEvent>元素,所述下行消息包括调度员的调度操作请求消息; When the value of the event attribute eventtype indicates that the SIPMessage instant message body is a downlink message sent from the dispatcher console to the dispatcher server, the event message element includes an operation event <OperateEvent> element, and the downlink message includes a dispatcher's dispatch operation request message;
根据呼叫事件属性CallEventNo的取值,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包括如下元素中的一个或多个:调度台注册<DisRegCMD>元素、调度台注销<DisUnRegCMD>元素、呼叫发起<DisCallStartCMD>元素、呼叫应答<DisAnswerCMD>元素、呼叫释放<DisCallReleaseCMD>元素、呼叫保持<DisCallHoldCMD>元素、呼叫恢复<DisCallRetriveCMD>元素、呼叫盲转<DisCallForwardCMD>元素、呼叫协商<DisConsultationCallCMD>元素、呼叫代接<DisPickupCallCMD>元素、呼叫转接<DisTransferCallCMD>元素、呼叫驻留<DisParkCallCMD>元素、呼叫强插<DisCallInsertCMD>元素、呼叫强拆<DisCallRELCMD>元素、会议发起<DisConfStartCMD>元素、会议结束<DisConfRelCMD>元素、会议控制<DisConfCtrlCMD>元素、设置前转<DisSetForwardCMD>元素、设置开铃闭铃<DisSetRingCMD>元素和/或设置自动应答<DisSetAutoanswerCMD>元素。 According to the value of the call event attribute CallEventNo, the operation event <OperateEvent> element in the SIPMessage instant message body includes one or more of the following elements: dispatcher registration <DisRegCMD> element, dispatcher cancellation <DisUnRegCMD> element, call Initiate <DisCallStartCMD> element, call answer <DisAnswerCMD> element, call release <DisCallReleaseCMD> element, call hold <DisCallHoldCMD> element, call recovery <DisCallRetriveCMD> element, call blind transfer <DisCallForwardCMD> element, call negotiation <DisConsultationCallCMD> element, call Pickup <DisPickupCallCMD> element, call transfer <DisTransferCallCMD> element, call park <DisParkCallCMD> element, call intrusion <DisCallInsertCMD> element, call force release <DisCallRELCMD> element, conference initiation <DisConfStartCMD> element, conference end <DisConfRelCMD> element, conference control <DisConfCtrlCMD> element, set forwarding <DisSetForwardCMD> element, set ring opening and closing <DisSetRingCMD> element and/or set automatic answer <DisSetAutoanswerCMD> element.
附图说明 Description of drawings
图1为本发明实施例调度台与调度通信系统中调度软交换机、调度分机(IP电话)、调度服务器、SIP服务器的关系示意图; Fig. 1 is the schematic diagram of the relationship between dispatching platform and dispatching communication system in the embodiment of the present invention, dispatching soft switch, dispatching extension (IP telephone), dispatching server, SIP server;
图2为本发明实施例调度台通信业务请求、响应的流程图; Fig. 2 is the flow chart of dispatching platform communication service request, response of the embodiment of the present invention;
图3为本发明实施例IP电话事件消息上报给调度台的流程图。 Fig. 3 is a flow chart of reporting an IP phone event message to a dispatching station according to an embodiment of the present invention.
具体实施方式 detailed description
下面结合附图,对本发明的具体实施方式作进一步的详细说明。 The specific embodiment of the present invention will be further described in detail below in conjunction with the accompanying drawings.
图1为本发明实施例调度台与调度通信系统中调度软交换机、调度分机(IP电话)、调度服务器、SIP服务器的关系示意图。SIP服务器10、调度台20、调度服务器30上必须运行有SIP协议栈,调度台和调度服务器都通过SIP协议栈模块注册到SIP服务器上,因此,系统结构中包括:SIP服务器10上的SIP协议栈模块101、调度台20上的SIP协议栈模块201、调度服务器30上的SIP协议栈模块301。 Fig. 1 is a schematic diagram of the relationship between the dispatching console and the dispatching communication system of the embodiment of the present invention, the dispatching soft switch, the dispatching extension (IP phone), the dispatching server, and the SIP server. The SIP protocol stack must be run on the SIP server 10, the dispatching console 20, and the dispatching server 30, and the dispatching console and the dispatching server are all registered on the SIP server by the SIP protocol stack module. Therefore, the system structure includes: the SIP protocol on the SIP server 10 The stack module 101 , the SIP protocol stack module 201 on the dispatching console 20 , and the SIP protocol stack module 301 on the dispatching server 30 .
图2为实施例调度台通信业务请求、响应的流程图。调度台是调度员进行调度电话操作使用的操作台,调度员通过界面上的功能按键向调度服务器发送操作请求,调度台的SIP协议栈模块201使用SIP协议的Message方法以SIPMessage即时消息体的形式将请求消息发送给SIP服务器的SIP协议栈模块101,SIP协议栈模块101收到消息后立即发送给调度服务器的SIP协议栈模块301,SIP协议栈模块301收到消息后立即回应SIP协议中定义的200OK方法给SIP服务器的SIP协议栈模块101表示收到,SIP协议栈模块101收到200OK响应后立即发送给调度台的SIP协议栈模块201表示调度服务器收到操作请求。调度服务器接收系统中所有调度台的操作请求,执行调度策略,通过CSTA等标准的CTI协议请求调度交换机执行相应的呼叫控制服务,接收到调度交换机的响应后生成操作命令响应消息发送给操作请求的调度台,调度服务器的SIP协议栈模块301使用SIP协议的Message方法将响应消息发送给SIP服务器的SIP协议栈模块101,SIP协议栈模块101收到消息后立即发送给调度台的SIP协议栈模块201,SIP协议栈模块201收到消息后立即回应200OK给SIP服务器的SIP协议栈模块101表示收到,SIP协议栈模块101收到200OK响应后立即发送给调度服务器的SIP协议栈模块301表示调度台收到应答消息。表格1中提供了操作命令请求和响应的定义。SIPMessage即时消息体从呼叫事件<CallEvent>根元素开始,包括消息头<MessageHead>元素和事件消息<EventMessage>元素。 Fig. 2 is a flow chart of the communication service request and response of the dispatching station of the embodiment. The dispatcher console is the console used by the dispatcher for dispatching telephone operations. The dispatcher sends an operation request to the dispatching server through the function buttons on the interface. The SIP protocol stack module 201 of the dispatcher uses the Message method of the SIP protocol to send the message in the form of a SIPMessage instant message body. Send the request message to the SIP protocol stack module 101 of the SIP server, the SIP protocol stack module 101 sends it to the SIP protocol stack module 301 of the scheduling server immediately after receiving the message, and the SIP protocol stack module 301 immediately responds to the definition in the SIP protocol after receiving the message The 200OK method is given to the SIP protocol stack module 101 of the SIP server to indicate receipt, and the SIP protocol stack module 101 immediately sends to the dispatcher's SIP protocol stack module 201 after receiving the 200OK response to indicate that the dispatcher server receives the operation request. The dispatching server receives the operation requests from all the dispatching stations in the system, executes the dispatching strategy, requests the dispatching switch to perform the corresponding call control service through standard CTI protocols such as CSTA, and generates an operation command response message after receiving the response from the dispatching switch and sends it to the requesting party Dispatch console, the SIP protocol stack module 301 of dispatch server uses the Message method of SIP agreement to send response message to the SIP protocol stack module 101 of SIP server, and SIP protocol stack module 101 sends to the SIP protocol stack module of dispatch console immediately after receiving the message 201, the SIP protocol stack module 201 immediately responds with 200 OK to the SIP protocol stack module 101 of the SIP server after receiving the message to indicate receipt, and the SIP protocol stack module 101 immediately sends it to the SIP protocol stack module 301 of the scheduling server after receiving the 200 OK response to indicate scheduling The station receives a response message. Table 1 provides the definition of operation command request and response. The SIPMessage instant message body starts from the call event <CallEvent> root element, including the message header <MessageHead> element and the event message <EventMessage> element.
消息头<MessageHead>元素定义了系统消息的公共信息,包括调度服务器标识<AS-ID>元素、调度台标识<DIS-ID>元素、事件序列号<SerialNo>元素以及事件发生时间<GeneralizedTime>元素;事件消息<EventMessage>元素根据事件属性eventtype的取值选择性的包括呼叫事件<CallEvent>元素和操作事件<OperateEvent>元素。当事件属性eventtype的取值表示SIPMessage即时消息体是从调度服务器发送给调度台的上行消息时,事件消息元素包括呼叫事件<CallEvent>元素,所述上行消息包括执行调度员操作请求的应答消息或监听到的调度电话的呼叫事件消息。 The message header <MessageHead> element defines the public information of the system message, including the scheduling server identification <AS-ID> element, the dispatching platform identification <DIS-ID> element, the event sequence number <SerialNo> element and the event occurrence time <GeneralizedTime> element ; The event message <EventMessage> element selectively includes a call event <CallEvent> element and an operation event <OperateEvent> element according to the value of the event attribute eventtype. When the value of the event attribute eventtype indicates that the SIPMessage instant message body is an uplink message sent from the dispatch server to the dispatcher, the event message element includes a call event <CallEvent> element, and the uplink message includes a response message for executing the dispatcher's operation request or The monitored call event message of the dispatch phone.
根据呼叫事件属性CallEventNo的取值,所述SIPMessage即时消息体中的呼叫事件<CallEvent>元素包括如下元素中的一个或多个:操作命令响应<CMDRspEvent>元素、呼叫连接状态变更事件<ConnectionStateEvent>元素、前转特性设置事件<forwardEvent>元素、开铃特性设置事件<ringEvent>元素、自动应答特性设置事件<autoAnswerEvent>元素和/或调度交换机连接事件<connectEvent>元素。 According to the value of the call event attribute CallEventNo, the call event <CallEvent> element in the SIPMessage instant message body includes one or more of the following elements: operation command response <CMDRspEvent> element, call connection state change event <ConnectionStateEvent> element , a forwarding feature setting event <forwardEvent> element, a ringing feature setting event <ringEvent> element, an automatic answering feature setting event <autoAnswerEvent> element and/or a scheduling switch connection event <connectEvent> element.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度员操作请求的应答消息时,所述SIPMessage即时消息体中的呼叫事件<CallEvent>元素包含操作命令响应<CMDRspEvent>元素,其进一步包括调度台手柄号码、操作命令号、操作响应结果和发起会议操作时返回会议标识; When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a response message to the dispatcher's operation request, the call event <CallEvent> element in the SIPMessage instant message body contains an operation command response <CMDRspEvent> element, which further includes Dispatcher console number, operation command number, operation response result and conference ID returned when initiating a conference operation;
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是所监听到的调度电话的呼叫连接状态变更事件时,所述SIPMessage即时消息体中的呼叫事件<CallEvent>元素包含呼叫连接状态变更事件<ConnectionStateEvent>元素,其进一步包括设备监听标识、设备号码、呼叫标识、外呼标识、会议会叫、事件标识、事件时间、时间类型、连接状态和状态变化原因; When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call connection state change event of the monitored dispatching phone, the call event <CallEvent> element in the SIPMessage instant message body contains the call connection state change event <ConnectionStateEvent >Elements, which further include device monitoring identifier, device number, call identifier, outgoing call identifier, conference call, event identifier, event time, time type, connection status and status change reason;
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是所监听到的调度电话的前转特性设置事件时,所述SIPMessage即时消息体中的呼叫事件<CallEvent>元素包含前转特性设置事件<forwardEvent>元素,其进一步包含设备号码、前转的目标号码、前转类型和前转状态; When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is the forwarding feature setting event of the monitored dispatch phone, the call event <CallEvent> element in the SIPMessage instant message body contains the forwarding feature setting event <forwardEvent > element, which further includes equipment number, forwarded target number, forwarded type and forwarded state;
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是所监听到的调度电话的开铃特性设置事件时,所述SIPMessage即时消息体中的呼叫事件<CallEvent>元素包含开铃特性设置事件<ringEvent>元素,其进一步包含设备号码和开铃/闭铃状态; When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is an event for setting the ring feature of the monitored dispatch phone, the call event <CallEvent> element in the SIPMessage instant message body contains the feature set event for ring event <ringEvent > element, which further contains device number and bell on/off status;
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是所监听到的调度电话的自动应答特性设置事件元素时,所述SIPMessage即时消息体中的呼叫事件<CallEvent>元素包含自动应答特性设置事件<autoAnswerEvent>元素,其进一步包含设备号码、自动应答状态和振铃次数; When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is the automatic answering feature setting event element of the monitored dispatch phone, the call event <CallEvent> element in the SIPMessage instant message body contains the automatic answering feature setting event< autoAnswerEvent> element, which further includes device number, auto-answer status and number of rings;
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是所监听到的调度电话的调度交换机连接事件时,所述SIPMessage即时消息体中的呼叫事件<CallEvent>元素包含调度交换机连接事件<connectEvent>元素,其进一步包含连接类型和连接状态。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is the dispatching switch connection event of the monitored dispatching phone, the call event <CallEvent> element in the SIPMessage instant message body contains the dispatching switch connection event <connectEvent> element , which further includes a connection type and a connection state.
当事件属性eventtype的取值表示SIPMessage即时消息体是从调度台发送给调度服务器的下行消息时,SIPMessage即时消息体中的事件消息元素包括操作事件<OperateEvent>元素,所述下行消息包括调度员的调度操作请求消息; When the value of the event attribute eventtype indicates that the SIPMessage instant message body is a downlink message sent from the dispatcher console to the dispatcher server, the event message element in the SIPMessage instant message body includes an operation event <OperateEvent> element, and the downlink message includes the dispatcher's Scheduling operation request message;
根据呼叫事件属性CallEventNo的取值,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包括如下元素中的一个或多个:调度台注册<DisRegCMD>元素、调度台注销<DisUnRegCMD>元素、呼叫发起<DisCallStartCMD>元素、呼叫应答<DisAnswerCMD>元素、呼叫释放<DisCallReleaseCMD>元素、呼叫保持<DisCallHoldCMD>元素、呼叫恢复<DisCallRetriveCMD>元素、呼叫盲转<DisCallForwardCMD>元素、呼叫协商<DisConsultationCallCMD>元素、呼叫代接<DisPickupCallCMD>元素、呼叫转接<DisTransferCallCMD>元素、呼叫驻留<DisParkCallCMD>元素、呼叫强插<DisCallInsertCMD>元素、呼叫强拆<DisCallRELCMD>元素、会议发起<DisConfStartCMD>元素、会议结束<DisConfRelCMD>元素、会议控制<DisConfCtrlCMD>元素、设置前转<DisSetForwardCMD>元素、设置开铃闭铃<DisSetRingCMD>元素和/或设置自动应答<DisSetAutoanswerCMD>元素。 According to the value of the call event attribute CallEventNo, the operation event <OperateEvent> element in the SIPMessage instant message body includes one or more of the following elements: dispatcher registration <DisRegCMD> element, dispatcher cancellation <DisUnRegCMD> element, call Initiate <DisCallStartCMD> element, call answer <DisAnswerCMD> element, call release <DisCallReleaseCMD> element, call hold <DisCallHoldCMD> element, call recovery <DisCallRetriveCMD> element, call blind transfer <DisCallForwardCMD> element, call negotiation <DisConsultationCallCMD> element, call Pickup <DisPickupCallCMD> element, call transfer <DisTransferCallCMD> element, call park <DisParkCallCMD> element, call intrusion <DisCallInsertCMD> element, call force release <DisCallRELCMD> element, conference initiation <DisConfStartCMD> element, conference end <DisConfRelCMD> element, conference control <DisConfCtrlCMD> element, set forwarding <DisSetForwardCMD> element, set ring opening and closing <DisSetRingCMD> element and/or set automatic answer <DisSetAutoanswerCMD> element.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台注册操作请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含调度台注册<DisRegCMD>元素,其进一步包括调度台左手柄号码、调度台右手柄号码、调度台组号码、调度台组紧急号码和注册时间。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a registration operation request to the dispatcher, the operation event <OperateEvent> element in the SIPMessage instant message body contains the dispatcher registration <DisRegCMD> element, which further includes the dispatcher Left handle number, dispatcher right handle number, dispatcher group number, dispatcher group emergency number and registration time.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台注销操作请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含调度台注销<DisUnRegCMD>元素,其进一步包括调度台左手柄号码、调度台右手柄号码、调度台组号码、调度台组紧急号码和注销时间。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a logout operation request to the dispatcher, the operation event <OperateEvent> element in the SIPMessage instant message body includes the dispatcher logout <DisUnRegCMD> element, which further includes the dispatcher Left handle number, dispatcher right handle number, dispatcher group number, dispatcher group emergency number and logout time.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台呼叫发起请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含呼叫发起<DisCallStartCMD>元素,其进一步包括调度台手柄号码、被叫号码和呼叫时间。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call initiation request to the dispatcher console, the operation event <OperateEvent> element in the SIPMessage instant message body contains the call initiation <DisCallStartCMD> element, which further includes the dispatcher console handle number, called number and call time.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台呼叫应答请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含呼叫应答<DisAnswerCMD>元素,其进一步包括调度台手柄号码、呼叫标识、主叫号码和应答时间。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call response request to the dispatcher console, the operation event <OperateEvent> element in the SIPMessage instant message body contains the call response <DisAnswerCMD> element, which further includes the dispatcher console handle number, call identification, calling number, and answer time.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台呼叫释放请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含呼叫释放<DisCallReleaseCMD>元素,其进一步包括调度台手柄号码、呼叫标识、用户号码和释放时间。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call release request to the dispatcher console, the operation event <OperateEvent> element in the SIPMessage instant message body contains the call release <DisCallReleaseCMD> element, which further includes the dispatcher console handle Number, Call ID, Subscriber Number and Release Time.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台呼叫保持请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含呼叫保持<DisCallHoldCMD>元素,其进一步包括调度台手柄号码、呼叫标识和被保持呼叫的号码。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call hold request to the dispatcher console, the operation event <OperateEvent> element in the SIPMessage instant message body contains the call hold <DisCallHoldCMD> element, which further includes the dispatcher console handle number, call ID, and number of held calls.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台呼叫恢复请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含呼叫恢复<DisCallRetriveCMD>元素,其进一步包括调度台手柄号码、呼叫标识和被恢复呼叫的号码。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call recovery request to the dispatcher, the operation event <OperateEvent> element in the SIPMessage instant message body contains a call recovery <DisCallRetriveCMD> element, which further includes the dispatcher handle number, call ID, and number from which the call was retrieved.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台呼叫盲转请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含呼叫盲转<DisCallForwardCMD>元素,其进一步包括调度台手柄号码、呼叫标识、主叫号码和转移目的号码。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call blind transfer request to the dispatcher, the operation event <OperateEvent> element in the SIPMessage instant message body includes a call blind transfer <DisCallForwardCMD> element, which further includes a dispatcher Handset number, call ID, calling number and transfer destination number.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台呼叫协商请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含呼叫协商<DisConsultationCallCMD>元素,其进一步包括调度台手柄号码、呼叫标识、呼叫另一方和咨询的电话号码。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call negotiation request to the dispatcher, the operation event <OperateEvent> element in the SIPMessage instant message body contains the call negotiation <DisConsultationCallCMD> element, which further includes the dispatcher handle number, call identification, telephone number to call another party and consult.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台呼叫代接请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含呼叫代接<DisPickupCallCMD>元素,其进一步包括调度台手柄号码、需代接的设备和需代接的呼叫。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call pickup request to the dispatcher, the operation event <OperateEvent> element in the SIPMessage instant message body includes a call pickup <DisPickupCallCMD> element, which further includes a dispatcher The handset number, the device to be picked up and the call to be picked up.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台呼叫转接请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含呼叫转接<DisTransferCallCMD>元素,其进一步包括调度台手柄号码、主呼叫标识和第二个呼叫标识。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call transfer request to the dispatcher, the operation event <OperateEvent> element in the SIPMessage instant message body includes a call transfer <DisTransferCallCMD> element, which further includes a dispatcher phone number, primary call ID and secondary call ID.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台呼叫驻留请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含呼叫驻留<DisParkCallCMD>元素,其进一步包括调度台手柄号码、呼叫标识、呼叫另一方和驻留的电话号码。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call park request to the dispatcher, the operation event <OperateEvent> element in the SIPMessage instant message body includes a call park <DisParkCallCMD> element, which further includes a dispatcher phone number, call ID, caller and parked phone number.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台呼叫强插请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含呼叫强插<DisCallInsertCMD>元素,其进一步包括调度台手柄号码、手柄呼叫标识、待插入呼叫的呼叫标识和待插入主叫/被叫号码。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call insertion request to the dispatcher, the operation event <OperateEvent> element in the SIPMessage instant message body includes a call insertion <DisCallInsertCMD> element, which further includes a dispatcher The handset number, the call ID of the handset, the call ID of the call to be inserted, and the calling/called number to be inserted.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是对调度台呼叫强拆请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含呼叫强拆<DisCallRELCMD>元素,其进一步包括调度台手柄号码、待插拆的呼叫标识和要进行通话的用户号码。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a call forced release request to the dispatcher console, the operation event <OperateEvent> element in the SIPMessage instant message body contains the call forced release <DisCallRELCMD> element, which further includes the dispatcher console handle number, the call ID to be plugged and removed, and the user number to make a call.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是会议发起请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含会议发起<DisConfStartCMD>元素,其进一步包括会议群组号、调度台手柄号码、会议呼叫标识、会议类型、原因、会议成员数、会议起始时间和会议持续时间。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a conference initiation request, the operation event <OperateEvent> element in the SIPMessage instant message body includes the conference initiation <DisConfStartCMD> element, which further includes the conference group number, scheduling Handle number, conference call ID, conference type, reason, number of conference members, conference start time and conference duration.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是会议结束请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含会议结束<DisConfRelCMD>元素,其进一步包括会议群组号、调度台手柄号码、会议呼叫标识、会议类型、原因、会议成员数、会议起始时间和会议持续时间。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a conference end request, the operation event <OperateEvent> element in the SIPMessage instant message body includes the conference end <DisConfRelCMD> element, which further includes the conference group number, scheduling Handle number, conference call ID, conference type, reason, number of conference members, conference start time and conference duration.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是会议控制请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含会议控制<DisConfCtrlCMD>元素,其进一步包括调度台手柄号码、会议呼叫标识、会议操作码、会议成员和资源名称。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a conference control request, the operation event <OperateEvent> element in the SIPMessage instant message body includes a conference control <DisConfCtrlCMD> element, which further includes the dispatcher handle number, conference Call ID, conference opcode, conference members, and resource names.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是设置前转请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含设置前转<DisSetForwardCMD>元素,其进一步包括调度台手柄号码、前转的目标号码和前转类型。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a forwarding request, the operation event <OperateEvent> element in the SIPMessage instant message body contains a set forwarding <DisSetForwardCMD> element, which further includes the dispatcher handle number , forwarded destination number and forwarded type.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是设置开铃闭铃请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含设置开铃闭铃<DisSetRingCMD>元素,其进一步包括调度台手柄号码和开铃/闭铃状态。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a request to set the ring opening and closing ring, the operation event <OperateEvent> element in the SIPMessage instant message body includes setting the ring opening and closing ring <DisSetRingCMD> element, which further includes Dispatcher console number and bell on/off status.
当呼叫事件属性CallEventNo的取值表示SIPMessage即时消息体是设置自动应答请求时,所述SIPMessage即时消息体中的操作事件<OperateEvent>元素包含设置自动应答<DisSetAutoanswerCMD>元素,其进一步包括调度台手柄号码、自动应答状态和振铃次数。 When the value of the call event attribute CallEventNo indicates that the SIPMessage instant message body is a request for setting an automatic answer, the operation event <OperateEvent> element in the SIPMessage instant message body contains an element for setting an automatic answer <DisSetAutoanswerCMD>, which further includes the dispatcher handle number , auto answer status and the number of rings.
表格1操作命令请求和响应 Table 1 Operation Command Request and Response
图3为实施例IP电话事件消息上报给调度台的流程图。调度服务器通过CSTA等标准的CTI协议监听到调度电话在整个呼叫过程中产生的事件,发送给调度台界面上包含该用户的所有调度台,调度服务器的SIP协议栈模块301使用SIP协议的Message方法,以SIPMessage即时消息体的形式将呼叫事件发送给SIP服务器的SIP协议栈模块101,SIP协议栈模块101收到消息后立即发送给目标调度台的SIP协议栈模块201,SIP协议栈模块201收到消息后立即回应200OK给SIP服务器的SIP协议栈模块101表示收到,SIP协议栈模块101收到200OK响应后立即发送给调度服务器的SIP协议栈模块301表示调度台收到呼叫事件消息,各个调度台处理接收到的呼叫事件在界面上通过按键颜色表示调度电话的呼叫状态。表格2中提供了呼叫事件的定义。 Fig. 3 is a flow chart of reporting an IP phone event message to a dispatching station in an embodiment. The dispatching server monitors the events generated by the dispatching phone during the entire call process through standard CTI protocols such as CSTA, and sends them to all dispatching stations including the user on the dispatching station interface. The SIP protocol stack module 301 of the dispatching server uses the Message method of the SIP protocol , send the call event to the SIP protocol stack module 101 of the SIP server in the form of a SIPMessage instant message body, the SIP protocol stack module 101 sends the message to the SIP protocol stack module 201 of the target dispatcher immediately after receiving the message, and the SIP protocol stack module 201 receives the message Respond 200OK to the SIP protocol stack module 101 of SIP server immediately after the message and represent receipt, and the SIP protocol stack module 301 that the SIP protocol stack module 101 sends to the dispatching server immediately after receiving the 200OK response indicates that the dispatcher receives the call event message, each The dispatcher handles the received call event, and the call status of the dispatcher phone is indicated by the color of the button on the interface. Definitions of call events are provided in Table 2.
表格2呼叫事件 Form 2 call event
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (12)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410524055.2A CN104243290B (en) | 2014-10-08 | 2014-10-08 | A dispatching platform communication method and system based on instant message |
ZA2014/08331A ZA201408331B (en) | 2014-10-08 | 2014-11-13 | A dispatching desk communication method based on instant messages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410524055.2A CN104243290B (en) | 2014-10-08 | 2014-10-08 | A dispatching platform communication method and system based on instant message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104243290A CN104243290A (en) | 2014-12-24 |
CN104243290B true CN104243290B (en) | 2016-01-27 |
Family
ID=52230680
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410524055.2A Active CN104243290B (en) | 2014-10-08 | 2014-10-08 | A dispatching platform communication method and system based on instant message |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104243290B (en) |
ZA (1) | ZA201408331B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102015007857A1 (en) * | 2015-06-18 | 2016-12-22 | Unify Gmbh & Co. Kg | Method for establishing a telecommunication connection in a telecommunication system and telecommunication system |
CN106790614B (en) * | 2016-12-30 | 2020-11-13 | 上海顶竹通讯技术有限公司 | Scheduling method and system based on cloud platform |
CN111277783B (en) * | 2018-12-05 | 2021-07-23 | 大唐移动通信设备有限公司 | Connection establishment method and device for captain mode video conference |
CN111988217B (en) | 2020-08-31 | 2022-09-23 | Oppo广东移动通信有限公司 | Data interaction method, device, electronic device and storage medium |
CN113779189B (en) * | 2021-04-09 | 2025-03-18 | 北京沃东天骏信息技术有限公司 | Communication request flow prediction method and device |
CN115802300A (en) * | 2022-11-07 | 2023-03-14 | 中信科移动通信技术股份有限公司 | Call forwarding configuration method, device and storage medium based on broadband cluster |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101502086A (en) * | 2006-06-08 | 2009-08-05 | 三德惬瑞公司 | Converged call center |
CN102984404A (en) * | 2012-11-08 | 2013-03-20 | 深圳中兴网信科技有限公司 | Voice communication scheduling command system |
CN103475683A (en) * | 2012-06-08 | 2013-12-25 | 中兴通讯股份有限公司 | Cloud contact resource scheduling and processing method and apparatus thereof |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
NO322831B1 (en) * | 2005-07-15 | 2006-12-11 | Tandberg Telecom As | Procedure for immediate conference call scheduling. |
TWI337490B (en) * | 2005-08-12 | 2011-02-11 | Samsung Electronics Co Ltd | System and method for transmitting system messages insession initiation protocol |
CN102882808B (en) * | 2012-10-12 | 2015-04-29 | 武汉钢铁(集团)公司 | IP (Internet Protocol) dispatching method an IP dispatching system realized by expanding SIP (Session Initiation Protocol) protocol |
-
2014
- 2014-10-08 CN CN201410524055.2A patent/CN104243290B/en active Active
- 2014-11-13 ZA ZA2014/08331A patent/ZA201408331B/en unknown
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101502086A (en) * | 2006-06-08 | 2009-08-05 | 三德惬瑞公司 | Converged call center |
CN103475683A (en) * | 2012-06-08 | 2013-12-25 | 中兴通讯股份有限公司 | Cloud contact resource scheduling and processing method and apparatus thereof |
CN102984404A (en) * | 2012-11-08 | 2013-03-20 | 深圳中兴网信科技有限公司 | Voice communication scheduling command system |
Also Published As
Publication number | Publication date |
---|---|
CN104243290A (en) | 2014-12-24 |
ZA201408331B (en) | 2016-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104243290B (en) | A dispatching platform communication method and system based on instant message | |
EP2150013A1 (en) | System, equipment and method for implementing special calling services | |
WO2008122219A1 (en) | A communication method, device and system for realizing scheduling communication service | |
CN102082884A (en) | Audio/video cooperation method and system based on 3G | |
JP2008011366A (en) | Key telephone set using sip, termination at group representative thereof and incoming call response method | |
CN102148828A (en) | Network system and method for realizing click to dial service based on capability open platform | |
WO2009152699A1 (en) | Sip terminal and the status reporting method, system and sip server thereof | |
JP4672571B2 (en) | Emergency call call back method, emergency call call back system, VoIP node device and program in VoIP network | |
KR101233736B1 (en) | System and method for bridge call appearance in distributed peer-to-peer network | |
JP2004364301A5 (en) | ||
WO2014056320A1 (en) | Calling method, device and system for achieving high-definition video calls | |
CN101022471A (en) | Method and system for realizing public telephone exchange network simulation service | |
WO2010148876A1 (en) | Method and device for controlling call of mobile terminal | |
CN102638452B (en) | Calling method and device based on VoIP (voice over internet phone) | |
CN102316228B (en) | The methods, devices and systems of attendant intrusion call are realized in central office service | |
CN105516123B (en) | The method and landing telephone service server of the networking telephone and telephone network telephone communication | |
EP2739026A1 (en) | Method and system for implementing simultaneous ringing group call in click to dial service | |
US20100118863A1 (en) | Method for Realizing a Re-Answer Call | |
CN109548179A (en) | Call conversation processing method and processing device, method of calling and system | |
CN105491049B (en) | Calling based on SIP enhances control method | |
EP2509272A1 (en) | Method and system for implementing call by media gateway | |
CN101218815B (en) | Device and a method allowing to successively use several terminal devices in a same voice communication | |
CN101895852A (en) | Method and calling terminal for realizing multiparty call | |
CN106341556B (en) | It is a kind of to realize the method and system being scheduled to public network user based on relaying | |
CN100471208C (en) | Method for Calling User to Reinitiate Call in Card Number 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 |