CN108377246B - Request response method, system, SIP server and SIP soft terminal - Google Patents

Request response method, system, SIP server and SIP soft terminal Download PDF

Info

Publication number
CN108377246B
CN108377246B CN201810164228.2A CN201810164228A CN108377246B CN 108377246 B CN108377246 B CN 108377246B CN 201810164228 A CN201810164228 A CN 201810164228A CN 108377246 B CN108377246 B CN 108377246B
Authority
CN
China
Prior art keywords
sip
automatic
request
hook
control information
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
CN201810164228.2A
Other languages
Chinese (zh)
Other versions
CN108377246A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201810164228.2A priority Critical patent/CN108377246B/en
Publication of CN108377246A publication Critical patent/CN108377246A/en
Application granted granted Critical
Publication of CN108377246B publication Critical patent/CN108377246B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • H04L65/4038Arrangements for multi-party communication, e.g. for conferences with floor control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/56Arrangements for connecting several subscribers to a common circuit, i.e. affording conference facilities
    • H04M3/567Multimedia conference systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the disclosure provides a request response method, a request response system, an SIP server and an SIP soft terminal, and relates to the technical field of communication. The method is applied to the SIP server and comprises the following steps: receiving a conference call establishment request initiated by an SIP soft terminal; analyzing the conference call establishing request to obtain an SIP account registered by the SIP soft terminal; creating a teleconference based on the teleconference creation request; constructing an SIP message including automatic off-hook control information; and after the SIP account is added into the teleconference, initiating a call request containing the SIP message to the SIP soft terminal according to the SIP account. By using the request response method, the system, the SIP server and the SIP soft terminal, the automatic off-hook control of the SIP soft terminal can be conveniently realized.

Description

