CN1457188A - IP telephone communication through proxy facilities supported by sock5 protocol - Google Patents

IP telephone communication through proxy facilities supported by sock5 protocol Download PDF

Info

Publication number
CN1457188A
CN1457188A CN 02118998 CN02118998A CN1457188A CN 1457188 A CN1457188 A CN 1457188A CN 02118998 CN02118998 CN 02118998 CN 02118998 A CN02118998 A CN 02118998A CN 1457188 A CN1457188 A CN 1457188A
Authority
CN
China
Prior art keywords
proxy
client
server
address
user
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.)
Pending
Application number
CN 02118998
Other languages
Chinese (zh)
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.)
BEIJING AINITONG SCI-TECH Co Ltd
Original Assignee
BEIJING AINITONG SCI-TECH 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 BEIJING AINITONG SCI-TECH Co Ltd filed Critical BEIJING AINITONG SCI-TECH Co Ltd
Priority to CN 02118998 priority Critical patent/CN1457188A/en
Publication of CN1457188A publication Critical patent/CN1457188A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

A network address transform mapping table of the internal network users at the client end of the proxy is built in the user server. The users of the internal network at the client end of the proxy through the proxy register on the user server as well as build the connection to signaling channel and voice channel. When receiving a relevant calling signaling, the call handling server gets the user shared IP address at the client end of the proxy from the user server. Then, the user's address of the internal network at the client end of the proxy contain in the calling signaling is replaced by the IP address. The invention makes users located inside proxy and outside proxy use IP phone normally through modifying IP phone device itself.

Description

IP phone sees through the implementation method of the agent equipment of supporting the Sock5 agreement
Technical field
The invention belongs to a kind of implementation method of IP phone, particularly IP phone implementation method through the agent equipment of supporting the Sock5 agreement.
Background technology
IP phone is to utilize IP network to finish the system of voice call.Its basic networking diagram is as shown in Figure 1: wherein, GW is gateway (Gateway), and it finishes communication network to the voice of IP network and the conversion of signaling.Along with the development of IP phone, H.323 the at present main IP phone agreement of using has, MGCP and SIP.The voice signaling that these three kinds of agreements can be finished on the IP network is handled, and H.323 protocol application is comparatively extensive, and the Session Initiation Protocol development is very fast.The voice of IP network transmit and adopt the RTP/RTCP agreement, and this agreement is based on the agreement of UDP.
In enterprise network, have much all an agency (Proxy) equipment to be set at present, make Internet user can't directly visit internal network, also can manage simultaneously inner user capture Internet in the exit of visit Internet.
Safety certification function to user management in agency's (Proxy) equipment realizes by Sock5 that mostly the user at first must can normally visit Internet then by the authentication of Sock5, and the principle of Sock5 is as follows:
1: at first client device is set up a TCP connection to agency's (Proxy) equipment designated port, sends a Sock5 protocol negotiation request then; Agency's (Proxy) equipment then returns an acknowledge message, otherwise returns refuse information if accepts this protocol negotiation request.
2: after agency's (Proxy) equipment is accepted the protocol negotiation request, can send one of following three kinds of requests according to specific circumstances:
(1) CONNECT: client need be set up TCP with the server on the Internet and be connected, the IP address and the port numbers of in the CONNECT request, carrying the server on the Internet, the TCP that agency's (Proxy) equipment is set up an own server to Internet connects, carry out the TCP message forwarding, agency's (Proxy) equipment is set up the mapping relations of inside and outside connection, return to the address and the port of its internal network in mapping of client then, after client is received the address and port that agency (Proxy) equipment returns, initiation is connected with port to this address, can set up with the TCP of Internet server to be connected.
(2) BIND: client need be asked as the TCP that a server is accepted on the Internet, then send a BIND request, after agency's (Proxy) equipment is set up the mapping relations of inside and outside connection, the address of external network and port numbers are returned to client, client just can be told application on the Internet address of this outside network and port numbers like this, and the application on the Internet is initiated TCP to this address with port and is connected just can set up with the TCP of client and is connected.
(3) UDP (User Datagram Protoco (UDP)): UDP request and CONNECT are similar, and what only the CONNCT request was set up is that TCP connects, and UDP request foundation is that UDP connects.
After adopting SOCK5, client can not be directly and the program on the Internet carry out communication, this has brought problem with regard to the application of giving IP phone, client on the Intranet can not with the IP phone intercommunication on the Internet, at this problem, present solution only has a kind of, promptly set up signaling and voice message that a tunnel encapsulates IP phone, but this scheme need increase the equipment that a message is transmitted on Internet, the velocity request that it is transmitted message is very high, accomplish that big capacity needs very high cost, be not easy to implement.
Summary of the invention
The object of the present invention is to provide a kind of IP phone to see through the implementation method of the agent equipment of supporting the Sock5 agreement, this method is under the situation that does not increase any network equipment, expansion by the function of IP phone equipment own, make and adopt in the network agency (Proxy) equipment user who supports Sock5 can visit IP phone equipment on the Internet easily, can carry out mutual conversation easily.
Method of the present invention comprises the steps:
In client server, set up agency's (Proxy) client internal network user's network address translation mapping table;
The internal network user of agency's (Proxy) device clients registers in client server by acting on behalf of (Proxy) equipment, and sets up signalling path and be connected with voice channel; When call processing server is received the corresponding call signaling, from client server, obtain the IP address that agency (Proxy) client user shares, and replace agency (Proxy) client internal network station address in call signaling with this IP address.
According to technique scheme:
Can dynamically revise the network address translation mapping table in the client server by the interface that hypervisor provides;
The network address translation mapping table is agency (Proxy) client user IP address of sharing and the one-to-one relationship table between port numbers and agency (Proxy) the client user address;
When agency (Proxy) client user registers in client server by agency (Proxy) when startup maybe needs to call out;
During registration, set up a Sock5 TCP passage between internal network user elder generation and the client server, carry out the Sock5 authentication, authentication sends a CONNECT request, a BIND request by the rear line server, two UDP requests, wherein the CONNECT request is used for setting up the registration passage with client server, and the BIND request is used for setting up signalling path, and the UDP request is used and set up two voice channels.
The present invention carries out a spot of modification by client server, call processing server and the PC software in IP phone, make that under the situation that does not increase any network equipment the outside public network user of agency (Proxy) internal network user and agency (Proxy) can normally use all business of IP phone.Therefore, the present invention realizes easily and revises, and cost is low.
Description of drawings
Fig. 1 is an IP phone networking schematic diagram;
Fig. 2 uses IP telephony technology scheme schematic diagram for agency's (Proxy) equipment network mode;
Fig. 3 is that agency (Proxy) the equipment network mode of an embodiment is used IP telephony technology scheme schematic diagram.
Embodiment
PC to Phone, Phone to PC, PC to PC, Phone to Phone are arranged in IP phone, PC to Phone and Phone to PC typical case comparatively wherein, it is that example describes that present embodiment carries out the IP phone session with the Phone user of the pc user of agency's (Proxy) client internal network and public network.The solution of PC to PC and Phoneto Phone and PC to Phone and Phone to PC are just the same.
H.323, all corresponding corresponding apparatus of each agreement of SIP, MGCP PC to Phone in the IP phone and the applied environment of Phone to PC are also different according to the different equipment that adopt of agreement that adopt.But their structure that possesses is an all fours, and can become two equipment to these simplified equipment: client server and call processing server, client server are finished user's registration and relevant management, and call processing server is finished the user's voice signaling process.As shown in Figure 2:
After starting, the PC of internal network sets up a Sock5 TCP passage between elder generation and the client server, carry out the Sock5 authentication, authentication sends a CONNECT request, a BIND request by agent equipment rear line server, two UDP requests, wherein the CONNECT request is used for setting up the registration passage with client server, represents with TCP; The BIND request is used for setting up signalling path, represents with SIG; The UDP request is used and is set up two voice channels, represents with RTP and RTCP.After call processing server is received the corresponding call signaling, just obtain the public network address of SIG, RTP, RTCP from client server, with the address that replaces filling in originally, will make that like this address of using in all session signaling all is the address of public network, no matter make a call or receipt of call, can converse freely.
Because agency's (Proxy) equipment possesses the map addresses function, after it received SIG, RTP, RTCP message, it can be forwarded on the PC of correct internal network.So just do not need to increase any network equipment, only need on client server, call processing server and the PC software of IP phone, carry out above-mentioned modification and get final product.
H.323 agreement with IP phone is an example below, introduces the specific implementation of the present invention under protocol environment H.323.
Consult Fig. 3, in agreement H.323, client server and call processing server are an equipment: gatekeeper, after PC starts, at first send the SOCK5 request to agency's (Proxy) equipment, and authenticate; After authentication is passed through, send a CONNECT request, a BIND request and two UDP requests; Register to the gatekeeper by the TCP passage then, after succeeding in registration, be used to transmit H.225 signaling, be used to transmit voice message by RTP and RTCP passage by the SIG passage.When the telephone subscriber makes a call, gateway is initiated signaling to the gatekeeper and is called out, the gatekeeper sends the setup requests signaling according to the SIG signalling path of setting up in advance to PC, the public network address of destination address for registering on agency's (Proxy) equipment, agency's (Proxy) equipment are finished public network and are transmitted to address transition and the message of the PC of internal network; After the PC call accepted, the public network address that the RTP of gatekeeper's notification gateway PC and RTCP register on agency's (Proxy) equipment, gateway just sends to RTP and RTCP message on agency (Proxy) equipment then, and agency's (Proxy) equipment is finished public network and transmitted to address transition and the message of the PC of internal network.PC and telephone subscriber just can converse freely like this.
The inventive method authenticates by at first sending the SOCK5 request to Proxy, after authentication is passed through, sends a CONNECT request, a BIND request and two UDP requests to set up authentication passage, signalling path and voice channel.When call processing server is received the IP phone signaling, original channel information is rewritten as corresponding signalling path or voice channel, thereby realized that employing supports agency (Pfoxy) equipment user of Sock5 can visit the IP phone equipment on the Internet easily in the network, can carry out mutual conversation easily.

Claims (6)

1, a kind of IP phone sees through the implementation method of the agent equipment of supporting the Sock5 agreement, it is characterized in that comprising the steps:
In client server, set up agency's (Proxy) client internal network user's network address translation mapping table;
The internal network user of agent client registers in client server by agent equipment, and sets up signalling path and be connected with voice channel;
When call processing server is received the corresponding call signaling, from client server, obtain the IP address that the agent client user shares, and replace agent client internal network station address in call signaling with this IP address.
2, implementation method according to claim 1 is characterized in that: can dynamically revise the network address translation mapping table in the client server by the interface that hypervisor provides.
3, implementation method according to claim 1 and 2 is characterized in that: IP address that the network address translation mapping table is shared for the agent client user and the one-to-one relationship table between port numbers and agency (Proxy) the client user address.
4, implementation method according to claim 1 is characterized in that: when agency (Proxy) client user registers in client server by agency's (Proxy) equipment when startup maybe needs to call out.
5, implementation method according to claim 1 is characterized in that: when agency (Proxy) client user finishes call proceeding by the information interaction of call processing server and client server when calling out.
6, implementation method according to claim 1, further comprise when it is characterized in that registering: set up a Sock5 TCP passage between internal network user elder generation and the client server, carry out the Sock5 authentication, authentication sends a CONNECT request, a BIND request by the rear line server, two UDP requests, wherein the CONNECT request is used for setting up the registration passage with client server, and the BIND request is used for setting up signalling path, and the UDP request is used and set up two voice channels.
CN 02118998 2002-05-10 2002-05-10 IP telephone communication through proxy facilities supported by sock5 protocol Pending CN1457188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02118998 CN1457188A (en) 2002-05-10 2002-05-10 IP telephone communication through proxy facilities supported by sock5 protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02118998 CN1457188A (en) 2002-05-10 2002-05-10 IP telephone communication through proxy facilities supported by sock5 protocol

Publications (1)

Publication Number Publication Date
CN1457188A true CN1457188A (en) 2003-11-19

Family

ID=29410369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02118998 Pending CN1457188A (en) 2002-05-10 2002-05-10 IP telephone communication through proxy facilities supported by sock5 protocol

Country Status (1)

Country Link
CN (1) CN1457188A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100448198C (en) * 2004-02-25 2008-12-31 索尼株式会社 Information-processing method, information-processing apparatus and computer program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100448198C (en) * 2004-02-25 2008-12-31 索尼株式会社 Information-processing method, information-processing apparatus and computer program

Similar Documents

Publication Publication Date Title
US6738390B1 (en) SIP-H.323 gateway implementation to integrate SIP agents into the H.323 system
EP1396138B1 (en) Changing media sessions
US6490275B1 (en) Method and apparatus for improving call setup efficiency in multimedia communications systems
US6807166B1 (en) Gateway for internet telephone
CN100471111C (en) Telecommunication service mutual method and system between broadband asomeric network
US20040202295A1 (en) Lawful interception for VoIP calls in IP based networks
CN1623310A (en) Communications protocols operable through network address translation (nat) type devices
MXPA04002229A (en) System and method for providing two-way communications network transmissions over internet protocol.
KR100603562B1 (en) Apparatus and method for voice processing of voice over internet protocol
US20050047423A1 (en) Protocol interworking framework
AU2004222782B2 (en) Network, private branch exchange, wireless LAN terminal, multiprotocol communication terminal control method therefor
US7532614B2 (en) Methods and apparatus for facilitating remote communication with an IP network
US20120225642A1 (en) Method and System to Proxy Phone Directories
US20070041357A1 (en) Interworking of hybrid protocol multimedia networks
US20050018652A1 (en) System and method for proxy gatekeeper in H.323 based IP telephony systems
US20080111880A1 (en) Method of providing video-call service using general voice-call terminal and private branch exchange for performing the method
CN1764172A (en) Multimedia communication proxy system and method capable of crossing network address conversion and firewall
US7408922B2 (en) Communication between switched-circuit communication network and VoIP network domains
CN1901539A (en) Method for multimedia service tunnel pass through NAT
RU2272361C2 (en) Method for accessing finite point from one region to other in ip-network system
US20060168266A1 (en) Apparatus and method for providing signaling mediation for voice over internet protocol telephony
CN101873392B (en) VoIP-based calling method, system and device
CN1559133A (en) Network gateway device and communications system for real item communication connections
CN1457188A (en) IP telephone communication through proxy facilities supported by sock5 protocol
CN1457187A (en) IP calling method through network address switching facilities

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication