CN107770175B - Soft switch calling method and system - Google Patents

Soft switch calling method and system Download PDF

Info

Publication number
CN107770175B
CN107770175B CN201710995653.1A CN201710995653A CN107770175B CN 107770175 B CN107770175 B CN 107770175B CN 201710995653 A CN201710995653 A CN 201710995653A CN 107770175 B CN107770175 B CN 107770175B
Authority
CN
China
Prior art keywords
access gateway
equipment
gateway device
gateway equipment
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
CN201710995653.1A
Other languages
Chinese (zh)
Other versions
CN107770175A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201710995653.1A priority Critical patent/CN107770175B/en
Publication of CN107770175A publication Critical patent/CN107770175A/en
Application granted granted Critical
Publication of CN107770175B publication Critical patent/CN107770175B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a soft switch calling method and a system, wherein the method comprises the following steps: when a calling user under the jurisdiction of a first access gateway device sends a call to a called user, the first access gateway device judges whether the called user is a user under the jurisdiction of a second access gateway device supporting the same protocol as the first access gateway device according to pre-acquired information of the second access gateway device; and if the first access gateway equipment judges that the called user is a user under the jurisdiction of second access gateway equipment supporting the same protocol with the first access gateway equipment, directly establishing connection between the first access gateway equipment and the second access gateway equipment, thereby effectively reducing the pressure of the soft switch equipment.

Description