Request response method, system, SIP server and SIP soft terminal
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a request response method, a request response system, an SIP server, and an SIP soft terminal.
Background
Session Initiation Protocol (SIP) is a multimedia communication Protocol established by the Internet Engineering Task Force (IETF). The method can support and be applied to multimedia services such as voice, video and data, and can also be applied to special services such as Presence and Instant Message. The SIP soft terminal telephone developed based on the SIP protocol has various properties, such as MicroSIP, EyeBeam and the like, can integrate a plurality of attributes such as voice, video, instant message, online state and the like, is safe and stable, and is widely applied. The inventor researches and discovers that the expansibility of the existing SIP protocol needs to be improved.
Disclosure of Invention
In view of this, an object of the embodiments of the present disclosure is to provide a request response method, a system, an SIP server and an SIP soft terminal.
In a first aspect, an embodiment of the present disclosure provides a request response method, which is applied to a SIP server, and the method includes:
receiving a conference call establishment request initiated by an SIP soft terminal;
analyzing the conference call establishing request to obtain an SIP account registered by the SIP soft terminal;
creating a teleconference based on the teleconference creation request;
constructing an SIP message including automatic off-hook control information;
and after the SIP account is added into the teleconference, initiating a call request containing the SIP message to the SIP soft terminal according to the SIP account.
In the technical solution provided in the foregoing first aspect, the SIP server creates a conference call based on the conference call creation request, constructs an SIP message including automatic off-hook control information, and initiates a call request including the SIP message to the SIP soft terminal, so that after the SIP soft terminal receives the call request, the SIP soft terminal can determine whether to add the SIP soft terminal to the created conference call through automatic off-hook according to the automatic off-hook control information in the SIP message, thereby implementing convenient control of automatic off-hook of the SIP soft terminal.
Optionally, with reference to the technical solution provided by the first aspect, in a first possible design, the step of constructing an SIP packet including automatic off-hook control information includes:
and adding a preset extension field into a protocol header of the SIP message, and setting the value of the extension field.
Therefore, in the embodiment of the present disclosure, the preset extension field is used as the automatic off-hook control information, and whether to perform automatic off-hook is set by setting different values for the extension field, so that the implementation is convenient and flexible.
Optionally, with reference to the first possible design of the first aspect, in another possible design, the step of setting the value of the extension field includes:
and setting the value of the extension field as a character for representing the starting of the automatic off-hook function.
In the embodiment of the disclosure, the value of the extension field is set as the character representing the starting of the automatic off-hook function, so that the SIP soft terminal can join the created conference call through the automatic off-hook after receiving the call request, and the convenience and the efficiency of joining the conference call are improved.
In a second aspect, an embodiment of the present disclosure provides a request response method, which is applied to an SIP soft terminal, and the method includes:
initiating a conference call creation request to an SIP server;
receiving a call request returned by the SIP server based on the teleconference creation request;
analyzing the call request to obtain an SIP message;
and judging whether the SIP message carries automatic off-hook control information or not, and if the SIP message carries the automatic off-hook control information, judging whether the SIP soft terminal is added into the teleconference which is created by the SIP server based on the teleconference creation request through automatic off-hook according to the automatic off-hook control information.
In the technical solution provided in the embodiment of the second aspect, after receiving the call request, the SIP soft terminal determines whether the SIP message has the automatic off-hook control information, and determines whether the SIP soft terminal is added to the corresponding conference call through automatic off-hook according to the automatic off-hook control information, so as to implement convenient control on whether the SIP soft terminal automatically off-hooks.
Optionally, with reference to the technical solution provided by the second aspect, in a first possible design, the automatic off-hook control information includes a preset extension field, and the step of determining whether the SIP packet carries the automatic off-hook control information includes:
and judging whether the SIP message carries the preset extension field.
Therefore, in the embodiment of the present disclosure, whether the SIP packet carries the automatic off-hook control information is determined according to the preset extension field, which is convenient and flexible to implement.
Optionally, with reference to the first possible design of the second aspect, in another possible design, the automatic off-hook control information further includes a value of the extension field, and the step of determining, according to the automatic off-hook control information, whether to join the SIP soft terminal into a conference call created by the SIP server based on the conference call creation request by automatic off-hook includes:
and judging whether the value of the extension field is matched with the character representing the starting of the automatic off-hook function, if so, adding the SIP soft terminal into the teleconference established by the SIP server based on the teleconference establishing request through automatic off-hook.
In the embodiment of the disclosure, the value of the extension field is compared with the character representing the starting of the automatic off-hook function, and whether the SIP soft terminal is added into the corresponding teleconference through automatic off-hook is judged according to the matching of the extension field and the character representing the starting of the automatic off-hook function, so that the implementation is convenient and flexible.
In a third aspect, an embodiment of the present disclosure provides a SIP server, including:
the request receiving module is used for receiving a conference call establishment request initiated by the SIP soft terminal;
the information processing module is used for analyzing the conference call establishing request to obtain an SIP account registered by the SIP soft terminal;
the data creation module is used for creating the telephone conference based on the telephone conference creation request and constructing an SIP message comprising automatic off-hook control information;
and the request sending module is used for initiating a call request containing the SIP message to the SIP soft terminal according to the SIP account after the SIP account is added into the teleconference.
Optionally, with reference to the technical solution provided by the third aspect, in a first possible design, the data creating module constructs an SIP packet including automatic off-hook control information by:
and adding a preset extension field into a protocol header of the SIP message, and setting the value of the extension field.
With reference to the first possible design of the third aspect, in another possible design, the data creation module sets the value of the extension field by:
and setting the value of the extension field as a character for representing the starting of the automatic off-hook function.
In a fourth aspect, an embodiment of the present disclosure provides an SIP soft terminal, including:
the information sending module is used for initiating a conference call establishment request to the SIP server;
an information receiving module, configured to receive a call request returned by the SIP server based on the teleconference creation request;
and the request processing module is used for analyzing the call request to obtain an SIP message, judging whether the SIP message carries automatic off-hook control information, and judging whether the SIP soft terminal is added into the teleconference created by the SIP server based on the teleconference creation request through automatic off-hook according to the automatic off-hook control information if the SIP message carries the automatic off-hook control information.
Optionally, with reference to the technical solution provided by the fourth aspect, in a first possible design, the automatic off-hook control information includes a preset extension field, and the request processing module determines whether the SIP packet carries the automatic off-hook control information through the following steps:
and judging whether the SIP message carries the preset extension field.
With reference to the first possible design of the fourth aspect, in another possible design, the automatic off-hook control information further includes a value of the extension field, and the request processing module determines, according to the automatic off-hook control information, whether to join the SIP soft terminal into a conference call created by the SIP server based on the conference call creation request through automatic off-hook, by:
and judging whether the value of the extension field is matched with the character representing the starting of the automatic off-hook function, if so, adding the SIP soft terminal into the teleconference established by the SIP server based on the teleconference establishing request through automatic off-hook.
In a fifth aspect, an embodiment of the present disclosure provides a request response system, which includes the SIP server and the SIP soft terminal.
According to the request response method, the system, the SIP server and the SIP soft terminal provided by the embodiment of the disclosure, the SIP soft terminal initiates a conference call establishment request to the SIP server, the SIP server establishes a conference call based on the conference call establishment request, constructs an SIP message including automatic off-hook control information, and initiates a call request including the SIP message to the SIP soft terminal, so that after the SIP soft terminal receives the call request, whether the SIP soft terminal is added into the conference call established by the SIP server through automatic off-hook can be judged according to the automatic off-hook control information in the SIP message, and convenient control over automatic off-hook of the SIP soft terminal is realized.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present disclosure, and therefore should not be considered as limiting the scope, and it will be apparent to those skilled in the art that other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a block diagram of a request response system according to an embodiment of the present disclosure.
Fig. 2 is a flowchart of a request response method according to an embodiment of the present disclosure.
Fig. 3 is another flowchart of a request response method according to an embodiment of the present disclosure.
Fig. 4 is a block diagram of a SIP server according to an embodiment of the present disclosure.
Fig. 5 is a block diagram of modules of an SIP soft terminal according to an embodiment of the present disclosure.
Icon: 10-a SIP server; 11-a request receiving module; 12-an information processing module; 13-a data creation module; 14-a request sending module; 20-SIP soft terminal; 21-an information sending module; 22-an information receiving module; 23-request processing module.
Detailed Description
The inventor finds that although the SIP soft terminal telephone can integrate a plurality of attributes such as voice, video, instant message, online state and the like, is safe and stable, and has a wide application range in the process of implementing the technical scheme provided by the embodiment of the disclosure, the SIP protocol cannot meet the extension requirement in many cases because the SIP protocol is a standard protocol, for example, when a specific function is to be implemented in the development process, the SIP soft terminal must be customized by the inventor to implement additional control, and the implementation process is complex.
The inventor finds that in the process of carrying out the teleconference based on the SIP protocol, if the SIP soft terminal of the initiator terminal of the teleconference can be automatically identified and controlled to automatically pick up the telephone and join the corresponding teleconference, the convenience and the efficiency of joining the teleconference can be obviously improved, and the flexibility and the expandability of carrying out the teleconference based on the SIP protocol can be improved.
Based on the above research, the embodiment of the present disclosure provides a request response scheme, where after receiving a conference call creation request initiated by an SIP soft terminal, an SIP server calls an SIP account agent terminal registered by the SIP soft terminal and adds the agent terminal to the created conference call, the SIP server initiates a call request to the SIP soft terminal and adds an SIP message including automatic off-hook control information to the call request, and the SIP soft terminal analyzes the call request after receiving the call request, and may determine whether to add the SIP to a corresponding conference call by automatic off-hook according to the automatic off-hook control information. Therefore, the user does not need to perform complex configuration on the SIP soft terminal side, the user-defined control can be realized by adding the user-defined automatic off-hook control information into the SIP message through the SIP server, the complex service logic can be realized, and the expansibility is strong.
The defects existing in the above solutions are the results obtained after the inventor has practiced and studied carefully, so the discovery process of the above problems and the solutions proposed by the embodiments of the present disclosure in the following description should be the contribution of the inventor to the present invention in the course of the present invention.
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Referring to fig. 1, a request response system according to an embodiment of the present disclosure includes an SIP server 10 and an SIP soft terminal 20.
The SIP soft terminal 20 is configured to initiate a conference call creation request to the SIP server 10, the SIP server 10 is configured to create a conference call based on the conference call creation request, construct an SIP message including automatic off-hook control information, and initiate a call request including the SIP message to the SIP soft terminal 20, and the SIP soft terminal 20 is configured to receive the call request, and determine whether to join the conference call created by the SIP server 10 by automatic off-hook according to the automatic off-hook control information in the SIP message of the call request.
Specifically, referring to fig. 2 in combination, the SIP server 10 responds to the conference call creation request initiated by the SIP softterminal 20 through steps S11 to S15, and the specific flow shown in fig. 2 will be described in detail below.
Step S11, receiving a conference call creation request initiated by SIP soft terminal 20.
SIP server 10 may receive a conference call creation request initiated by SIP soft terminal 20 through an external interface. The teleconference creation request may be initiated by a Simple Object Access Protocol (SOAP Protocol). The conference call creation request carries the SIP account registered in the SIP server 10 by the SIP soft terminal 20 of the conference initiator terminal.
The SOAP protocol is a protocol specification for exchanging data, and is a lightweight, simple, XML (eXtensible Markup Language) -based protocol that can exchange structured and solidified information on WEB (global area network or world wide WEB).
Step S12, the conference call creation request is analyzed to obtain the SIP account registered by the SIP soft terminal 20.
Step S13, creating a teleconference based on the teleconference creation request.
Step S14, constructing an SIP message including automatic off-hook control information.
The SIP message is a data message for initiating a call, the automatic off-hook control information may be a self-defined extension field, and accordingly, constructing the SIP message including the automatic off-hook control information may be implemented in the following manner: and adding a preset extension field into a protocol header of the SIP message, and setting the value of the extension field.
The preset extension field and the value of the extension field can be flexibly set, for example, the extension field can be customized, and the value of the extension field is set to be a character representing that the automatic off-hook function is turned on or a character representing that the automatic off-hook function is turned off. For example, the extension field may be X-MP-Pickup, the value is set to Auto or Non Auto, the extension field X-MP-Pickup is included in the protocol header of the SIP message, and when the value is Auto, it is identified that the automatic off-hook control information exists, and the control scheme is to perform automatic off-hook. And when the protocol header of the SIP message comprises an extension field X-MP-Pickup and the value is Non Auto, identifying that automatic off-hook control information exists, and performing automatic off-hook in the control scheme. It should be understood that the extension field may be other fields, for example, Pickup Control may be used, and the value may be set to On or Off, as long as the automatic Off-hook Control information can be identified and whether to perform automatic Off-hook is performed, which is not limited in this embodiment.
Step S15, after the SIP account is added to the conference call, a call request including the SIP message is initiated to the SIP soft terminal 20 according to the SIP account.
After receiving the conference call creation request initiated by the SIP soft terminal 20, the SIP server 10 calls an SIP account agent end registered by the SIP soft terminal 20 of the conference initiator terminal according to the SIP account carried in the conference call creation request, and adds the SIP account agent end into the conference call, and the SIP account agent end of the SIP soft terminal 20 rings after receiving the call request. The SIP soft terminal 20 receives the call request, analyzes the call request, and determines whether to join the corresponding conference call by automatic off-hook according to the automatic off-hook control information.
Referring to fig. 3, the SIP soft terminal 20 of the conference initiator terminal responds to the call request initiated by the SIP server 10 through steps S21 to S25.
Step S21, a teleconference creation request is initiated to the SIP server 10.
SIP soft terminal 20 may initiate a conference call creation request to SIP server 10 through an external interface of SIP server 10. The teleconference creation request may be initiated by a Simple Object Access Protocol (SOAP Protocol). The conference call creation request carries the SIP account registered in the SIP server 10 by the SIP soft terminal 20 of the conference initiator terminal.
Step S22, receiving a call request returned by the SIP server 10 based on the conference call creation request.
The call request returned by the SIP server 10 can be realized through steps S11 to S15 in fig. 2, and accordingly, the call request includes an SIP message, and the SIP message includes automatic off-hook control information. The call request returned by the SIP server 10 may also be a call request in the prior art, and accordingly, the SIP message in the call request does not include the automatic off-hook control information.
It should be understood that whether the request response function in the embodiment of the present disclosure is turned on may be selected on the SIP server 10 side, and when the function is turned on, the SIP server 10 constructs a SIP message including automatic off-hook control information, and when the function is not turned on, the SIP server 10 does not perform the step of constructing a SIP message including automatic off-hook control information.
And step S23, analyzing the call request to obtain an SIP message.
Step S24, determining whether the SIP packet carries automatic off-hook control information, and if the SIP packet carries the automatic off-hook control information, executing step S25.
If the SIP message obtained by analyzing the call request does not carry the automatic off-hook control information, the call request is a common call request in the prior art, and in this case, the processing is performed according to the existing flow.
Optionally, the automatic off-hook control information includes a preset extension field, and accordingly, the determination of whether the SIP message carries the automatic off-hook control information is implemented by the following steps: and judging whether the SIP message carries the preset extension field.
The preset extension field can be flexibly set, for example, the extension field can be X-MP-Pickup. For another example, the extension field may be Pickup Control, as long as the automatic off-hook Control information can be identified, which is not limited in this embodiment.
Step S25, determining whether to join the SIP soft terminal 20 into the conference call created by the SIP server 10 based on the conference call creation request by automatic off-hook according to the automatic off-hook control information.
In order to realize flexible control of automatic off-hook of the SIP soft terminal 20, the automatic off-hook control information may be set differently, for example, when the automatic off-hook control information includes a preset extension field, the automatic off-hook control information may further include a value of the extension field, and different values of the extension field respectively identify that automatic off-hook is performed or automatic off-hook is not performed. Accordingly, the SIP soft terminal 20 recognizes the value included in the automatic off-hook control information, that is, can determine whether or not to join the conference call created by the SIP server 10 based on the conference call creation request by automatic off-hook. For example, the step of determining whether to join the SIP soft terminal 20 into the conference call created by the SIP server 10 based on the conference call creation request by automatic off-hook according to the automatic off-hook control information may be implemented by: and judging whether the value of the extension field is matched with the character representing the starting of the automatic off-hook function, and if the value of the extension field is matched with the character representing the starting of the automatic off-hook function, adding the SIP soft terminal 20 into the teleconference created by the SIP server 10 based on the teleconference creation request through automatic off-hook.
The preset extension field and the value of the extension field can be flexibly set, for example, the extension field can be customized, and the value of the extension field is set to be a character representing that the automatic off-hook function is turned on or a character representing that the automatic off-hook function is turned off. For example, the extension field may be X-MP-Pickup, the value is set to Auto or Non Auto, the SIP soft terminal 20 recognizes that the extension field X-MP-Pickup is included in the protocol header of the SIP message, and when the value is Auto, it identifies that the automatic off-hook control information exists, and the control scheme is to perform automatic off-hook, and the SIP soft terminal 20 thereby performs the automatic off-hook action. The SIP soft terminal 20 recognizes that the protocol header of the SIP message includes an extension field X-MP-Pickup, and when the value is Non Auto, the automatic off-hook control information is identified, and the control scheme is that the automatic off-hook is not executed, so that the SIP soft terminal 20 does not execute the automatic off-hook action. It should be understood that the extension field may be other fields, for example, Pickup Control may be used, and the value may be set to On or Off, as long as the automatic Off-hook Control information can be identified and whether to perform automatic Off-hook is performed, which is not limited in this embodiment.
On the basis of the above, as shown in fig. 4, an embodiment of the present disclosure provides an SIP server 10, including: a request receiving module 11, an information processing module 12, a data creating module 13, and a request transmitting module 14.
The request receiving module 11 is configured to receive a conference call creation request initiated by the SIP soft terminal 20.
Since the principle of implementation of the request receiving module 11 and the step S11 in fig. 2 is similar, no further description is provided here.
The information processing module 12 is configured to parse the conference call creation request to obtain the SIP account registered by the SIP soft terminal 20.
Since the information processing module 12 is similar to the implementation principle of step S12 in fig. 2, it will not be further described here.
The data creating module 13 is configured to create a teleconference based on the teleconference creation request, and construct an SIP message including automatic off-hook control information.
Since the data creating module 13 is similar to the implementation principle of step S13 and step S14 in fig. 2, no further description is made here.
The request sending module 14 is configured to initiate a call request including the SIP packet to the SIP soft terminal 20 according to the SIP account after the SIP account is added to the conference call.
Since the implementation principle of the request sending module 14 is similar to that of step S15 in fig. 2, no further description is provided here.
Optionally, the data creating module 13 constructs an SIP message including automatic off-hook control information by: and adding a preset extension field into a protocol header of the SIP message, and setting the value of the extension field.
Optionally, the data creating module 13 sets the value of the extension field by: and setting the value of the extension field as a character for representing the starting of the automatic off-hook function.
The implementation process and the working principle of the SIP server 10 are similar to those of the method in fig. 2, and the corresponding contents may refer to the description of the method embodiment in fig. 2, and therefore are not described herein again.
On the basis, as shown in fig. 5, an embodiment of the present disclosure provides an SIP soft terminal 20, including: an information sending module 21, an information receiving module 22 and a request processing module 23.
Wherein, the information sending module 21 is configured to initiate a conference call creation request to the SIP server 10.
Since the information sending module 21 is similar to the implementation principle of step S21 in fig. 3, it will not be further described here.
The information receiving module 22 is configured to receive a call request returned by the SIP server 10 based on the conference call creation request.
Since the information receiving module 22 is similar to the implementation principle of step S22 in fig. 3, it will not be further described here.
The request processing module 23 is configured to analyze the call request to obtain an SIP message, determine whether the SIP message carries automatic off-hook control information, and if the SIP message carries the automatic off-hook control information, determine whether the SIP soft terminal 20 is added to the teleconference created by the SIP server 10 based on the teleconference creation request through automatic off-hook according to the automatic off-hook control information.
Since the principle of implementation of the request processing module 23 is similar to that of steps S23 to S25 in fig. 3, no further description is provided here.
Optionally, the automatic off-hook control information includes a preset extension field, and the request processing module 23 determines whether the SIP packet carries the automatic off-hook control information by the following steps: and judging whether the SIP message carries the preset extension field.
Optionally, the automatic off-hook control information further includes a value of the extension field, and the request processing module 23 determines whether to join the SIP soft terminal 20 into the conference call created by the SIP server 10 based on the conference call creation request by automatic off-hook according to the automatic off-hook control information by: and judging whether the value of the extension field is matched with the character representing the starting of the automatic off-hook function, and if the value of the extension field is matched with the character representing the starting of the automatic off-hook function, adding the SIP soft terminal 20 into the teleconference created by the SIP server 10 based on the teleconference creation request through automatic off-hook.
The request response method, system, SIP server 10 and SIP soft terminal 20 in the embodiments of the present disclosure perform clever extension on the SIP protocol field, add automatic off-hook control information, such as a preset extension field and assign a value, to the SIP message, so that the SIP soft terminal 20 parses the SIP message, and automatically determine whether the SIP soft terminal 20 of the conference initiator terminal automatically off-hooks according to whether the preset extension field is included and whether the value of the extension field matches with a pre-stored character representing that the automatic off-hook function is started when the preset extension field is included, which is convenient to implement, and can implement complex service logic and has strong extensibility.
In the embodiment of the present disclosure, the SIP is a multimedia communication protocol established by IETF (Internet Engineering Task Force). It is a text-based application-layer control protocol for creating, modifying and releasing sessions of one or more participants. The present invention is widely applied to CS (Circuit Switched), NGN (Next Generation Network) and IMS (IP Multimedia Subsystem) networks, and can support and apply to Multimedia services such as voice, video, data, and the like, and also can apply to feature services such as Presence, Instant Message, and the like.
The SIP soft terminal 20 is a SIP user agent, also called SIP terminal, and is an end user in the SIP system, and the SIP soft terminal 20 can be installed in an initiator terminal of a conference.
The SIP server 10 may be an IP PBX server, which is an IP-based telephone system, and also written like an IP PBX or IP-PBX. This system can fully integrate voice communications into a defined data network, thereby creating a unified voice and data network capable of connecting subscribers distributed throughout the world.
In the several embodiments provided in the embodiments of the present disclosure, it should be understood that the disclosed system and method may be implemented in other manners. The system and method embodiments described above are merely illustrative, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only an alternative embodiment of the present invention and is not intended to limit the present invention, and various modifications and variations of the present invention may occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

1. A request response method applied to a SIP server, the method comprising:
receiving a conference call establishment request initiated by an SIP soft terminal;
analyzing the conference call establishing request to obtain an SIP account registered by the SIP soft terminal;
creating a teleconference based on the teleconference creation request;
constructing an SIP message including automatic off-hook control information;
after the SIP account is added into the teleconference, a calling request containing the SIP message is initiated to the SIP soft terminal according to the SIP account, and the calling request is used for judging whether the corresponding teleconference is added through automatic off-hook by the SIP soft terminal according to the automatic off-hook control information in the calling request.
2. The request response method according to claim 1, wherein the step of constructing an SIP message including automatic off-hook control information includes:
and adding a preset extension field into a protocol header of the SIP message, and setting the value of the extension field.
3. The request response method according to claim 2, wherein the step of setting the value of the extension field comprises:
and setting the value of the extension field as a character for representing the starting of the automatic off-hook function.
4. A request response method is applied to a SIP soft terminal, and comprises the following steps:
initiating a conference call creation request to an SIP server;
receiving a call request returned by the SIP server based on the teleconference creation request;
analyzing the call request to obtain an SIP message;
and judging whether the SIP message carries automatic off-hook control information or not, and if the SIP message carries the automatic off-hook control information, judging whether the SIP soft terminal is added into the teleconference which is created by the SIP server based on the teleconference creation request through automatic off-hook according to the automatic off-hook control information.
5. The method according to claim 4, wherein the automatic off-hook control information includes a preset extension field, and the step of determining whether the SIP packet carries the automatic off-hook control information includes:
and judging whether the SIP message carries the preset extension field.
6. The request response method according to claim 5, wherein the automatic off-hook control information further includes a value of the extension field, and the step of determining whether to join the SIP soft terminal to the conference call created by the SIP server based on the conference call creation request by automatic off-hook according to the automatic off-hook control information includes:
and judging whether the value of the extension field is matched with the character representing the starting of the automatic off-hook function, if so, adding the SIP soft terminal into the teleconference established by the SIP server based on the teleconference establishing request through automatic off-hook.
7. A SIP server, comprising:
the request receiving module is used for receiving a conference call establishment request initiated by the SIP soft terminal;
the information processing module is used for analyzing the conference call establishing request to obtain an SIP account registered by the SIP soft terminal;
the data creation module is used for creating the telephone conference based on the telephone conference creation request and constructing an SIP message comprising automatic off-hook control information;
and the request sending module is used for initiating a call request containing the SIP message to the SIP soft terminal according to the SIP account after the SIP account is added into the teleconference, and is used for judging whether to add the corresponding teleconference through automatic off-hook according to the automatic off-hook control information in the call request by the SIP soft terminal.
8. The SIP server of claim 7, wherein the data creation module constructs the SIP message including the automatic off-hook control information by:
and adding a preset extension field into a protocol header of the SIP message, and setting the value of the extension field.
9. The SIP server of claim 8, wherein the data creation module sets the value of the extension field by:
and setting the value of the extension field as a character for representing the starting of the automatic off-hook function.
10. A SIP soft terminal, comprising:
the information sending module is used for initiating a conference call establishment request to the SIP server;
an information receiving module, configured to receive a call request returned by the SIP server based on the teleconference creation request;
and the request processing module is used for analyzing the call request to obtain an SIP message, judging whether the SIP message carries automatic off-hook control information, and judging whether the SIP soft terminal is added into the teleconference created by the SIP server based on the teleconference creation request through automatic off-hook according to the automatic off-hook control information if the SIP message carries the automatic off-hook control information.
11. The SIP soft terminal according to claim 10, wherein the automatic off-hook control information includes a preset extension field, and the request processing module determines whether the SIP packet carries the automatic off-hook control information by:
and judging whether the SIP message carries the preset extension field.
12. The SIP soft terminal according to claim 11, wherein the automatic off-hook control information further includes a value of the extension field, and the request processing module judges whether the SIP soft terminal is added by automatic off-hook to a conference call created by the SIP server based on the conference call creation request, according to the automatic off-hook control information, by:
and judging whether the value of the extension field is matched with the character representing the starting of the automatic off-hook function, if so, adding the SIP soft terminal into the teleconference established by the SIP server based on the teleconference establishing request through automatic off-hook.
13. A request response system comprising a SIP server according to any of claims 7 to 9 and a SIP soft terminal according to any of claims 10 to 12.
CN201810164228.2A 2018-02-27 2018-02-27 Request response method, system, SIP server and SIP soft terminal Active CN108377246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810164228.2A CN108377246B (en) 2018-02-27 2018-02-27 Request response method, system, SIP server and SIP soft terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810164228.2A CN108377246B (en) 2018-02-27 2018-02-27 Request response method, system, SIP server and SIP soft terminal

Publications (2)

Publication Number Publication Date
CN108377246A CN108377246A (en) 2018-08-07
CN108377246B true CN108377246B (en) 2020-12-25

Family

ID=63018296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810164228.2A Active CN108377246B (en) 2018-02-27 2018-02-27 Request response method, system, SIP server and SIP soft terminal

Country Status (1)

Country Link
CN (1) CN108377246B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520805B (en) * 2022-01-20 2024-01-16 厦门亿联网络技术股份有限公司 Conference system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039327A (en) * 2007-04-24 2007-09-19 中兴通讯股份有限公司 Method and system for supporting multiple services using SIP protocol
CN101267325A (en) * 2007-03-16 2008-09-17 华为技术有限公司 Method, conference server and terminal for originating and joining in conference session
CN101369906A (en) * 2007-08-13 2009-02-18 华为技术有限公司 Conference service implementing method and apparatus
CN102891831A (en) * 2011-07-20 2013-01-23 中兴通讯股份有限公司 Implement method of multimedia conferencing service and related equipment
CN104284033A (en) * 2013-07-04 2015-01-14 深圳市潮流网络技术有限公司 Multi-party teleconference reservation method and communication devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130148582A1 (en) * 2011-11-17 2013-06-13 Tip Solutions, Inc. Message injection system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267325A (en) * 2007-03-16 2008-09-17 华为技术有限公司 Method, conference server and terminal for originating and joining in conference session
CN101039327A (en) * 2007-04-24 2007-09-19 中兴通讯股份有限公司 Method and system for supporting multiple services using SIP protocol
CN101369906A (en) * 2007-08-13 2009-02-18 华为技术有限公司 Conference service implementing method and apparatus
CN102891831A (en) * 2011-07-20 2013-01-23 中兴通讯股份有限公司 Implement method of multimedia conferencing service and related equipment
CN104284033A (en) * 2013-07-04 2015-01-14 深圳市潮流网络技术有限公司 Multi-party teleconference reservation method and communication devices

Also Published As

Publication number Publication date
CN108377246A (en) 2018-08-07

Similar Documents

Publication Publication Date Title
JP4673369B2 (en) Method and apparatus for providing correlation means in a hybrid communication network
JP4728332B2 (en) Method and system for retrieving a network address in a hybrid communication network
US20040006623A1 (en) Service providing mechanism
US8494527B2 (en) Method for transferring a communication session in a telecommunications network from a first connection to a second connection
WO2005041526A1 (en) Enabling collaborative applications using session initiation protocol (sip) based voice over internet protocol (voip) networks
US9246955B2 (en) Capability query handling in a communication network
EP2892186A1 (en) Method and server enabling a first user to automatically discover the social network identifiers of a second user and the respective statuses of this second user in these social networks
CN100574474C (en) Set up the method that communication traffic connects in a kind of communication system
JP4794363B2 (en) Terminal connection program and device
CN108377246B (en) Request response method, system, SIP server and SIP soft terminal
CN1988546A (en) Method and system for obtaining conversation start protocol news transmission path
US8885668B2 (en) Automated URL transmission to enable multimedia services
US8249238B2 (en) Dynamic key exchange for call forking scenarios
JP2012105109A (en) Communication system and server
US20140211788A1 (en) Method and a system to discover and establish an enriched communication channel in a voice call
US11201898B2 (en) SIP proxy server, communication method and SIP proxy program
CN108337244B (en) SIP protocol-based intercom communication method, server, medium and equipment
WO2017000481A1 (en) Dialing method and apparatus for voice call
CN107852577A (en) A kind of supplementary service implementation method, terminal device and IMS service device
CN104836813B (en) Realize the method and system of sip terminal CSC
JP4187209B2 (en) Packet filtering apparatus and packet filtering control program
JP6663879B2 (en) Ring tone providing auxiliary device, ring tone providing auxiliary method, and ring tone providing auxiliary program
JP6040107B2 (en) Data management server
CN116234059A (en) Interaction method and device for media functions
US20140143314A1 (en) Communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant