CN106973033B - Session invitation method and agent equipment based on SIP - Google Patents

Session invitation method and agent equipment based on SIP Download PDF

Info

Publication number
CN106973033B
CN106973033B CN201610024383.5A CN201610024383A CN106973033B CN 106973033 B CN106973033 B CN 106973033B CN 201610024383 A CN201610024383 A CN 201610024383A CN 106973033 B CN106973033 B CN 106973033B
Authority
CN
China
Prior art keywords
sip server
agent
session
address
sent
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
CN201610024383.5A
Other languages
Chinese (zh)
Other versions
CN106973033A (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.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sangfor Technologies Co Ltd filed Critical Sangfor Technologies Co Ltd
Priority to CN201610024383.5A priority Critical patent/CN106973033B/en
Publication of CN106973033A publication Critical patent/CN106973033A/en
Application granted granted Critical
Publication of CN106973033B publication Critical patent/CN106973033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/10Architectures or entities
    • H04L65/1045Proxies, e.g. for session initiation protocol [SIP]

Abstract

The present invention relates to a kind of session invitation method and agent equipment based on SIP, which comprises the session request that session is established with called terminal that calling terminal is sent is received by agent equipment, the calling terminal and the called terminal are in first network;The session request is sent to the sip server by the first connection of the agent equipment and sip server;In the second network, the agent equipment connects the first network and second network to the sip server;It receives the sip server and the session request sent is connect with the second of the sip server by the agent equipment;The session request is sent to the called terminal.In this way, send session request by using different from the first connection the second connections, avoid due to use the first connection by session request be sent to calling terminal and the case where cause session invitation to fail.

Description

Session invitation method and agent equipment based on SIP
Technical field
The present invention relates to network communication technology fields, more particularly to a kind of session invitation method based on SIP and agency Equipment.
Background technique
With the development of network communication technology, the demand communicated between two heterogeneous networks is also gradually increased.In It is communicated between heterogeneous networks, needs to be connected to the network two by agent equipment.It is being based on SIP (Session Initiation Protocol, session initiation protocol) conversation procedure in, session calling terminal need by agent equipment will Request is sent to sip server, then is sent to session called terminal by agent equipment by sip server.When establishing session, Session request is sent to sip server by agent equipment by session calling terminal, and sip server, which exists, passes through session request Established connection is sent to the case where session calling terminal, causes session calling terminal that session request is sent to oneself Situation, so as to cause session invitation failure.
Summary of the invention
Based on this, it is necessary to cause session invitation to be lost for since session request is sent to oneself by session calling terminal The problem of losing provides a kind of session invitation method and agent equipment based on SIP.
A kind of session invitation method based on SIP, this method are applied to agent equipment, comprising:
By agent equipment receive calling terminal send the session request that session is established with called terminal, calling terminal and Called terminal is in first network;
Session request is sent to sip server by the first connection of agent equipment and sip server;Sip server In the second network, agent equipment connection first network and the second network;
Receive the session request that sip server is sent by the second connection of agent equipment and sip server;
Session request is sent to called terminal.
Session request is sent to by the first connection of agent equipment and sip server in one of the embodiments, Sip server, comprising:
It extracts the network address of the calling terminal in session request and is converted to first agent address;
The first connection is established according to first agent address and sip server;
Session request is sent to sip server by the first connection.
Session is established with called terminal by what agent equipment reception calling terminal was sent in one of the embodiments, Before session request, further includes:
Receive the registration request that called terminal is sent;
It is second agent address by the network address translation of called terminal in registration request;
The registration request for carrying second agent address is sent to sip server, makes sip server from registration request It extracts the corresponding second agent address of called terminal and stores.
Sip server is received in one of the embodiments, to send by the second connection of agent equipment and sip server Session request, comprising:
Receive the session request that sip server is sent by the second connection of sip server and agent equipment, the second connection It is established by sip server according to the corresponding second agent address of called terminal.
Sip server is received in one of the embodiments, to send by the second connection of sip server and agent equipment Session request before, further includes:
Sip server detects whether to have existed the second connection established according to second agent address;If it exists, then pass through Second connection sends session request;If it does not exist, then the second connection is established according to second agent address.
The above-mentioned session invitation method based on SIP, calling terminal and called terminal are in first network, at sip server In the second network, first network and second are connected to the network by agent equipment.Calling terminal is received by agent equipment to send The session request that session is established with called terminal, it will words request is sent out by the first connection of agent equipment and sip server It send to sip server, to be sent to called terminal by sip server.Session request is received in sip server, is used Session request is sent to agent equipment by the second connection of agent equipment and sip server, session request is sent to called Terminal.In this way, sending session request using second connection different from the first connection, avoid due to using the first connection will It is that words request is sent to calling terminal and the case where cause session invitation to fail.
A kind of session invitation proxy equipment based on SIP, agent equipment include:
First request receiving module receives the meeting that session is established with called terminal that calling terminal is sent by agent equipment Words request, calling terminal and called terminal are in first network;
First request sending module, for sending session request by the first connection of agent equipment and sip server To sip server;In the second network, agent equipment connects first network and the second network to sip server;
Second request receiving module is sent out for receiving sip server by the second connection of agent equipment and sip server The session request sent;
Second request sending module, for session request to be sent to called terminal.
The first request sending module includes: in one of the embodiments,
Address conversion module, for extracting the network address of the calling terminal in session request and with being converted to first agent Location;
Connection establishment module, for establishing the first connection according to first agent address and sip server;
Session request sending module, for session request to be sent to sip server by the first connection.
Agent equipment in one of the embodiments, further include:
Registration request sending module, for receiving the registration request of called terminal transmission;
Network address conversion module, for by the network address translation of called terminal in registration request for second agent Location;
Agent address extraction module makes for the registration request for carrying second agent address to be sent to sip server Sip server extracts the corresponding second agent address of called terminal and is stored from registration request.
In one of the embodiments, the second request receiving module be also used to receive sip server by sip server with The session request that second connection of agent equipment is sent, the second connection is by sip server according to the corresponding second generation of called terminal Address is managed to establish.
Sip server is established for detecting whether having existed according to second agent address in one of the embodiments, Second connection;If it exists, then session request is sent by the second connection;If it does not exist, then it is established according to second agent address Second connection.
The above-mentioned session invitation proxy equipment based on SIP, calling terminal and called terminal are in first network, SIP service At device in the second network, first network and second are connected to the network by agent equipment.Calling terminal is received by agent equipment The session request that session is established with called terminal sent, it will words request connects by the first of agent equipment and sip server It receives and sends to sip server, to be sent to called terminal by sip server.Session request is received in sip server, Session request is sent to agent equipment using the second connection of agent equipment and sip server, session request is sent to Called terminal.In this way, sending session request using second connection different from the first connection, avoid due to using the first connection By session request be sent to calling terminal and the case where cause session invitation to fail.
Detailed description of the invention
Fig. 1 is the session invitation systematic difference environment map based on SIP in one embodiment;
Fig. 2 is the flow diagram of the session invitation method based on SIP in one embodiment;
The flow diagram for the step of Fig. 3 is network address registration in one embodiment;
Fig. 4 is the timing diagram of the session invitation method based on SIP in one embodiment;
Fig. 5 is the structural block diagram of the session invitation proxy equipment based on SIP in one embodiment;
Fig. 6 is the structural block diagram of the first request sending module in one embodiment;
Fig. 7 is the structural block diagram of the session invitation proxy equipment based on SIP in another embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the session invitation systematic difference environment map based on SIP in one embodiment.Session invitation based on SIP System includes calling terminal 102, called terminal 104, agent equipment 106 and sip server 108.Wherein calling terminal 102 and by Cry terminal 104 in first network, in the second network, agent equipment 106 connects first network and second to sip server 108 Network, agent equipment 106 is the network address having in first network, and has the network address in the second network.In first network Calling terminal 102 and called terminal 104 by agent equipment 106 access the second network in sip server.Sip server It specifically can be sip server cluster, the sip server shared database in sip server cluster.SIP(Session Initiation Protocol, session initiation protocol) it is between one or more participation terminals that generate, modify and terminate Session protocol.
As shown in Fig. 2, in one embodiment, providing a kind of session invitation method based on SIP, the present embodiment is with the party Method with Fig. 1 based on the agent equipment 106 in the session invitation system of SIP for being illustrated.It is run on the agent equipment 106 There is the program of the session invitation method based on SIP, by implementing based on the program of the session invitation method of SIP based on SIP's Session invitation method.This method specifically includes the following steps:
Step 202, the session request that session is established with called terminal that calling terminal is sent is received by agent equipment, it is main Cry terminal and called terminal in first network.
Specifically, calling terminal 102 needs to pass through agency when establishing the session based on Session Initiation Protocol with called terminal 104 Session request is sent to the sip server 108 in the second network by equipment 106.For being established with called terminal when session request The request of meeting, session request include called terminal mark, can also include protocol version.Source address in session request is main It is the network address of terminal 102, destination address is network address of the agent equipment 106 in first network.Source address, which refers to, asks The network address for sending terminal is sought, destination address refers to that request receives the network address of terminal.Network address can be IP address, It can also be IP address and port numbers.When in network address including port numbers, even if IP address is identical in two network address, Port numbers are different, and two network address are different network address.
Step 204, it will words request is sent to sip server by the first connection of agent equipment and sip server; In the second network, agent equipment connects first network and the second network to sip server.
Specifically, after the session request for the calling terminal that agent equipment 106 receives, in session request source address and Destination address is converted respectively, source address can be specifically converted to the first agent address of agent equipment 106, by destination address The network address for being converted to sip server, according to the first agent address of agent equipment 106 and the network address of sip server The first connection is established, and the session request after address conversion is sent to by sip server by the first connection.First agent address It is the equipment of agent equipment in the second network.Second network is different networks, first network and the second net from first network The segment number of network is different.
Step 206, the session request that sip server is sent by the second connection of agent equipment and sip server is received.
Specifically, sip server 108 extracts session request after the session request for receiving the transmission of agent equipment 106 The mark of middle called terminal 104 searches that called terminal 104 is registered according to the mark of called terminal 104 in the database Two agent address, the second connection is established as purpose address in the second agent address registered using called terminal 104, and session is asked It asks and agent equipment 106 is sent to by the second connection.First agent address and second agent address are all that agent equipment 106 is different Network address, it is different that first agent address and second agent address can be IP address therein, is also possible to port numbers not Together.The mark of called terminal 104 can be the user name of called terminal 104, and wherein user name can be character string, number and pass At least one of key word.
Step 208, it will words request is sent to called terminal.
Specifically, agent equipment 106 extracts in registration request when receiving the registration request of the transmission of called terminal 104 The network address and record of called terminal 104.Agent equipment 106 receives sip server 108 and is sent to called terminal 104 When session request, the mark of called terminal 104 in session request is extracted, is searched corresponding with the mark of called terminal 104 called The network address of terminal, with the network address of the called terminal 104 found as a purpose address by session request be sent to by It is terminal.
In one embodiment, it after called terminal 104 receives the session request of agent equipment, is returned according to session request For establishing the session establishment information of session with calling terminal 102.Session establishment information is sent to agency and set by called terminal 104 Standby 106.After agent equipment 106 carries out network address translation to session establishment information, according to the network address after conversion by session It establishes information and is sent to sip server 108.Sip server 108 searches calling terminal 102 in the database and passes through registration request Session establishment information is sent to agent equipment 106 according to second agent address by the second agent address registered.Agency sets Standby 106 search the network address of calling terminal 102, are sent to session establishment information according to the network address of calling terminal 102 Calling terminal 102, after calling terminal 102 receives session establishment information, calling terminal 102 and the session of called terminal 104 are built It stands successfully.It include the mark of called terminal 104 in session establishment information, the mark of called terminal 104 can be user name, user Name specifically can be at least one of character string, number and keyword or combinations thereof.
In the present embodiment, calling terminal and called terminal are in first network, at sip server in the second network, generation Equipment is managed to be connected to the network first network and second.Establishing with called terminal for calling terminal transmission is received by agent equipment The session request of session, it will words request is sent to sip server by the first connection of agent equipment and sip server, uses To be sent to called terminal by sip server.Session request is received in sip server, uses agent equipment and SIP service Session request is sent to agent equipment by the second connection of device, and session request is sent to called terminal.In this way, using with The second different connection of one connection sends session request, avoids due to using the first connection that session request is sent to caller end End and the case where cause session invitation to fail.
As shown in figure 3, in one embodiment, this method further includes the steps that network address is registered, specifically include following Step:
Step 302, the registration request that called terminal is sent is received.
Specifically, registration request is first sent to agent equipment 106 by the needs of called terminal 104, will by agent equipment 106 Registration request is sent to sip server 108.Registration request is used to the network address of called terminal 104 being sent to sip server 108, so that sip server 108 is recorded the network address of called terminal 104.It is called eventually when sip server 108 receives to be sent to When the data at end 104, the network address of recorded called terminal 104 is searched, and according to the network address found by data It is sent to called terminal 104.The network address of mark and called terminal 104 in registration request including called terminal 104.It is called The mark of terminal 104 can be the user name of called terminal 104, can also be the physical address of called terminal 104.
It step 304, is second agent address by the network address translation of called terminal in registration request.
Specifically, agent equipment 106 extracts in registration request after the registration request for receiving the transmission of called terminal 104 The network address translation of called terminal 104 is the second agent address of agent equipment 106 by the network address of called terminal 104, And the network address of called terminal 104 is recorded.So that called terminal 104 registered on sip server 108 be agency Data are first sent out when sip server 108 receives the data for being sent to called terminal 104 the second agent address of equipment 106 It is sent to agent equipment 106, then called terminal 104 is sent the data to by agent equipment 106.
Step 306, the registration request for carrying second agent address is sent to sip server, makes sip server from note The corresponding second agent address of called terminal is extracted in volume request and is stored.
Specifically, the registration request for carrying second agent address is sent to sip server, SIP clothes by agent equipment 106 Device of being engaged in extracts the mark of called terminal 104 and second agent address in registration request, and by the mark of called terminal 104 and second The corresponding storage of agent address.
In the present embodiment, called terminal 104 and sip server 108 are in first network and the second network respectively, if The network address for the called terminal 104 registered in sip server 108, it may appear that sip server 108 is searched in the second network Less than called terminal 104, data cannot be accurately sent to called terminal 104.By by the called terminal 104 in registration request Network address translation at second agent address, sip server 108, can when receiving the data for being sent to called terminal 104 To send data to agent equipment 106 according to second agent address, then first network sent data to by agent equipment 106 In calling terminal, ensure that data transmission accuracy.
In one embodiment, sip server detects whether to have existed and be connected according to second that second agent address is established It connects;If it exists, then session request is sent by the second connection;If it does not exist, then the second connection is established according to second agent address.
Specifically, sip server 108 receives session of the calling terminal 102 for establishing session with called terminal 104 and asks When asking, the mark of called terminal 104 in session request is extracted, with searching second agent corresponding with the mark of called terminal 104 Location after finding second agent address, detects whether to receive the data that source address is second agent address, if so, then table Show in the presence of the second connection established according to second agent address, then session request is sent to by agent equipment by the second connection 104, make agent equipment 104 that session request is sent to called terminal 104;If being not received by source address is second agent The data of location, then it represents that there is no the second connections established according to second agent address, need to be established according to second agent address Second connection.
In the present embodiment, detect whether to have existed establish according to second agent address second by sip server 108 Connection is no longer needed to re-establish the second connection, be improved if it is present directly being sent session request by the second connection The transmission speed of session request.
As shown in figure 4, calling terminal 102 and called terminal 104 be in first network, sip server 108 and SIP service Device 112 in the second network, 112 shared database 110 of sip server 108 and sip server.The connection of agent equipment 106 first Network and the second network indicate network address using IP address and the combining form of port in figure, and IP address and port have one It is not identical, then it represents that network address it is also different.Such as (a1,1), wherein a1 is IP address, and 1 is port numbers.Called terminal 104 Registration request is sent to agent equipment, source address is the network address (a1,1) of called terminal, destination address in registration request Network address (b, 1) of the agent equipment in first network, wherein registered address be called terminal 104 network address (a1, 1)。
After agent equipment 106 receives the registration request of the transmission of called terminal 104, the registered place in registration request is extracted Registered address is converted to the agent address (c, 1) of agent equipment 106, source address is converted to the agency of agent equipment 106 by location Destination address is converted to the address (d, 1) of sip server 108, the registration request after conversion is sent to by address (c, 2) Sip server 108, sip server 108 extracts the network address (c, 1) of called terminal 104, and stores into database 110. Agent equipment 106 registered address in registration request that calling terminal 102 is sent is converted to agent equipment agent address (c, 1) destination address, is converted to the mesh of sip server 112 by, agent address (c, 2) that source address is converted to agent equipment 106 Address (e, 1), and the registration request after conversion is sent to sip server 112, sip server 112 is by calling terminal 102 Network address (c, 1) be saved in database 110.Calling terminal 102 will establish the session request of session with called terminal 104 It is sent to agent equipment 106, the source address of session request is the network address (a2,1) of calling terminal, and destination address is that agency sets Standby 106 network address (b, 1) in first network.Agent equipment 106 carries out the source address and destination address of session request Conversion, converts source address to the agent address (c, 2) of agent equipment, destination address is converted to the network of sip server 112 Address (e, 1), and sending port is selected according to source address (c, 2), it will words request is sent to sip server 112.
Sip server 112 extracts the mark of called terminal 104 in session request, according to the mark of called terminal 104 in number According to the network address for searching called terminal 104 in library 110, the network address for finding the called terminal 104 of preservation is (c, 1), It detects that source address and (c, 1) of session request are different, connection is re-established according to (c, 1), it will words request is sent to agency Equipment 106.Agent equipment 106 searches the network address of called terminal 104, and after session request is carried out address conversion, root Called terminal is sent to according to the source address and destination address of conversion.
As shown in figure 5, provide a kind of session invitation proxy equipment 500 based on SIP, which includes: first to ask Ask receiving module 502, the first request sending module 504, the second request receiving module 506 and the second request sending module 508.
First request receiving module 502 establishes session with called terminal by what agent equipment reception calling terminal was sent Session request, calling terminal and called terminal are in first network.
First request sending module 504, for sending out session request by the first connection of agent equipment and sip server It send to sip server;In the second network, agent equipment connects first network and the second network to sip server.
Second request receiving module 506 connects for receiving sip server by the second of agent equipment and sip server The session request received and sent.
Second request sending module 508, for session request to be sent to called terminal.
In the present embodiment, calling terminal and called terminal are in first network, at sip server in the second network, generation Equipment is managed to be connected to the network first network and second.Establishing with called terminal for calling terminal transmission is received by agent equipment The session request of session, it will words request is sent to sip server by the first connection of agent equipment and sip server, uses To be sent to called terminal by sip server.Session request is received in sip server, uses agent equipment and SIP service Session request is sent to agent equipment by the second connection of device, and session request is sent to called terminal.In this way, using with The second different connection of one connection sends session request, avoids due to using the first connection that session request is sent to caller end End and the case where cause session invitation to fail.
As shown in fig. 6, in one embodiment, the first request sending module 504 includes:
Address conversion module 504a, for extracting the network address of the calling terminal in session request and being converted to the first generation Manage address.
Connection establishment module 504b, for establishing the first connection according to first agent address and sip server.
Session request sending module 504c, for session request to be sent to sip server by the first connection.
It is first agent address by the network address translation of calling terminal, and utilize first agent address in the present embodiment Establish the first connection with sip server, guarantee that first is connected in the second network, avoid sip server transmit data when The network address less than calling terminal is searched in the second network.
As shown in fig. 7, in one embodiment, the session invitation proxy equipment 500 based on SIP further include:
Registration request sending module 510, for receiving the registration request of called terminal transmission.
Network address conversion module 512, for being second agent by the network address translation of called terminal in registration request Address.
Agent address extraction module 514, for the registration request for carrying second agent address to be sent to SIP service Device makes sip server extract the corresponding second agent address of called terminal from registration request and stores.
In the present embodiment, called terminal 104 and sip server 108 are in first network and the second network respectively, if The network address for the called terminal 104 registered in sip server 108, it may appear that sip server 108 is searched in the second network Less than called terminal 104, data cannot be accurately sent to called terminal 104.By by the called terminal 104 in registration request Network address translation at second agent address, sip server 108, can when receiving the data for being sent to called terminal 104 To send data to agent equipment 106 according to second agent address, then first network sent data to by agent equipment 106 In calling terminal 102, ensure that data transmission accuracy.
In one embodiment, the second request receiving module 506 be also used to receive sip server by sip server with The session request that second connection of agent equipment is sent, the second connection is by sip server according to the corresponding second generation of called terminal Address is managed to establish.
In this implementation, by second connection send session request, be not used first connection send session request, avoid by In connecting the situation that session request is returned to calling terminal 102 using same, the case where in order to avoid session establishment is caused to fail.
In one embodiment, sip server is for detecting whether have existed the established according to second agent address Two connections;If it exists, then session request is sent by the second connection;If it does not exist, then second is established according to second agent address Connection.
In the present embodiment, in the present embodiment, detect whether to have existed according to second agent by sip server 108 The second connection that location is established no longer needs to re-establish second if it is present directly sending session request by the second connection Connection, improves the transmission speed of session request.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of session invitation method based on SIP, the method is applied to agent equipment, which comprises
By agent equipment receive calling terminal send the session request that session is established with called terminal, the calling terminal and The called terminal is in first network;
The session request is sent to the sip server by the first connection of the agent equipment and sip server;Institute State sip server in the second network, the agent equipment connects the first network and second network;Described first connects It connects and is established based on the corresponding first agent address of the calling terminal;
It receives the sip server and the session sent is connect with the second of the sip server by the agent equipment Request;Second connection is established based on the corresponding second agent address of the called terminal;
The session request is sent to the called terminal.
2. the method according to claim 1, wherein it is described by the session request by the agent equipment with First connection of sip server is sent to the sip server, comprising:
It extracts the network address of the calling terminal in the session request and is converted to first agent address;
The first connection is established according to the first agent address and the sip server;
The session request is sent to the sip server by first connection.
3. the method according to claim 1, wherein it is described by agent equipment receive calling terminal send with Called terminal is established before the session request of session, further includes:
Receive the registration request that called terminal is sent;
It is second agent address by the network address translation of called terminal in the registration request;
The registration request for carrying the second agent address is sent to the sip server, makes the sip server from note The corresponding second agent address of the called terminal is extracted in volume request and is stored.
4. according to the method described in claim 3, it is characterized in that, the reception sip server is set by the agency Standby second with the sip server connect the session request sent, comprising:
It receives the sip server and the session sent is connect with the second of the agent equipment by the sip server Request, second connection are established by the sip server according to the corresponding second agent address of the called terminal.
5. according to the method described in claim 4, it is characterized in that, the reception sip server passes through the SIP service Device is connect before the session request sent with the second of the agent equipment, further includes:
The sip server detects whether to have existed the second connection established according to the second agent address;If it exists, then The session request is sent by second connection;If it does not exist, then described second is established according to the second agent address Connection.
6. a kind of session invitation proxy equipment based on SIP, which is characterized in that the agent equipment includes:
First request receiving module receives the session for establishing session with called terminal that calling terminal is sent by agent equipment and asks It asks, the calling terminal and the called terminal are in first network;
First request sending module, for the first connection by the session request by the agent equipment and sip server It is sent to the sip server;The sip server in the second network, the agent equipment connect the first network and Second network;First connection is established based on the corresponding first agent address of the calling terminal;
Second request receiving module, for receiving the sip server the by the agent equipment and the sip server The session request that two connections are sent;Second connection is established based on the corresponding second agent address of the called terminal;
Second request sending module, for the session request to be sent to the called terminal.
7. agent equipment according to claim 6, which is characterized in that first request sending module includes:
Address conversion module, for extracting the network address of the calling terminal in the session request and with being converted to first agent Location;
Connection establishment module, for establishing the first connection according to the first agent address and the sip server;
Session request sending module, for the session request to be sent to the sip server by first connection.
8. agent equipment according to claim 6, which is characterized in that the agent equipment further include:
Registration request sending module, for receiving the registration request of called terminal transmission;
Network address conversion module, for by the network address translation of called terminal in the registration request for second agent Location;
Agent address extraction module, for the registration request for carrying the second agent address to be sent to the SIP service Device makes the sip server extract the corresponding second agent address of the called terminal from registration request and stores.
9. agent equipment according to claim 8, which is characterized in that second request receiving module is also used to receive institute It states sip server and the session request sent is connect with the second of the agent equipment by the sip server, described the Two connections are established by the sip server according to the corresponding second agent address of the called terminal.
10. agent equipment according to claim 9, which is characterized in that the sip server is for detecting whether deposited In the second connection established according to the second agent address;If it exists, then the session is sent by second connection to ask It asks;If it does not exist, then second connection is established according to the second agent address.
CN201610024383.5A 2016-01-14 2016-01-14 Session invitation method and agent equipment based on SIP Active CN106973033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610024383.5A CN106973033B (en) 2016-01-14 2016-01-14 Session invitation method and agent equipment based on SIP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610024383.5A CN106973033B (en) 2016-01-14 2016-01-14 Session invitation method and agent equipment based on SIP

Publications (2)

Publication Number Publication Date
CN106973033A CN106973033A (en) 2017-07-21
CN106973033B true CN106973033B (en) 2019-11-22

Family

ID=59335189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610024383.5A Active CN106973033B (en) 2016-01-14 2016-01-14 Session invitation method and agent equipment based on SIP

Country Status (1)

Country Link
CN (1) CN106973033B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1695350A (en) * 2002-10-28 2005-11-09 摩托罗拉公司(在特拉华州注册的公司) Method and apparatus for multi-media communication over multiple networks
CN101051993A (en) * 2006-04-04 2007-10-10 华为技术有限公司 Method for substituting conversation mark conversation replacing method using said conversation mark substitution
US7411917B1 (en) * 2003-03-26 2008-08-12 Network Equipment Technologies, Inc. Method and system for providing registration-based SIP NAT traversal
CN102045409A (en) * 2009-10-13 2011-05-04 财团法人工业技术研究院 Network penetrating method and network communication system
CN102761608A (en) * 2012-06-28 2012-10-31 深信服网络科技(深圳)有限公司 UDP (User Datagram Protocol) conversation multiplexing method and load balancing equipment
CN103477613A (en) * 2011-04-11 2013-12-25 阿尔卡特朗讯公司 Mapping private and public addresses
CN104378339A (en) * 2013-08-16 2015-02-25 深圳市腾讯计算机系统有限公司 Communication method and device based on agency protocol
CN104954373A (en) * 2015-06-12 2015-09-30 广东天波信息技术股份有限公司 Unified communication active SIP (Session Initiation Protocol) calling method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7983218B2 (en) * 2007-03-29 2011-07-19 Intel Corporation Techniques to support seamless mobility of electronic devices engaged in a session initiation protocol (SIP) session

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1695350A (en) * 2002-10-28 2005-11-09 摩托罗拉公司(在特拉华州注册的公司) Method and apparatus for multi-media communication over multiple networks
US7411917B1 (en) * 2003-03-26 2008-08-12 Network Equipment Technologies, Inc. Method and system for providing registration-based SIP NAT traversal
CN101051993A (en) * 2006-04-04 2007-10-10 华为技术有限公司 Method for substituting conversation mark conversation replacing method using said conversation mark substitution
CN102045409A (en) * 2009-10-13 2011-05-04 财团法人工业技术研究院 Network penetrating method and network communication system
CN103477613A (en) * 2011-04-11 2013-12-25 阿尔卡特朗讯公司 Mapping private and public addresses
CN102761608A (en) * 2012-06-28 2012-10-31 深信服网络科技(深圳)有限公司 UDP (User Datagram Protocol) conversation multiplexing method and load balancing equipment
CN104378339A (en) * 2013-08-16 2015-02-25 深圳市腾讯计算机系统有限公司 Communication method and device based on agency protocol
CN104954373A (en) * 2015-06-12 2015-09-30 广东天波信息技术股份有限公司 Unified communication active SIP (Session Initiation Protocol) calling method and system

Also Published As

Publication number Publication date
CN106973033A (en) 2017-07-21

Similar Documents

Publication Publication Date Title
KR102029277B1 (en) Device Identifier-Dependent Operation Processing for Packet-Based Data Communications
CN101188643B (en) Contact destination information registration method, network system, and node
CN106656650B (en) Method and system for generating service test environment, and method, device and system for service test
CN104144098B (en) Information push method, system and push server equipment
US7519052B2 (en) Apparatus and method to provide current location information services in a network
RU2464722C2 (en) Method, device and system for distribution of messages
CN102571947B (en) Processing method proxy method, device and system
CN104202491A (en) Method for handling customer service telephone call and device thereof
JP2006109407A (en) Method and apparatus for merging call components during call reconstruction
CN106850502A (en) Service request retransmission method, storage method, apparatus and system based on connection long
CN108696899A (en) Sip message transmits and method of reseptance and transmission and reception device
CN111585786A (en) Realization of secret-free building method of big data cluster
CN102651732B (en) Service trigger method in a kind of IMS network and system
CN108306907A (en) A kind of management method of terminal, network function and terminal
CN109639767A (en) A kind of Service Gateway data processing method, device, equipment
CN107864161A (en) A kind of data transmission method and device
US8868759B2 (en) Communication system and server
CN106973033B (en) Session invitation method and agent equipment based on SIP
CN109962834B (en) Information processing method, system, terminal and computer storage medium
CN104301450B (en) The method and device of addressing
CN105391702A (en) Audio/video communication method, terminal, server and platform
US20140295806A1 (en) Encoded identifier based network
CN111416762B (en) Method, device, system and storage medium for establishing network tunnel
CN103618739B (en) Data processing method and device of reinforced S-CSCF server
CN104994116A (en) Method, device and system for multi-screen unified communication

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park building A1 layer

Applicant after: SINFOR Polytron Technologies Inc

Address before: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park building A1 layer

Applicant before: Shenxinfu Electronics Science and Technology Co., Ltd., Shenzhen

GR01 Patent grant
GR01 Patent grant