Soft switch calling method and system
Technical Field
The present invention relates to the field of communications, and in particular, to a method and system for soft switch calling.
Background
The basic meaning of the soft switch is to separate the call control function from the media gateway, i.e. the transport layer, and to implement the basic call control function by software, thereby implementing the separation of call transmission and call control. The network of the soft switch architecture mainly comprises soft switch equipment, a relay gateway, a signaling gateway and an access gateway. The access gateway is used to directly access a user terminal to an IP (Internet Protocol, Protocol for interconnection between networks) packet network, provide media mapping and transcoding functions between the IP network and the user terminal, packetize a media stream and transmit the packetized media stream over the packet network.
In the existing soft switch calling and releasing method, because each step of process needs to involve soft switch equipment, when the number of access gateways administered by the soft switch equipment is huge and the calling frequency is frequent, the soft switch equipment can bear heavy load, thereby affecting the quality of calling service.
Disclosure of Invention
The invention provides a soft switch calling method and a system, which can effectively reduce the pressure of soft switch equipment.
In order to achieve the above object, the present invention provides a soft switch calling method, including:
when a calling user under the jurisdiction of a first access gateway device sends a call to a called user, the first access gateway device judges whether the called user is a user under the jurisdiction of a second access gateway device supporting the same protocol as the first access gateway device according to pre-acquired information of the second access gateway device;
and if the first access gateway equipment judges that the called user is a user under the jurisdiction of second access gateway equipment supporting the same protocol with the first access gateway equipment, directly establishing connection between the first access gateway equipment and the second access gateway equipment.
Optionally, when the calling user administered by the first access gateway device sends a call to the called user, the first access gateway device further includes, before determining, according to the pre-obtained second access gateway device information, whether the called user is a user administered by a second access gateway device supporting the same protocol as the first access gateway device:
the soft switch equipment broadcasts the second access gateway equipment information to all access gateway equipment under the same area code, wherein all the access gateway equipment comprises first access gateway equipment;
the first access gateway equipment stores the information of the second access gateway equipment according to the protocol supported by the first access gateway equipment, and the information of the second access gateway equipment comprises the protocol supported by the second access gateway equipment, the telephone number administered by the second access gateway equipment and the Internet protocol address of the second access gateway equipment.
Optionally, before the softswitch broadcasts the second access gateway device information to all access gateway devices under the same area code, the softswitch further includes:
the second access gateway equipment sends a registration request to the soft switch equipment, wherein the registration request comprises second access gateway equipment information;
the soft switch device authenticates the second access gateway device according to the registration request;
and if the soft switch equipment passes the authentication of the second access gateway equipment, the soft switch equipment sends registration success information to the second access gateway equipment and stores the information of the second access gateway equipment.
Optionally, when the calling user administered by the first access gateway device sends a call to the called user, the first access gateway device further includes, before determining, according to the pre-obtained second access gateway device information, whether the called user is a user administered by a second access gateway device supporting the same protocol as the first access gateway device:
the first access gateway equipment and the second access gateway equipment establish connection for the first time through soft switch equipment;
the first access gateway equipment stores the information of the second access gateway equipment according to the protocol supported by the first access gateway equipment, and the information of the second access gateway equipment comprises the protocol supported by the second access gateway equipment, the telephone number administered by the second access gateway equipment and the Internet protocol address of the second access gateway equipment.
Optionally, the directly establishing a connection between the first access gateway device and the second access gateway device includes:
the first access gateway equipment performs call preparation;
the second access gateway equipment performs call preparation;
the first access gateway device and the second access gateway device perform a ringing process.
Optionally, the first access gateway device performing call preparation includes:
the first access gateway device creates a first state object;
the first access gateway equipment sends the information of the first state object to second access gateway equipment, wherein the information of the first state object comprises a real-time transmission protocol port number of the first access gateway equipment and a voice compression algorithm of the first access gateway equipment;
the second access gateway device performing call preparation comprises:
the second access gateway device creates a second state object;
and the second access gateway equipment sends the information of the second state object to the first access gateway equipment, wherein the information of the second state object comprises a real-time transmission protocol port number of the second access gateway equipment and a voice compression algorithm of the second access gateway equipment.
Optionally, the performing, by the first access gateway device and the second access gateway device, a ringing process includes:
the second access gateway equipment informs the first access gateway equipment of sending a ring back tone to a calling subscriber;
if the called user is off-hook, the second access gateway equipment cuts off the ringing tone of the called user and informs the first access gateway equipment to cut off the ringing tone of the calling user.
To achieve the above object, the present invention provides a soft switch call system, comprising: a first access gateway device and a second access gateway device;
the first access gateway equipment is used for judging whether a called user belongs to a user belonging to second access gateway equipment supporting the same protocol as the first access gateway equipment or not according to pre-acquired second access gateway equipment information when a calling user belonging to the first access gateway equipment sends a call to the called user, and directly establishing connection between the first access gateway equipment and the second access gateway equipment if the first access gateway equipment judges that the called user belongs to the user belonging to the second access gateway equipment supporting the same protocol as the first access gateway equipment;
and the second access gateway equipment is used for directly establishing connection between the second access gateway equipment and the first access gateway equipment if the first access gateway equipment judges that the called user is a user under the jurisdiction of the second access gateway equipment which supports the same protocol with the first access gateway equipment.
Optionally, the system further comprises a soft switch device;
the soft switch device is used for broadcasting the information of the second access gateway device to all access gateway devices under the same area code, wherein all the access gateway devices comprise the first access gateway device;
the first access gateway device is further configured to store the second access gateway device information according to a protocol supported by the first access gateway device, where the second access gateway device information includes a protocol supported by the second access gateway device, a telephone number administered by the second access gateway device, and an internet protocol address of the second access gateway device.
Optionally, the second access gateway device is further configured to send a registration request to the soft switch device, where the registration request includes second access gateway device information;
the soft switch device is further configured to authenticate the second access gateway device according to the registration request, and if the soft switch device passes the authentication of the second access gateway device, the soft switch device sends registration success information to the second access gateway device and stores the second access gateway device information.
Optionally, the soft switch device is further configured to establish a first connection between the first access gateway device and the second access gateway device;
the first access gateway equipment is also used for establishing connection with second access gateway equipment for the first time through soft switch equipment, and storing the information of the second access gateway equipment according to a protocol supported by the first access gateway equipment, wherein the information of the second access gateway equipment comprises the protocol supported by the second access gateway equipment, a telephone number administered by the second access gateway equipment and an internet protocol address of the second access gateway equipment;
and the second access gateway equipment is also used for establishing connection with the first access gateway equipment for the first time through the soft switch equipment.
The invention has the following beneficial effects:
the soft switch calling method provided by the invention comprises the steps that when a calling user administered by a first access gateway device sends a call to a called user, the first access gateway device judges whether the called user is the user administered by a second access gateway device supporting the same protocol as the first access gateway device according to pre-acquired information of the second access gateway device; and if the first access gateway equipment judges that the called user is a user under the jurisdiction of second access gateway equipment supporting the same protocol with the first access gateway equipment, directly establishing connection between the first access gateway equipment and the second access gateway equipment, thereby effectively reducing the pressure of the soft switch equipment.
Drawings
Fig. 1 is a flowchart illustrating a method for a softswitch call according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for a softswitch call according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for a softswitch call according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a soft switch call system according to a fourth embodiment and a fifth embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following clear and complete description of the technical solution of the present invention is made with reference to the accompanying drawings, and it is obvious that the described embodiments are a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Example one
Fig. 1 is a schematic flow chart of a soft-switch calling method provided in this embodiment, as shown in fig. 1, the method includes the following steps:
step 101, when a calling user belonging to a first access gateway device sends a call to a called user, the first access gateway device judges whether the called user is a user belonging to a second access gateway device supporting the same protocol as the first access gateway device according to pre-acquired information of the second access gateway device, if the first access gateway device judges that the called user is a user belonging to the second access gateway device supporting the same protocol as the first access gateway device, step 102 is executed, and if the first access gateway device judges that the called user is not a user belonging to the second access gateway device supporting the same protocol as the first access gateway device, step 103 is executed.
In this embodiment, the pre-acquired information of the second access gateway device at least includes a protocol supported by the second access gateway device and a phone number managed by the second access gateway device. Since the first access gateway device has previously acquired the protocol supported by the second access gateway device, the first access gateway device determines that the protocol supported by the second access gateway device is the same as the protocol supported by itself. Further, since the first access gateway device has previously acquired the user under jurisdiction of the second access gateway device, the first access gateway device can determine that the called number is the user under jurisdiction of the second access gateway device.
In this embodiment, only the call processes of the users under the jurisdiction of different access gateway devices are discussed, and the call processes of two users under the same access gateway device are not in the scope of the discussion of this embodiment. Therefore, the calling subscriber and the called subscriber in this embodiment belong to different access gateway devices.
And 102, directly establishing connection between the first access gateway equipment and the second access gateway equipment, and ending the process.
The second access gateway device information obtained in advance in step 101 further includes an internet protocol address of the second access gateway device. For the first access gateway device and the second access gateway device which support the same protocol, when users within the jurisdiction of the first access gateway device and the second access gateway device call each other, the first access gateway device finds the second access gateway device through the internet protocol address of the second access gateway device, so that the first access gateway device and the second access gateway device can directly establish connection without establishing connection through a soft switch device, and the burden of the soft switch device can be effectively reduced.
And 103, establishing connection between the first access gateway equipment and the access gateway equipment which governs the called user through soft switch equipment.
When the first access gateway equipment judges that the called user is not the user under the jurisdiction of the second access gateway equipment supporting the same protocol, the first access gateway and the access gateway equipment affiliated to the called user need to establish connection through the soft switch equipment.
For the specific execution process in step 103, reference may be made to the description of step 301 in the third embodiment, which is not described herein again.
In this embodiment, the second access gateway device is a generic name, the number of the second access gateway devices may be multiple, and the first access gateway device may be capable of acquiring information of multiple second access gateway devices in advance. Further, when the first access gateway obtains the information of the second access gateway device in advance, the second access gateway device also obtains the information of the first access gateway device in advance.
In the soft switch calling method provided in this embodiment, when a calling user affiliated with a first access gateway device sends a call to a called user, the first access gateway device determines, according to information of a second access gateway device obtained in advance, whether the called user is a user affiliated with the second access gateway device supporting a same protocol as the first access gateway device, and if the first access gateway device determines that the called user is a user affiliated with the second access gateway device supporting a same protocol as the first access gateway device, the first access gateway device and the second access gateway device directly establish a connection, thereby effectively reducing a pressure of the soft switch device.
Example two
Fig. 2 is a schematic flow chart of a soft-switch calling method according to the second embodiment, as shown in fig. 2, the method includes the following steps:
step 201, the second access gateway device sends a registration request to the soft switch device, where the registration request includes second access gateway device information.
The second access gateway equipment information at least comprises a protocol supported by the second access gateway equipment, a telephone number governed by the second access gateway equipment and an internet protocol address of the second access gateway equipment.
Step 202, the soft switch device authenticates the second access gateway device according to the registration request, if the soft switch device passes the authentication of the second access gateway device, step 203 is executed, otherwise, step 201 is executed.
And after receiving the registration request sent by the second access gateway equipment, the soft switch equipment authenticates the second access gateway equipment. Specifically, the soft switch device judges the validity of the second access gateway device according to the information of the second access gateway device. If the authentication is passed, it indicates that the second access gateway device can perform connection communication with other access gateway devices in charge of the soft switch device.
Further, if the authentication fails, feeding back authentication failure information to the second access gateway device, and the second access gateway device returns to continue to execute step 201 until the second access gateway device passes the authentication.
Step 203, the soft switch device sends the registration success information to the second access gateway device, and stores the second access gateway device information.
After the authentication of the second access gateway device is passed, the soft switch device feeds back and sends the registration success information to the second access gateway device, and stores the second access gateway device information contained in the registration information sent by the second access gateway device.
Step 204, the soft switch device broadcasts the information of the second access gateway device to all access gateway devices under the same area code, and all the access gateway devices include the first access gateway device.
Each soft switch device is responsible for a plurality of area codes, and each area code comprises a plurality of access gateway devices. In this embodiment, the soft switch device is used to broadcast the second access gateway device information to all access gateway devices under the same area code. Specifically, the access gateway device under the area code includes a first access gateway device and a second access gateway device. Further specifically, in this embodiment, after considering the workload capability and the broadcast efficiency of the soft switch device, the workload that the soft switch device can bear is selected for broadcasting, that is, the message is selected to be broadcast to all access gateway devices under the same area code.
Step 205, the first access gateway device stores the second access gateway device information according to the protocol supported by the first access gateway device, where the second access gateway device information includes the protocol supported by the second access gateway device, the telephone number administered by the second access gateway device, and the internet protocol address of the second access gateway device.
And after receiving the second access gateway equipment information broadcast by the soft switch equipment, the plurality of access gateway equipment under the same area code selectively stores the second access gateway equipment information according to the protocol supported by the access gateway equipment. Specifically, the access gateway device supporting the same protocol as the second access gateway device stores the second access gateway device information, and the first access gateway device and the second access gateway device support the same protocol, so that the first access gateway device stores the second access gateway device information. And other access gateway equipment with different protocols supported by the second access gateway equipment ignores the broadcast information after receiving the broadcast information.
In this embodiment, the first access gateway device is a generic name, and the number of the first access gateway devices may be multiple. The access gateway equipment which receives the soft switch equipment broadcast under the same area code stores the information of the second access gateway equipment as long as the access gateway equipment and the second access gateway equipment support the same protocol.
Further, after the step 205 is completed, the softswitch device sends a modification command to the first access gateway device for the first access gateway device to establish termination in the null context, and the first access gateway device waits for an off-hook event. The soft switch device sends a modification command to the second access gateway device for the second access gateway device to establish termination in the null context, and the second access gateway device waits for an off-hook event.
Step 206, when a calling party under the jurisdiction of a first access gateway device sends a call to a called party, the first access gateway device judges whether the called party is a user under the jurisdiction of a second access gateway device supporting the same protocol as the first access gateway device according to pre-obtained second access gateway device information, if the first access gateway device judges that the called party is a user under the jurisdiction of a second access gateway device supporting the same protocol as the first access gateway device, step 207 is executed, and if the first access gateway device judges that the called party is not a user under the jurisdiction of a second access gateway device supporting the same protocol as the first access gateway device, step 208 is executed.
In this embodiment, for a specific description of step 206, reference may be made to the specific description of step 101 in the above first embodiment, and details are not described here again.
Specifically, the step of sending a call to a called user by a calling user governed by a first access gateway device includes: and the calling subscriber takes off the hook, and the first access gateway equipment sends a notification command to the soft switch equipment to report the off-hook event. The soft switch device sends a modification command to the first access gateway device, waits for the calling user to input the called user number, and the calling user listens to the dial tone at the moment.
And step 207, directly establishing connection between the first access gateway equipment and the second access gateway equipment.
The method specifically comprises the following steps:
step 2071, the first access gateway device creates a first state object.
Specifically, first state object information of the first state object is further set, and the first state object information includes: and setting a circuit switching mode and an RTP (Real-time Transport Protocol) mode, setting the mode of the first state object as a transceiving mode, and simultaneously setting voice information of the first state object, wherein the voice information comprises jitter buffer related content and a voice compression algorithm.
Step 2072, the first access gateway device sends the information of the first state object to a second access gateway device, where the information of the first state object includes a real-time transport protocol port number of the first access gateway device and a voice compression algorithm of the first access gateway device.
The first access gateway and the second access gateway need to adopt the same real-time transmission protocol port number and the same voice compression algorithm for communication.
Step 2073, the second access gateway device creates a second state object.
See, for details, the description of step 2071.
Specifically, the first state object and the second state object described in this embodiment may be understood as non-empty contexts.
Step 2074, the second access gateway device sends the information of the second state object to the first access gateway device, where the information of the second state object includes a real-time transport protocol port number of the second access gateway device and a voice compression algorithm of the second access gateway device.
See, e.g., the description of step 2072.
Step 2075, the second access gateway device informs the first access gateway device to send the ring back tone to the calling subscriber.
And after the state objects of the first access gateway equipment and the second access gateway equipment are set, the first access gateway equipment and the second access gateway equipment execute a ringing process.
Step 2076, if the called user is off-hook, the second access gateway device cuts off the ring tone of the called user, and notifies the first access gateway device to cut off the ring tone of the calling user.
Specifically, after the subsequent called user hangs up, the second access gateway device notifies the first access gateway device, and the first access gateway device and the second access gateway device delete the context respectively and restore the first state object and the second state object to the empty context.
And step 208, establishing connection between the first access gateway equipment and the access gateway equipment which governs the called user through soft switch equipment.
In this embodiment, for a specific description of step 208, reference may be made to the specific description of step 103 in the first embodiment, and details are not described here again.
In the soft switch calling method provided in this embodiment, a soft switch device broadcasts information of a second access gateway device to all access gateway devices under the same area code, a first access gateway device stores the information of the second access gateway device according to a protocol supported by the first access gateway device, when a calling party belonging to the first access gateway device sends a call to a called party, the first access gateway device judges whether the called party is a user belonging to the second access gateway device supporting the same protocol as the first access gateway device according to pre-obtained information of the second access gateway device, and if the first access gateway device judges that the called party is a user belonging to the second access gateway device supporting the same protocol as the first access gateway device, a connection is directly established between the first access gateway device and the second access gateway device, thereby effectively relieving the pressure of the soft exchange equipment.
EXAMPLE III
Fig. 3 is a schematic flow chart of a method for a soft-switch call according to a third embodiment, as shown in fig. 3, the method includes the following steps:
step 301, the first access gateway device and the second access gateway device establish a connection for the first time through the soft switch device.
Specifically, the process of establishing a connection between the first access gateway device and the second access gateway device through the soft switch device for the first time includes:
the soft switch device sends a modification command to the first access gateway device for the first access gateway device to establish termination in the null context, and the first access gateway device waits for an off-hook event. The soft switch device sends a modification command to the second access gateway device for the second access gateway device to establish termination in the null context, and the second access gateway device waits for an off-hook event.
When a calling party administered by the first access gateway equipment sends a call to a called party administered by the second access gateway equipment, the calling party goes off-hook, and the first access gateway equipment sends a notification command to the soft switch equipment to report an off-hook event. The soft switch device sends a modification command to the first access gateway device, waits for the calling user to input the called user number, and the calling user listens to the dial tone at the moment.
The first access gateway equipment sends a notification command to the soft switch equipment and sends the number of the called user to the soft switch equipment. And the first access gateway equipment and the second access gateway equipment respectively establish a new state object and set the information of the state object. The information of the state object includes: setting parameters of a circuit switching mode and an IP mode, setting the mode of a state object into a transceiving mode, and simultaneously setting voice information of the state object, wherein the voice information comprises jitter cache related content and a voice compression algorithm.
The first access gateway equipment and the second access gateway equipment send self supported protocol, internet protocol address, administered telephone number and voice information to the soft switch equipment, and the voice information comprises jitter buffer related content and voice compression algorithm. And the soft switch equipment forwards the received information sent by the first access gateway equipment to the second access gateway equipment, and forwards the received information sent by the second access gateway equipment to the first access gateway equipment.
The first access gateway device and the second access gateway device perform a ringing procedure. Specifically, the second access gateway device notifies the first access gateway device to send a ring back tone to the calling subscriber, and after the state objects of the first access gateway device and the second access gateway device are set, the first access gateway device and the second access gateway device execute a ringing process. If the called user is off-hook, the second access gateway equipment cuts off the ringing tone of the called user and informs the first access gateway equipment to cut off the ringing tone of the calling user. To this end, the first access gateway device and the second access gateway device establish a connection.
Step 302, the first access gateway device stores the second access gateway device information according to the protocol supported by the first access gateway device, where the second access gateway device information includes the protocol supported by the second access gateway device, the telephone number administered by the second access gateway device, and the internet protocol address of the second access gateway device.
After the first access gateway device and the second access gateway device establish connection for the first time, the first access gateway device stores the information of the second access gateway device because the protocols supported by the first access gateway device and the second access gateway device are the same.
Step 303, when a calling user belonging to a first access gateway device sends a call to a called user, the first access gateway device judges whether the called user is a user belonging to a second access gateway device supporting a same protocol as the first access gateway device according to pre-obtained second access gateway device information, if the first access gateway device judges that the called user is a user belonging to a second access gateway device supporting a same protocol as the first access gateway device, step 304 is executed, and if the first access gateway device judges that the called user is not a user belonging to a second access gateway device supporting a same protocol as the first access gateway device, step 305 is executed.
In this embodiment, for a specific description of step 303, reference may be made to the specific description of step 206 in the second embodiment, and details are not described here again.
And step 304, directly establishing connection between the first access gateway equipment and the second access gateway equipment.
In this embodiment, for a specific description of step 304, reference may be made to the specific description of step 207 in the second embodiment, and details are not described here again.
Step 305, establishing connection between the first access gateway device and the access gateway device which governs the called user through a soft switch device.
In this embodiment, the specific description of step 305 may refer to the specific description of step 103 in the first embodiment.
Further specifically, in the process of establishing a connection between the first access gateway device and the access gateway device hosting the called user through the soft switch device, reference may be made to the specific description of the process of establishing a connection between the first access gateway device and the second access gateway device for the first time in step 301.
In the soft switch calling method provided in this embodiment, after a first access gateway device and a second access gateway device are initially connected through a soft switch device, the first access gateway device stores information about the second access gateway device according to a protocol supported by the first access gateway device, when a calling party affiliated with the first access gateway device sends a call to a called party, the first access gateway device determines whether the called party is a party affiliated with the second access gateway device supporting a same protocol as the first access gateway device according to pre-obtained information about the second access gateway device, and if the first access gateway device determines that the called party is a party affiliated with the second access gateway device supporting a same protocol as the first access gateway device, the first access gateway device and the second access gateway device directly establish a connection therebetween, thereby effectively relieving the pressure of the soft exchange equipment.
Example four
Fig. 4 is a schematic structural diagram of a softswitch call system according to a fourth embodiment, as shown in fig. 4, the system includes: a first access gateway device 1 and a second access gateway device 2.
The first access gateway device 1 is configured to, when a calling user belonging to the first access gateway device 1 sends a call to a called user, determine, according to pre-acquired information of a second access gateway device, whether the called user belongs to a second access gateway device 2 that supports the same protocol as the first access gateway device 1, and if the first access gateway device 1 determines that the called user belongs to the second access gateway device 2 that supports the same protocol as the first access gateway device 1, directly establish a connection with the second access gateway device 2.
The second access gateway device 2 is configured to, if the first access gateway device 1 determines that the called user is a user under the jurisdiction of the second access gateway device 2 that supports the same protocol as the first access gateway device 1, directly establish a connection between the second access gateway device 2 and the first access gateway device 1.
Further, a soft switch device 3 is also included.
The soft switch device 3 is configured to broadcast the second access gateway device information to all access gateway devices under the same area code, where all the access gateway devices include the first access gateway device 1.
The first access gateway device 1 is further configured to store the second access gateway device information according to a protocol supported by the first access gateway device 1, where the second access gateway device information includes a protocol supported by the second access gateway device, a telephone number administered by the second access gateway device, and an internet protocol address of the second access gateway device.
Further, the second access gateway device 2 is further configured to send a registration request to the softswitch device 3, where the registration request includes the second access gateway device information.
The soft switch device 3 is further configured to authenticate the second access gateway device 2 according to the registration request, and if the soft switch device 3 passes the authentication of the second access gateway device 2, the soft switch device 3 sends registration success information to the second access gateway device 2 and stores the second access gateway device information.
The first access gateway device 1 is also used for call preparation.
Specifically, the first access gateway device 1 is further configured to create a first state object, and send information of the first state object to the second access gateway device 2, where the information of the first state object includes a real-time transport protocol port number of the first access gateway device 1 and a voice compression algorithm of the first access gateway device 1.
The second access gateway device 2 is also used for call preparation.
Specifically, the second access gateway device 2 is further configured to create a second state object, and send information of the second state object to the first access gateway device 1, where the information of the second state object includes a real-time transport protocol port number of the second access gateway device 2 and a voice compression algorithm of the second access gateway device 2.
The first access gateway device 1 and the second access gateway device 2 are also used to prepare for performing a ringing procedure.
Specifically, the second access gateway device 2 is further configured to notify the first access gateway device 1 to send a ring back tone to the calling subscriber, and if the called subscriber is off-hook, the second access gateway device 2 cuts off the ring back tone of the called subscriber and notifies the first access gateway device 1 to cut off the ring back tone of the calling subscriber. The first access gateway device 1 is further arranged to send a ring back tone to the calling subscriber and to cut off the ring back tone of said calling subscriber.
In the soft switch calling method provided in this embodiment, a soft switch device broadcasts information of a second access gateway device to all access gateway devices under the same area code, a first access gateway device stores the information of the second access gateway device according to a protocol supported by the first access gateway device, when a calling party belonging to the first access gateway device sends a call to a called party, the first access gateway device judges whether the called party is a user belonging to the second access gateway device supporting the same protocol as the first access gateway device according to pre-obtained information of the second access gateway device, and if the first access gateway device judges that the called party is a user belonging to the second access gateway device supporting the same protocol as the first access gateway device, a connection is directly established between the first access gateway device and the second access gateway device, thereby effectively relieving the pressure of the soft exchange equipment.
EXAMPLE five
As shown in fig. 4, the soft switch call system provided in this embodiment includes: a first access gateway device 1, a second access gateway device 2 and a soft switch device 3.
The present embodiment is different from the fourth embodiment in that:
the softswitch 3 is configured to establish a first connection between the first access gateway 1 and the second access gateway 2.
The first access gateway device 1 is further configured to establish a connection with the second access gateway device 2 for the first time through the soft switch device 3, and store the second access gateway device information according to the protocol supported by the first access gateway device 1, where the second access gateway device information includes the protocol supported by the second access gateway device, the telephone number administered by the second access gateway device, and the internet protocol address of the second access gateway device.
The second access gateway device 2 is also configured to establish a connection with the first access gateway device 1 for the first time through the soft switch device 3.
In the soft switch calling method provided in this embodiment, after a first access gateway device and a second access gateway device are initially connected through a soft switch device, the first access gateway device stores information about the second access gateway device according to a protocol supported by the first access gateway device, when a calling party affiliated with the first access gateway device sends a call to a called party, the first access gateway device determines whether the called party is a party affiliated with the second access gateway device supporting a same protocol as the first access gateway device according to pre-obtained information about the second access gateway device, and if the first access gateway device determines that the called party is a party affiliated with the second access gateway device supporting a same protocol as the first access gateway device, the first access gateway device and the second access gateway device directly establish a connection therebetween, thereby effectively relieving the pressure of the soft exchange equipment.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (10)

1. A method for a softswitch call, comprising:
the soft switch equipment is responsible for a plurality of area codes, each area code comprises a plurality of access gateway equipment, and after the problems of the workload capacity and the broadcasting efficiency of the soft switch equipment are considered, the workload which can be borne by the soft switch equipment is selected for broadcasting;
the access gateway equipment at least comprises first access gateway equipment and second access gateway equipment, and the soft switch equipment broadcasts the information of the second access gateway equipment to all the access gateway equipment under the same area code;
the first access gateway equipment receives the information of the second access gateway equipment and stores the information of the second access gateway equipment according to a protocol supported by the first access gateway equipment, wherein the information of the second access gateway equipment comprises the protocol supported by the second access gateway equipment, a telephone number governed by the second access gateway equipment and an internet protocol address of the second access gateway equipment;
when a calling user under the jurisdiction of a first access gateway device sends a call to a called user, the first access gateway device judges whether the called user is a user under the jurisdiction of a second access gateway device supporting the same protocol as the first access gateway device according to pre-acquired information of the second access gateway device;
if the first access gateway equipment judges that the called user is a user under the jurisdiction of second access gateway equipment which supports the same protocol with the first access gateway equipment, the first access gateway equipment and the second access gateway equipment are directly connected;
and if the first access gateway equipment judges that the called user is a user under the jurisdiction of second access gateway equipment with a different supporting protocol from the first access gateway equipment, the first access gateway equipment establishes connection with the second access gateway equipment according to a standard soft switch call flow.
2. The method of claim 1, further comprising before the softswitch broadcasts the second access gateway device information to all access gateway devices under the same area code:
the second access gateway equipment sends a registration request to the soft switch equipment, wherein the registration request comprises second access gateway equipment information;
the soft switch device authenticates the second access gateway device according to the registration request;
and if the soft switch equipment passes the authentication of the second access gateway equipment, the soft switch equipment sends registration success information to the second access gateway equipment and stores the information of the second access gateway equipment.
3. The method of claim 1, wherein when the calling party belonging to the first access gateway device sends a call to the called party, the first access gateway device determines whether the called party belongs to a user belonging to a second access gateway device supporting the same protocol as the first access gateway device according to the pre-obtained second access gateway device information, before the method further comprises:
the first access gateway equipment and the second access gateway equipment establish connection for the first time through soft switch equipment;
the first access gateway equipment stores the information of the second access gateway equipment according to the protocol supported by the first access gateway equipment, and the information of the second access gateway equipment comprises the protocol supported by the second access gateway equipment, the telephone number administered by the second access gateway equipment and the Internet protocol address of the second access gateway equipment.
4. The softswitch calling method of claim 1, wherein directly establishing the connection between the first access gateway device and the second access gateway device comprises:
the first access gateway equipment performs call preparation;
the second access gateway equipment performs call preparation;
the first access gateway device and the second access gateway device perform a ringing process.
5. The softswitch calling method of claim 4, wherein the first access gateway device performing call preparation comprises:
the first access gateway device creates a first state object;
the first access gateway equipment sends the information of the first state object to second access gateway equipment, wherein the information of the first state object comprises a real-time transmission protocol port number of the first access gateway equipment and a voice compression algorithm of the first access gateway equipment;
the second access gateway device performing call preparation comprises:
the second access gateway device creates a second state object;
and the second access gateway equipment sends the information of the second state object to the first access gateway equipment, wherein the information of the second state object comprises a real-time transmission protocol port number of the second access gateway equipment and a voice compression algorithm of the second access gateway equipment.
6. The softswitch calling method of claim 4, wherein the first access gateway device and the second access gateway device performing a ringing procedure comprises:
the second access gateway equipment informs the first access gateway equipment of sending a ring back tone to a calling subscriber;
if the called user is off-hook, the second access gateway equipment cuts off the ringing tone of the called user and informs the first access gateway equipment to cut off the ringing tone of the calling user.
7. A softswitch call system, comprising: the system comprises a soft switch device, a first access gateway device and a second access gateway device;
the soft switch equipment is responsible for a plurality of area codes, each area code comprises a plurality of access gateway equipment, and after the problems of the workload capacity and the broadcasting efficiency of the soft switch equipment are considered, the workload which can be borne by the soft switch equipment is selected for broadcasting;
the soft switch device broadcasts the second access gateway device information to all the access gateway devices under the same area code;
the first access gateway equipment is used for receiving the information of the second access gateway equipment and storing the information of the second access gateway equipment according to a protocol supported by the first access gateway equipment, wherein the information of the second access gateway equipment comprises the protocol supported by the second access gateway equipment, a telephone number administered by the second access gateway equipment and an internet protocol address of the second access gateway equipment;
the first access gateway equipment is used for sending a call to a called user when a calling user administered by the first access gateway equipment sends the call, judging whether the called user is a user under the jurisdiction of a second access gateway device supporting the same protocol as the first access gateway device according to pre-acquired information of the second access gateway device, if the first access gateway device judges that the called user is a user under the jurisdiction of the second access gateway device supporting the same protocol as the first access gateway device, the first access gateway device and the second access gateway device are directly connected, if the first access gateway device judges that the called user is a user under the jurisdiction of the second access gateway device with a different supporting protocol from the first access gateway device, the first access gateway equipment directly establishes connection with the second access gateway equipment according to a standard soft switch call flow;
the second access gateway device is configured to directly establish a connection between the second access gateway device and the first access gateway device if the first access gateway device determines that the called user is a user under the jurisdiction of the second access gateway device that supports the same protocol as the first access gateway device; and if the first access gateway equipment judges that the called user is a user under the jurisdiction of second access gateway equipment with a different supporting protocol from the first access gateway equipment, the second access gateway equipment establishes connection with the first access gateway equipment according to a standard soft switch call flow.
8. The softswitch call system of claim 7, further comprising softswitch equipment;
the soft switch device is used for broadcasting the information of the second access gateway device to all access gateway devices under the same area code, wherein all the access gateway devices comprise the first access gateway device;
the first access gateway device is further configured to store the second access gateway device information according to a protocol supported by the first access gateway device, where the second access gateway device information includes a protocol supported by the second access gateway device, a telephone number administered by the second access gateway device, and an internet protocol address of the second access gateway device.
9. The softswitch call system of claim 8,
the second access gateway device is further configured to send a registration request to the soft switch device, where the registration request includes second access gateway device information;
the soft switch device is further configured to authenticate the second access gateway device according to the registration request, and if the soft switch device passes the authentication of the second access gateway device, the soft switch device sends registration success information to the second access gateway device and stores the second access gateway device information.
10. The softswitch call system of claim 7,
the soft switch device is also used for establishing the primary connection between the first access gateway device and the second access gateway device;
the first access gateway equipment is also used for establishing connection with second access gateway equipment for the first time through soft switch equipment, and storing the information of the second access gateway equipment according to a protocol supported by the first access gateway equipment, wherein the information of the second access gateway equipment comprises the protocol supported by the second access gateway equipment, a telephone number administered by the second access gateway equipment and an internet protocol address of the second access gateway equipment;
and the second access gateway equipment is also used for establishing connection with the first access gateway equipment for the first time through the soft switch equipment.
CN201710995653.1A 2017-10-23 2017-10-23 Soft switch calling method and system Active CN107770175B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710995653.1A CN107770175B (en) 2017-10-23 2017-10-23 Soft switch calling method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710995653.1A CN107770175B (en) 2017-10-23 2017-10-23 Soft switch calling method and system

Publications (2)

Publication Number Publication Date
CN107770175A CN107770175A (en) 2018-03-06
CN107770175B true CN107770175B (en) 2020-04-10

Family

ID=61269469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710995653.1A Active CN107770175B (en) 2017-10-23 2017-10-23 Soft switch calling method and system

Country Status (1)

Country Link
CN (1) CN107770175B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108667667B (en) * 2018-05-21 2019-11-01 中国联合网络通信集团有限公司 Soft switch method of calling and soft switch calling system
CN108989353B (en) * 2018-09-05 2021-04-27 中国联合网络通信集团有限公司 Soft switch calling method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1287573C (en) * 2003-09-02 2006-11-29 华为技术有限公司 System for communication between media gateway controller and media gateway and method thereof
CN100473059C (en) * 2005-06-24 2009-03-25 中兴通讯股份有限公司 Method for switching media stream code/decode format
CN101056308A (en) * 2006-04-10 2007-10-17 广东省电信有限公司研究院 Implementation method of high-speed fax signaling flow supported by the media capability negotiation
US8451725B1 (en) * 2006-12-31 2013-05-28 At&T Intellectual Property Ii, L.P. Method and apparatus for distributed compositional control of end-to-end media in IP networks
CN100589648C (en) * 2007-04-29 2010-02-10 中兴通讯股份有限公司 Calling control method for fixed network user access mobile core network
CN101883116B (en) * 2010-06-30 2016-01-20 中兴通讯股份有限公司 Call processing method and media gateway

Also Published As

Publication number Publication date
CN107770175A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN108990122B (en) Call switching method and system
WO2009082966A1 (en) A call control method, communication system and relative device
JP2003504990A (en) Method of performing a basic call setup in a cellular network, separating call control and bearer control and transferring layer addresses and logical points in opposite directions
CN107770175B (en) Soft switch calling method and system
JPWO2008044265A1 (en) Call connection processing method and message transmission / reception proxy device
JP2006101528A (en) Detection of looping communication channel
CN106060784B (en) Voice calling method, system and device of cluster communication system and gateway equipment
CN106658450B (en) Remote heterogeneous network mobile real-time communication method
US8626174B2 (en) Call switching in packet-based communication networks
US20060140198A1 (en) Method and system for determining media gateway loading
US20090238176A1 (en) Method, telephone system and telephone terminal for call session
CN106921625A (en) Multimedia service processing system, data is activation and method of reseptance and terminal
US20100027528A1 (en) Notification of Impending Media Gateway Resource Exhaustion
KR101080383B1 (en) Method for voice over internet protocol call setup and communication system performing the same
JP4861491B2 (en) Telephone system, telephone exchange apparatus, and connection control method used in telephone exchange apparatus
CN108881180B (en) Recording method and recording system
CN106534126A (en) Data communication method and device, trunking system, and repeater
WO2012113303A1 (en) Video interaction method and system
KR100879676B1 (en) Service system and method for providing multimedia contents on terminating terminal
CN113259856A (en) 5G private network communication system and communication method
CN104683607A (en) Method and device for enhancing softphone call completing rate
KR100875025B1 (en) Announcement Broadcasting System and Method in Next Generation Network
US8630254B2 (en) Telephone line switching apparatus, telephone line switching system, telephone relay system, telephone relay method, telephone relay program
CN108989353B (en) Soft switch calling method and system
KR100442436B1 (en) Method for user authentication using IVR service in internet telephone network

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