KR100639358B1 - Nat or fire wall traversal call method for standard internet-phone in lan - Google Patents

Nat or fire wall traversal call method for standard internet-phone in lan Download PDF

Info

Publication number
KR100639358B1
KR100639358B1 KR1020050039653A KR20050039653A KR100639358B1 KR 100639358 B1 KR100639358 B1 KR 100639358B1 KR 1020050039653 A KR1020050039653 A KR 1020050039653A KR 20050039653 A KR20050039653 A KR 20050039653A KR 100639358 B1 KR100639358 B1 KR 100639358B1
Authority
KR
South Korea
Prior art keywords
server
port
network
firewall
message
Prior art date
Application number
KR1020050039653A
Other languages
Korean (ko)
Inventor
송용호
Original Assignee
(주)애니 유저넷
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 (주)애니 유저넷 filed Critical (주)애니 유저넷
Priority to KR1020050039653A priority Critical patent/KR100639358B1/en
Application granted granted Critical
Publication of KR100639358B1 publication Critical patent/KR100639358B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • 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/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method for passing through a fire wall or an IP(Internet Protocol) sharer through a main-side local network of a standard Internet phone is provided to enable an NFTS(NAT(Network Address Translation) and Fire wall Traversal Server) to process a call, while an MRWS(Media Relay Worker Server) shares relay of media data during call to distribute call traffic, thus speech quality can be improved. A user of an Internet phone(11) designates a self IP and a port, and registers an IP and a port of the Internet phone(11) in an SSCS(SIP(Session Initiation Protocol) Signaling Control Server)(6-3), in binding type(R1). The SSCS(6-3) stores contact head information, record route information, a source(user) address, and a port number, then encodes the stored information into a message(R2). If the SSCS(6-3) transmits the encoded message to a proxy server(6-1) and receives an acknowledgement(R3,R4), the SSCS(6-3) decodes the message to pass through a fire wall(1-1) based on registered port socket information, and is registered so that the user of the Internet phone(11) can call(R5,R6).

Description

표준인터넷전화기의 메인 측 지역 네트웍을 통한 아이피공유기나 방화벽 통과방법{NAT or Fire wall Traversal call method for standard Internet-phone in LAN}NAT or Firewall Traversal call method for standard Internet-phone in LAN

도 1 은 일반적인 브이오아이피 전화기의 호접속 망을 나타낸 구성도,1 is a configuration diagram showing a call connection network of a typical VIO IP telephone,

도 2 는 일반적인 아이피공유기 환경에서의 네트웍 레이어 구성도,2 is a diagram illustrating a network layer configuration in a general IP router environment;

도 3 은 브이오아이피용 아이피공유기 환경에서의 네트웍 레이어 구성도,3 is a diagram illustrating a network layer configuration in an IP router environment for VIO IP;

도 4 는 종래의 사용 환경을 나타낸 시스템 구성도,4 is a system configuration diagram showing a conventional use environment;

도 5 는 본 발명의 시스템 구성도,5 is a system configuration diagram of the present invention;

도 6 은 본 발명의 요부 구성도,6 is a main configuration diagram of the present invention;

도 7 은 본 발명의 사용자 등록을 나타내는 흐름도,7 is a flowchart illustrating user registration of the present invention;

도 8 은 본 발명의 사용자등록 및 방화벽통과를 설명하는 흐름도,8 is a flow chart illustrating user registration and firewall traversal of the present invention;

도 9 는 본 발명의 흐름도,9 is a flow chart of the present invention;

도 10 은 본 발명의 상세한 흐름도이다.10 is a detailed flowchart of the present invention.

도면의 주요 부분에 대한 부호의 설명Explanation of symbols for the main parts of the drawings

6-1;에스아이피프록시서버 6-2;빌링서버 6-3;에스에스시에스서버 6-4;엠알엠에스서버 6-5;엠알더블류에스서버6-1; SIP Proxy Server 6-2; Billing Server 6-3; SSS Server 6-4; MRS Server 6-5; MLD Double Souse Server

본 발명은 표준인터넷전화기의 메인측 지역 네트웍을 통한 아이피공유기나 방화벽 통과방법에 관한 것으로, 에스아이피를 이용한 브이오아이피 환경에서의 통화를 위한 아이피 부족을 해결하기 위하여, 사용하는 아이피 공유기를 브이오아이피 환경에서 적용 가능하도록 하나의 아이피를 이용하여 공중망에 있는 여러 다른 아이피 전화(인터넷전화) 및 공중교환전화망(PSTN)과 연결된 일반전화와의 통화를 가능토록 한 표준인터넷전화기의 메인측 지역 네트웍을 통한 아이피공유기나 방화벽 통과방법에 관한 것이다.The present invention relates to an IP router or a firewall traversing method through a main area network of a standard Internet telephone, and to solve an IP shortage for a call in a VIO environment using SIP, a V router is used. In order to be applicable in the IP environment, a single IP is used to establish a local area network of the main side of a standard Internet phone, which allows the user to make calls with other IP phones (Internet phones) and public telephones connected to the public switched telephone network (PSTN) in the public network. It is about how to pass through IP router or firewall.

일반적으로 인터넷을 이용한 환경이 정착되면서 인터넷전화기가 사용이 늘고 있다. 기존의 인터넷 전화기(Voip)를 사용하는 운영환경은 도 1 과 같이 지역네트워크(LAN; Local Area Network), 광역정보통신망(WAN; Wide Area Network) 및 메인측 지역네트웍(LAN)으로 구분하여 설명한다. 지역네트웍(LAN)은 사설 아이피 환경과 공인 아이피 환경으로 구분되는데 브이오아이피용 아이피 공유기(1)를 통하여 각 환경이 분리된다. 사설 아이피 환경은 아이피 공유기(1)와 브이오아이피 전화기(2)간의 사설 아이피를 통하여 접속토록 구성한다. 공인아이피 환경은 사설아이피환경과 경계를 이루는 브이오아이피용 아이피 공유기(1)와, 브이오아이피용 아이피공유기(1)를 통해 아이피 주소를 포함한 콜을 접속시키는 라우터(3) 및 인터넷 광역정보통신망(WAN)으로 인계하도록 설정 바이폴라 신호로 변환하여 보내는 디지털 서비스 유니트(4)로 이루어진다.In general, as the environment using the Internet is settled, the use of Internet phones is increasing. An operating environment using an existing Internet telephone (Voip) will be described by dividing into a local area network (LAN), a wide area network (WAN), and a main side local area network (LAN) as shown in FIG. . Local network (LAN) is divided into private IP environment and certified IP environment, each environment is separated through IP router for VIO IP (1). The private IP environment is configured to connect through the private IP between the IP router 1 and the VIO phone 2. Certified IP environment includes router (3) for connecting IP including IP address through IP router (1) for VIP that borders private IP environment, and IP router (1) for VIP and internet broadband network. It consists of a digital service unit 4 which converts and sends a set bipolar signal to take over (WAN).

메인측 지역네트웍(LAN)은 공인 아이피 환경을 이루는 것으로, 광역정보통신망(WAN)을 통한 바이폴라신호를 다시 유니폴라신호로 변환하는 디지털 서비스 유니트(4-1)와, 역시 공인아이피 환경에서의 접속로를 설정하는 라우터(3-1)와, 라우터(3-1)를 통한 통로를 기초로 아이피를 인식하도록 허브(5)를 통하여 접속된 브이오아이피 교환기(6) 및 브이오아이피 게이트웨이(7)와, 브이오아이피 게이트웨이(7)를 통한 콜을 일반전화기(8)와 접속토록 하는 공중전화망(PSTN)과 연결하는 교환기(PBX)와, 허브(5)에 연결되는 브이오아이피 전화기(2-1)로 이루어진다.The local area network (LAN) forms a certified IP environment, which is a digital service unit (4-1) that converts a bipolar signal back into a unipolar signal through a wide area information network (WAN), and is also connected in a certified IP environment. Router 3-1 for setting the path, VIP exchanger 6 and VIP gateway 7 connected through hub 5 so as to recognize IP based on the passage through router 3-1. ), A switch (PBX) that connects a call through the VIO gateway 7 with a public telephone network (PSTN) for connecting to the general telephone (8), and a VIO telephone (2) connected to the hub (5). -1)

이러한 브이오아이피 통화방식은 브이오아이피 통화가 이루어지기 위하여 두 단말기(브이오아이피 전화기(Voip Phone))(2, 2-1)는 자신의 아이피 주소를 호신호에 포함시켜 상대에게 보낸다. 호신호에 포함된 신호발원지 아이피주소로 신호수신자는 응답한다. 이 경우 사설아이피를 사용하는 경우, 사설아이피 환경에 있는 브이오아이피 전화기에 대한 아이피 주소는 공인아이피 환경에 있는 브이오아이피전화기에게는 알지못하는 아이피주소(Unknown IP)이므로 호응답측은 호신호 발생이 불가능한 문제점이 있다. 이 문제를 해결하기 위하여 브이오아이피용 아이피 공유기(1)를 별도 제작하여 기존 장비를 교체 사용함으로써 해결하였다. 브이오아이피 용 아이피 공유기(1)는 사설 아이피 환경에 있는 브이오아이피 전화기(2)가 발생하는 호신호에 대하여, 그 호신호 내에 있는 사설 아이피 주소를 아이피 공유기의 공인 아이피 주소로 변환하여 재전송하는 것이 주목적으로, 이렇게 변환된 호신호는 공인 아이피 환경에 있는 브이오아이피 전화에 의해 인식이 가능토록 한다.In this VIP communication method, two terminals (Voip Phones) 2 and 2-1 transmit VIPs to their counterparts by including their IP addresses in a call signal. The signal receiver responds to the signal source IP address included in the call signal. In this case, if the IP is used, the IP address of the VIP phone in the private IP environment is unknown IP, which is unknown to the VIP phone in the authorized IP environment. There is a problem. In order to solve this problem, the IP router (1) for VIO IP was separately manufactured and solved by replacing existing equipment. The IP router 1 for VIO IP converts the private IP address in the IP signal into a public IP address of the IP router and retransmits the call signal generated by the VIP phone 2 in the private IP environment. Mostly, the converted call signal can be recognized by a VIO phone in a certified IP environment.

그러나 브이오아이피용 아이피공유기를 사용하는 경우, 아이피 공유기의 고유 기능에 대한 추가적 프로세스를 필요로 하며, 네트웍 에서의 딜레이 및 브이오아이피 통화품질을 저하시킨다. 이는 일반적인 아이피 공유기는 사설 아이피 주소를 공인 아이피 주소로 변환하는 기능만 수행하였으나, 브이오아이피용 아이피공유기는 아이피공유기를 경유하는 모든 아이피 패킷에 대한 필터링 및 브이오아이피 신호에 대한 데이터 업데이트를 수행하기 때문이다. However, using IP routers for VIP requires additional processes for the unique functions of IP routers and degrades delays and VIP calls in the network. While the general IP router only converts a private IP address into a public IP address, the IP router for VIO IP performs filtering of all IP packets through the IP router and data update for the VIO IP signal. Because.

또한, 아이피 공유기 구조에 대한 레이어(Layer)변화를 요구하는바, 일반적인 공유기 환경에서의 네트웍 레이어를 보면 도 2 와 같다. 이는 브이오아이피 전화기(2-2), 아이피공유기(1-1), 및 인터넷망과 접속하는 라우터(3-2)가 5, 3, 3 레이어 구조를 이룬 것을 나타낸다.In addition, since a layer change to the IP router structure is required, a network layer in a general router environment is shown in FIG. 2. This shows that the VIP phone 2-2, the IP sharer 1-1, and the router 3-2 connecting to the Internet network have a 5-, 3-, 3-layer structure.

도 3 은 브이오아이피용 아이피공유기(1) 환경에서의 네트웍 레이어를 나타낸 도면으로, 이는 브이오아이피 전화기(1), 아이피공유기(2), 및 인터넷망과 접속하는 라우터(3)가 5, 5, 3 레이어 구조를 이룬 것을 나타낸다.FIG. 3 is a diagram illustrating a network layer in an IP router 1 environment for a VIP, which includes a 5, a router 3 connected to a VIP phone 1, an IP router 2, and an internet network. It shows a five and three layer structure.

따라서 일반적인 개념의 표준 공유기는 도 2 와 같이 아이피공유기(1-1)가 레이어3(Layer3)에서 진행되는 것이며, 브이오아이피용 아이피공유기(1)는 레이어5(Layer5)에서 진행되는 것으로 별도의 추가 시간(Overhead)이 필요하다. 이는 네트웍 관리 관점에서 심각한 단점으로 작용한다.Therefore, the standard router of the general concept is that the IP sharer (1-1) proceeds in Layer 3 (Layer3) as shown in Figure 2, the IP sharer (1) for VIO IP proceeds in Layer 5 (Layer5) Overhead is required. This is a serious disadvantage from a network management perspective.

또한, 표준 공유기를 브이오아이피용 공유기로 대체하지만 여전히 추가적인 운영비용이 발생하고, 브이오아이피 공유기와 표준 공유기와의 호환성에도 문제가 발생할 수 있다. 그리고 브이오아이피 프로토콜별로 공유기 설치가 필요하므로 유지 보수 및 운영에 문제가 발생한다.In addition, it replaces the standard router with a router for VIP, but still incurs additional operating costs and may cause problems in compatibility with the V router and the standard router. And since the router needs to be installed for each VIP protocol, there is a problem in maintenance and operation.

한편, 에스아이피는 서버(Voip 교환기)에서 사용하는 프로토콜( 에스아이피(SIP; Session Initiation Protocol))로, 이는 아이이티에프(IETF; Internet Engineering Task Force) 기관이 주관이 되어 정의한 인터넷 프로토콜 상에서 미디어(전화포함)를 전송하는 프로토콜이다. 이는 인터넷 전화 호(Call)와 같은 세션을 설정, 변경, 종료할 수 있는 프로토콜(OSI 7 Layer의 Application Layer Protocol)로, 기존의 인터넷 전화서비스 프로토콜로 사용중인 아이티유티(ITU-T)가 정의한 표준(H.323)에 비해 호 설정 시간이 짧고, 여러 부가 서비스가 융통성 있게 지원 가능한 기술적으로 우수한 아키텍처로 구성되어 차세대 인터넷 전화기 전화서비스 및 아이엠티2000 서비스, 그리고 음성 사서함 등 부가서비스를 위한 프로토콜로 활용될 수 있는 통신 규약이다. On the other hand, SIP is a protocol used by a server (Voip Switch) (SIP (Session Initiation Protocol)), which is a media (telephone) over the Internet protocol defined by the Internet Engineering Task Force (IETF). It is a protocol for transmitting). This is an application layer protocol (OSI 7 Layer Application Layer Protocol) that can set up, change, and terminate sessions such as Internet phone calls. It is a standard defined by ITU-T, which is used as an existing Internet phone service protocol. Call setup time is shorter than that of (H.323), and it is composed of a technically superior architecture that can support various additional services flexibly, and is used as a protocol for next-generation Internet phone telephone service, IMT2000 service, and voice mail additional services. This can be a communication protocol.

한편, 사설인터넷망이 설치된 환경에서, 에스아이피를 이용한 브이오아이피 환경의 기존의 장비들의 설정을 변화시키지 않고도 브이오아이피 통화를 가능토록 하는 기술이 개발되었는바, 이는 도 4 와 같이 에스아이피 서버를 이용한 브이오아이피 전화기의 사용 환경은 지역네트워크(LAN; Local Area Network), 광역정보통신망(WAN; Wide Area Network) 및 메인 측 지역네트웍(LAN)으로 구분하여 설명한다. 지역네트웍(LAN)은 사설 아이피 환경과 공인 아이피 환경으로 구분되는 데 표준형 아이피 공유기(1-1)을 통하여 각 환경이 분리된다. 사설 아이피 환경은 아이피 공유기(1-1)와 에스아이피 전화기(11)간의 사설 아이피를 통하여 접속토록 구성한다. 공인 아이피 환경은 사설 아이피 환경과 경계를 이루는 아이피 공유기(1-1)와, 아이피공유기(1-1)를 통한 아이피 주소를 인식하여 통로로 접속시키는 라우터(3) 및 인터넷 광역정보통신망(WAN)으로 인계하도록 설정 바이폴라 신호로 변환하여 보내는 디지털 서비스 유니트(4)로 이루어진다. 상기 아이피 공유기(1-1)는 사설인터넷망(NAT; Network Address Translation)에서 데이터(TCP/IP)를 구분하여 전송토록 레이어3로 이루어진 도 2 에 보인 아이피 공유기(1-1)를 예시할 수 있다.On the other hand, in an environment in which a private Internet network is installed, a technology for enabling a VIP call without changing the settings of existing devices in the VIP environment using SIP has been developed. The usage environment of the VIO phone by using is divided into a local area network (LAN), a wide area network (WAN) and the main side local area network (LAN). Local network (LAN) is divided into private IP environment and certified IP environment. Each environment is separated through standard IP router (1-1). The private IP environment is configured to be connected through the private IP between the IP router 1-1 and the SIP phone 11. Certified IP environment includes IP router (1-1) bordering private IP environment, router (3) which recognizes IP address through IP router (1-1) and connects to a passageway and Internet wide area information network (WAN) It consists of a digital service unit (4) which is converted to a bipolar signal set to take over. The IP sharer 1-1 may exemplify the IP sharer 1-1 shown in FIG. 2, which is composed of layer 3 so as to transmit data by separating data (TCP / IP) from a private Internet network (NAT; Network Address Translation). have.

메인측 지역네트웍(LAN)은 공인 아이피 환경을 이루는 것으로, 광역정보통신망(WAN)을 통한 바이폴라신호를 다시 유니폴라신호로 변환하는 디지털 서비스 유니트(4-1)와, 역시 공인아이피 환경에서의 접속로를 설정하는 라우터(3-1)와, 라우터(3-1)를 통한 통로를 기초로 아이피를 인식하도록 허브(5)를 통하여 접속된 서버(6, 6-1, 6-2)와, 허브(5)를 통하여 접속하는 에스아이피 전화기(11-1)와, 일반전화기(8)와 공중전화망(PSTN)으로 스위칭하는 교환기(PBX)와 접속하는 에스아이피 게이트웨이(7)로 이루어진다. The local area network (LAN) forms a certified IP environment, which is a digital service unit (4-1) that converts a bipolar signal back into a unipolar signal through a wide area information network (WAN), and is also connected in a certified IP environment. A router 3-1 for setting a path, servers 6, 6-1, 6-2 connected through the hub 5 to recognize an IP based on a passage through the router 3-1, It consists of the SIP telephone 11-1 which connects through the hub 5, and the SIP gateway 7 which connects with the switch PBX which switches to the general telephone 8 and the public telephone network PSTN.

그러나 이러한 방식은 브이오아이피 환경하에서 통화를 가능토록 하는 방법이나, 방화벽이나 사설아이피망에서 사용하는 모든 표준 전화기에 적용할 수 없는 문제점이 있다.However, this method has a problem in that it is possible to make a call in a VIP environment, or it is not applicable to all standard phones used in a firewall or a private IP network.

본 발명은 이를 해결하고자 하는 것으로, 본 발명의 목적은 기존의 방화벽 환경하에서도 에스아이피 전화기의 콘텐츠 수정 없이 표준 전화기를 사용하여도 인터넷전화기사업자가 제공하는 서버를 통하여 인터넷전화를 가능토록 하는 인터넷전 화기의 제어방법을 제공하려는 것이다.The present invention is to solve this problem, an object of the present invention is to enable Internet telephony through a server provided by the Internet telephone provider even in the existing firewall environment using a standard telephone without modifying the contents of the SIP telephone To provide a way of controlling firearms.

이를 위하여 본원 발명은 기존의 공인 아이 피망을 이루는 서버 측의 에스아이피 프록시서버 전단에 콜러(Caller)측의 에스아이피메시지를 제어하는 에스에스시에스서버(SSCS)와, 음성신호제어프로토콜(RTP)을 관리하여 알티피 아이피 포트를 생성하는 엠알엠에스서버(MRMS)와, 엠알엠에스서버의 관리에 따라 콜러와 엠알더블류에스서버의 바인드된 주소 포트로 에스디피 메시지 변환하여 알티피 패킷을 에스아이피 프록시서버로 릴레이 해주는 엠알더블류에스서버(MRWS)를 통한 각 과정을 수행하여 이를 구현토록 한다.To this end, the present invention manages the SCS server (SSCS) and voice signal control protocol (RTP) to control the SPS message of the caller (Caller) on the front end of the SIP proxy server of the server side constituting the existing authorized IP bell pepper MMS server (MRMS) for generating ALTP IP port, and converts SDP message into bound address port of caller and MLD double server according to management of MMS server, and converts ALTP packet to SIP proxy server. It implements each process through the MRWS which relays.

즉, 본 발명은 아이피공유기와 방화벽을 통하여 사설아이피망과 공인아이피망을 연결하고 공인아이피망에서 콜라우팅 등의 기능을 하도록 메인측 지역네트웍을 이루는 프록시서버를 사용하는 인터넷전화기의 제어방법에 있어서,That is, the present invention provides a method for controlling an Internet telephone using a proxy server that connects a private IP network and a public IP network through an IP sharer and a firewall, and forms a main side local area network to perform functions such as collating in the public IP network. ,

메인측 지역네트웍을 이루는 프록시서버 전단에 에스에스시에스서버를 부가하고,Add an SCS server to the front of the proxy server forming the main local area network.

콜러인 인터넷전화기(에스아이피전화기) 사용자가 자신의 아이피 및 포트를 지정하여 바인딩 형태로 인터넷전화기의 아이피및 포트를 에스에스시에스서버에 사용자 등록하고,Caller Internet Phone (SIP Phone) User specifies his or her IP and port, and registers the IP and port of the Internet phone to the SSS server as a binding form.

에스에스시에스서버에서는 콘택트헤드정보와, 라우트(Record-Route)정보, 소스(사용자)주소와 포트번호 등을 저장하고 이를 메시지로 인코딩하고,The SSS server stores the contact head information, the route (Record-Route) information, the source (user) address and the port number, and encodes them into a message.

에스에스시에스서버에서 상기 인코딩한 메시지를 프록시서버에 전송하여 응답을 받으면,When the SMS server sends the encoded message to the proxy server and receives a response,

메시지를 디코딩하여 등록된 포트(IP PORT) 소켓정보를 기초로 방화벽을 통과하여 인터넷전화기 사용자가 통화 가능토록 등록하는 과정을 순차 수행함을 특징으로 하는 표준인터넷전화기의 메인측 지역 네트웍을 통한 아이피공유기나 방화벽 통과방법을 제공하려는 것이다.The IP sharer can be decoded and passed through the firewall on the basis of IP port socket information. We want to provide a way through firewalls.

본 발명은 또한 아이피 공유기와 방화벽을 통하여 사설아이피망과 공인아이피망을 연결하고 공인아이피망에서 콜라우팅 등의 기능을 하도록 메인측 지역네트웍을 이루는 프록시서버를 사용하는 인터넷전화기의 제어방법에 있어서,The present invention also provides a method for controlling an Internet telephone using a proxy server that connects a private IP network and a public IP network through an IP router and a firewall, and forms a main side local area network to perform a function such as corouting on the public IP network.

프록시서버로 전달되는 신호 전단에 엔에프티에스서버(NAT & Fire wall Traversal Server)를 부가하고;Adding an NAT & FireWall Traversal Server to the front end of the signal transmitted to the proxy server;

엔에프티에스서버는 표준에스아이피 메시지를 표준인터넷전화기로부터 받아서 메시지를 인코딩/디코딩한 후 사설아이피망이나 방화벽을 통과토록 하는 과정을 수행하여;The NFC server receives the standard SIP message from the standard Internet phone, encodes / decodes the message, and passes the private IP network or firewall through the IP server.

표준 인터넷전화기의 방화벽이나 사설아이피망을 엔에프티에스 서버에서 통과토록 제어하는 것을 특징으로 하는 표준인터넷전화기의 메인측 지역 네트웍을 통한 아이피공유기나 방화벽 통과방법을 제공하려는 것이다.The purpose of the present invention is to provide an IP router or a firewall traversal method through a local area network of a standard Internet telephone, which is characterized by controlling the firewall of a standard Internet telephone or a private IP network to be passed through an NTS server.

상기 엔에프티에스서버는 에스에스시에스서버,엠알엠에스서버, 엘알더블류에스서버로 구분하고,The NFC server is divided into the SSS server, MMS server, L double-double server server,

에스에스시에스서버에서 RTP IP PORT를 생성토록 엠알엠에스서버에 요청하고,Request an SMS server to create an RTP IP PORT on the SMS server,

엠알엠에스서버는 엠알더블류에스서버로 포트 바인드를 요청하고,MMS server requests port bind to MDL double server,

엠알더블류에스서버의 응답을 엠알엠에스서버가 받아 에스에스시에스서버로 응답하고,MLS server receives the response of the MLS double server, and responds to the SSS server,

에스에스시에스서버는 콜러측 인터넷전화기(에스아이피전화기)와 엠알더블류에스서버의 바인드된 주소를 SDP로 변환(Decode/Encode) 후 인바이트 메시지를 에스아이피 프록시서버로 보내는 과정을 수행한다.The SSS server performs a process of converting the bound addresses of the caller's Internet telephone (SIP telephone) and the MLD Double S / S server into SDP (Decode / Encode) and then sending an invite message to the SPI proxy server.

이어 링잉(Ringing)이 완료되면 에스에스시에스서버가 엘알엠에스서버에 엠알더블류에스의 IP, 포트를 요청하고,Then, when the ringing is completed, the SSS server requests the RS server to the IP and port of the MLS.

엠알엠에스서버에서는 엠알더블류에스서버의 IP, 포트를 에스에스시에스서버에 전달하여,In the MLS server, the IP and port of the MDL double RS server are transferred to the SSS server.

에스에스시에스 서버에서는 콜리드측 인터넷전화기와 엠알더블류에스서버의 바인드된 주소를 SDP로 변환(Decode/Encode)하여 방화벽을 통과토록 하는 과정을 더 수행한다.The SSS server further performs a process of translating the bound addresses of the Collide-side Internet telephone and the M-DoubleS Server to SDP (Decode / Encode) to pass through the firewall.

이어 콜러측 인터넷전화기는 이를 받아 미디어데이타를 엠알더블류에스의 바인딩된 IP PDRT로 보내고,The caller's Internet phone receives it and sends the media data to the MDL Double Binding's IP IPRT.

엠알더블류에스서버는 이를 콜리드측 인터넷전화기로 보내며,The MDL Double Server sends this to the telephone side of the Internet.

콜리드 측 인터넷전화기는 엠알더블류서버의 상기 바인딩된 IP PORT 를 경유하여 콜러측 인터넷전화기(에스아이피전화기)로 미디어 데이타를 보내는 과정을 더 수행한다.The collide-side Internet telephone further performs a process of sending media data to the caller-side Internet telephone (S-IP telephone) via the bound IP PORT of the MDU server.

본 발명에서 사용하는 구성요소들의 용어를 먼저 정리한다.The terms of the components used in the present invention are summarized first.

에스에스이에스서버(SSCS : SIP Signaling Control Server)는 SIP 메시지를 제어하는 서버이다. 엠알엠에스서버(MRMS : Media Relay Maser Server)는 RTP 채널을 할당/해지를 관리하는 서버이다. 엠알더블류에스서버(MRWS : Media Relay Worker Server)는 RTP 채널을 오픈하고, RTP 패킷을 릴레이 해주는 서버이다. 사용자(UA : User Agent)는 SIP 사용자이다. 에스아이피(SIP; Session Initiation Protocol)는 프로토콜이다. 에스디피(SDP : Session Description Protocol)는 역시 프로토콜이다.SS Signaling Control Server (SSCS) is a server that controls SIP messages. MMS server (MRMS) is a server that manages allocation / release of RTP channel. MWS (Media Relay Worker Server) is a server that opens an RTP channel and relays an RTP packet. A user (UA) is a SIP user. Session Initiation Protocol (SIP) is a protocol. Session Description Protocol (SDP) is also a protocol.

이하 본원 발명의 실시예를 도면을 참조하여 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

도 5 는 본원발명을 이루는 구성도로, 지역네트웍(LAN)은 사설 아이피 환경과 공인 아이피 환경으로 구분되는 데 표준형 아이피 공유기(1-1)을 통하여 각 환경이 분리되고, 사설 아이피 환경은 아이피 공유기(1-1)와 에스아이피 전화기(11)간의 사설 아이피를 통하여 접속토록 구성한다. 공인 아이피 환경은 사설 아이피 환경과 경계를 이루는 아이피 공유기(1-1)와, 아이피 공유기(1-1)를 통한 아이피 주소를 인식하여 통로로 접속시키는 라우터(3) 및 인티넷 광역정보통신망(WAN)으로 인계하도록 설정 바이폴라 신호로 변환하여 보내는 디지털 서비스 유니트(4)로 이루어진다. 상기 아이피 공유기(1-1)는 레이어3로 이루어진 도 2 에 보인 아이피 공유기(1-1)를 예시할 수 있다.5 is a block diagram of the present invention, a local network (LAN) is divided into a private IP environment and a certified IP environment, each environment is separated through a standard IP sharer (1-1), the private IP environment is an IP sharer ( 1-1) and the SIP telephone 11 to connect through a private IP. Certified IP environment includes IP router (1-1) bordering private IP environment, router (3) that recognizes IP address through IP router (1-1) and connects to a passageway, and Intenet wide area network (WAN). And a digital service unit 4 which converts the set bipolar signal and sends it. The IP sharer 1-1 may illustrate the IP sharer 1-1 shown in FIG.

메인측 지역네트웍(LAN)은 공인 아이피 환경을 이루는 것으로, 광역정보통신 망(WAN)을 통한 바이폴라신호를 다시 유니폴라신호로 변환하는 디지털 서비스 유니트(4-1)와, 역시 공인아이피 환경에서의 접속로를 설정하는 라우터(3-1)와, 라우터(3-1)를 통한 통로를 기초로 아이피를 인식하도록 허브(5)를 통하여 접속된 서버(6,6-1,6-2)와, 허브(5)를 통하여 접속하는 에스아이피 전화기(11-1)와, 일반전화기(8)와 공중전화망(PSTN)으로 스위칭하는 교환기(PBX)와 접속하는 에스아이피 게이트웨이(7)로 이루어진다. 이에 더하여 본원발명은 에스아이피 프록시서버(6-1) 전단에 엔에프티에스서버(NFTS)를 부가한다. The main local area network (LAN) forms a certified IP environment, which is a digital service unit (4-1) that converts a bipolar signal through a wide area information network (WAN) back into a unipolar signal, and also in a certified IP environment. A router 3-1 for establishing a connection path, and servers 6, 6-1, 6-2 connected through a hub 5 to recognize an IP based on a passage through the router 3-1; And an SIP phone 11-1 connected through the hub 5, and an SG gateway 7 connected to the general telephone 8 and the switch PBX switching to the public telephone network PSTN. In addition, the present invention adds an NFC server (NFTS) to the front end of SIP proxy server 6-1.

도 6 은 본 발명의 요부 구성도로, 엔에프티에스서버(NFTS)는 에스에스시에스서버(SSCS;SIP Signaling Control Server)(6-3),엠알엠에스서버(Media Relay Master Server)(6-4), 엘알더블류에스서버(Media Relay Worker Server)((6-5)로 구분하고,6 is a main configuration diagram of the present invention, the NFC server (NFTS) is the SSCS (SIP Signaling Control Server) (SSCS) 6-3, MMS server (Media Relay Master Server) (6-4), It is divided into L Relay Server (Media Relay Worker Server) ((6-5),

에스에스시에스서버(6-3)에서는 RTP IP PORT를 생성토록 엠알엠에스서버(6-4)에 요청하고,The SSS server 6-3 requests the MLS server 6-4 to generate an RTP IP PORT,

엠알엠에스서버(6-4)는 엠알더블류에스서버(6-5)로 포트 바인드를 요청하고,The MS server 6-4 requests a port bind to the MS double server 6-5,

엠알더블류에스서버(6-5)의 응답은 엠알엠에스서버(6-4)가 받아 에스에스시에스서버(6-3)로 응답하고,The MLS server 6-5 receives the response from the MS server 6-4 and responds to the SMS server 6-3.

에스에스시에스서버(6-3)는 콜러측 인터넷전화기(에스아이피전화기(11))와 엠알더브류에스서버(6-5)의 바인드된 주소를 SDP로 변환(Decode/Encode) 후 인바이트 메시지를 에스아이피 프록시서버(6-1)로 보내는 과정을 수행하도록 구성한다.The SSS server 6-3 converts the bound address of the caller's Internet telephone (SIP telephone 11) and the MLD Brewers server 6-5 into SDP (Decode / Encode), and then sends an invite message. It is configured to perform a process of sending to the STP proxy server (6-1).

도 7 은 본 발명의 사용자 등록을 나타내는 흐름도, 도 8 은 본 발명의 사용 자등록 및 방화벽통과를 설명하는 흐름도로, 메인측 지역네트웍을 이루는 프록시서버 전단에 에스에스시에스서버를 부가하고,FIG. 7 is a flowchart illustrating user registration of the present invention, and FIG. 8 is a flowchart illustrating user registration and firewall passage of the present invention, wherein an SSS server is added to a proxy server forming a main area local area network.

콜러인 인터넷전화기(에스아이피전화기)(11) 사용자가 자신의 아이피 및 포트를 지정하여 바인딩 형태로 인터넷전화기의 아이피및 포트를 에스에스시에스서버에 사용자 등록하고(R1),Internet phone (SIP phone) that is a caller (11) The user designates his or her IP and port, and registers the IP and port of the Internet phone to the SSS server in the form of binding (R1),

에스에스시에스서버에서는 콘택트헤드정보와, 라우트(Record-Route)정보, 소스(사용자)주소와 포트번호등을 저장하고 이를 메시지로 인코딩하고(R2),In the SSS server, the contact head information, the route (Record-Route) information, the source (user) address and port number, etc. are stored and encoded into a message (R2),

에스에스시에스서버에서 상기 인코딩한 메시지를 프록시서버(6-1)에 전송하여 응답(200 OK)을 받으면(R3,R4),If the SSS server transmits the encoded message to the proxy server 6-1 and receives a response (200 OK) (R3, R4),

메시지를 디코딩하여 등록된 포트(IP PORT) 소켓정보를 기초로 방화벽을 통과하여 인터넷전화기 사용자가 통화 가능토록 등록하는 과정(R5,R6)을 순차 수행한다.After decoding the message, based on the registered information of the IP port socket, the Internet phone user passes through the firewall and registers a call so that the user can make a call (R5 and R6).

이와 같은 구성을 이루는 본원발명의 사용자 등록 및 방화벽 통과 과정을 설명한다. It describes the user registration and firewall traversal process of the present invention constituting such a configuration.

(가)사용자등록 및 방화벽통과과정(A) User registration and firewall pass

사설아이피 또는 방화벽 안쪽에 위치한 사용자(UA1)의 에스아이피전화기(11)는 프록시서버(6-1)에 에스에스시에스서버(6-3)의 서버주소(예를들어 61.74.195.156)로 설정하고, 모든 에스아이피 메시지를 에스에스시에스서버로 전송하면, 에스에스시에스서버는 사용자(UA1)로 부터 받은 메시지를 확인하여 해당 프 록시서버(6-1)에 송신하는 역할을 담당한다.The SIP telephone 11 of the user UA1 located inside the private IP or firewall is set to the server address of the SSS server 6-3 in the proxy server 6-1 (for example, 61.74.195.156). When all the SPI messages are sent to the SSS server, the SSS server is responsible for checking the message received from the user UA1 and sending the message to the corresponding proxy server 6-1.

하지만, 사용자(UA1)로부터 수신한 메시지를 프록시서버(6-1)에 전송하는 건 사설이건 공인아이피 환경이건 문제가 되지 않지만 프록시서버(6-1)로부터 받은 메시지를 해당사용자(UA1)에게 보내기 위하여는 먼저 사용자(UA1)가 등록을 할 때 사용자(UA1)의 메시지를 인코딩한다(메시지 변환하여)(R1,R2). 이때 인코딩시 사용자 아이디를 메시지정보(헤더정보(Contact-Header))에서 해당아이디가 에스에스시에스서버(6-3)에 등록된 아이디 인지를 체크하고 등록된 아이디이면 해당 사용자의 정보를 업데이트하고, 등록되지 않은 사용자이면 사용자를 로칼 데이타베이스(도시하지 않았으며 예를 들면 메모리데이타베이스)에 신규 추가를 한다. 이 경우 하나의 사용자(UA1)가 로칼 데이타베이스에 추가될 때 등록되는 정보는 에스아이피의 인코딩된 정보에서 키가 되는 헤더(From Header)와 수신소켓의 소스 공인아이피주소(예를들어 도 7 및 도 8 에 예시한 192.168.1.188), 소스포트번호(UDP 5060PORT), 등록시간, 익스파이어헤더(Expire Header)등의 정보를 보관하는 것을 예시할 수 있다.However, sending a message received from the user UA1 to the proxy server 6-1 does not matter whether it is a private or public IP environment, but sends a message received from the proxy server 6-1 to the user UA1. In order to do this, first, when the user UA1 registers, the message of the user UA1 is encoded (by message conversion) (R1, R2). In this case, the user ID is encoded in the message information (header information (Header information) in the header to check whether the ID registered in the SSS server (6-3), if the registered ID, update the information of the user, and registered If not, the user is added to the local database (not shown, for example, a memory database). In this case, when a user UA1 is added to the local database, the registered information is a header from the encoded information of SIP and the source public IP address of the receiving socket (for example, FIGS. It may be exemplified to store information such as 192.168.1.188), a source port number (UDP 5060PORT), a registration time, an EXP header, and the like illustrated in FIG. 8.

따라서 등록된 사용자(UA1)의 정보를 바탕으로 에스에스시에스서버(6-3)는 프록시서버(6-1)에 인코딩된 메시지를 전송하고(R3), 프록시서버(6-1)는 메시지(예를 들어 INVITE, BYE, CANCEL등 포함)를 에스에스시에서서버로 보낸다(R4). Therefore, on the basis of the information of the registered user UA1, the SSS server 6-3 transmits the encoded message to the proxy server 6-1 (R3), and the proxy server 6-1 sends the message (eg For example, INVITE, BYE, CANCEL, etc.) are sent from the server to the server (R4).

그러면 에스에스시에스서버(6-3)에서는 메시지를 디코딩하고(R5), 등록된 사용자(UA1)를 검색하여 매핑된 아이피(예를 들어 192.168.1.188)와 포트번호(예를 들어 5060)로 UDP를 이용하여 에스아이피 응답메시지를 전달하면 사설 및 방화벽 환경에서의 데이터 통과 부분이 해결된다.Then, the SSS server 6-3 decodes the message (R5), searches for the registered user UA1, and uses UDP as the mapped IP (for example, 192.168.1.188) and port number (for example, 5060). By passing SPI response message, data passing part in private and firewall environment is solved.

한편, 상기와 같이 사용자가 등록된 상태에서는 세션을 유지하는 과정을 수행한다. 즉, 사설아이피망이나 방화벽에서 열려진 UDP 포트는 일정시간 동안 사용이 없을 경우 포트가 닫히게 되므로, 본원발명에서는 에스에스시에스서버와의 통신 유지를 위하여 주기적인 메시지(예를 들어UDP Keep-alive 메시지)를 보내주어야 하고 이를 위한 일 예로는 일정시간간격(예를 들어 10초 간격)으로 데이타("CRLF)를 등록된 보냈던 포트(5060)로 보내는 것을 예시할 수 있다. Meanwhile, as described above, a process of maintaining a session is performed when a user is registered. That is, the UDP port opened in the private IP network or firewall is closed when there is no use for a certain time, so in the present invention, a periodic message (for example, a UDP keep-alive message) is maintained in order to maintain communication with the CS server. One example for this purpose is to send data ("CRLF") to the registered sent port 5060 at regular intervals (e.g., 10 second intervals).

상기에서는 사설아이피 및 방화벽 환경에서 SIP 메시지는 에스에스시에스서버(6-3)를 통해 프록시서버(6-1)와의 메시지 송수신을 해결하였다. 그렇다면, 통화를 위하여 RTP세션의 수립 및 유지는 어떻게 이루어지는지를 도 9 및 도 10의 플로우를 통하여 함께 설명한다.In the above, the SIP message in the private IP and firewall environment solves the message transmission and reception with the proxy server (6-1) through the SSS server (6-3). If so, how to establish and maintain an RTP session for a call will be described together with the flow of FIGS. 9 and 10.

(나)통화를 위하여 RTP세션의 수립 및 유지과정(Ii) establishing and maintaining an RTP session for the call;

도 9 는 본 발명의 흐름도, 도 10 은 본 발명의 상세한 흐름도로, 상기 구성요소를 결합시켜 설명하면, 에스아이피전화기(11)를 사용하는 사용자(UA1)가 콜리드를 요청하면 도 5 와 같이 아이피공유기(방화벽)(1-1)를 거쳐서 공인아이피환경에서 라우터(3) 및 디지탈서비스유니트(3)를 거치고, 이어 광역정보통신망(WAN)을 을 이루는 인터넷망을 통하여 디지탈서비스유니트(4-1)로 보내지고, 디지탈서비스유니트(4-1)에서는 유니폴라신호로 변환한 후,라우터(3-1)를 거쳐 엔에프티에스서버(NFTS)를 이루는 에스에스시에스서버(6-3)로 콜리드측 사용자(UA2)의 인터넷전화 기(11-1)를 콜하면(S1), 에스에스시에스서버(6-3)에서는 RTP IP PORT를 생성토록 엠알엠에스서버에 요청하고(IP PORT REQ)(S2),FIG. 9 is a flowchart of the present invention, and FIG. 10 is a detailed flowchart of the present invention. When the above components are combined and described, when a user UA1 using the SIP phone 11 requests a collide, as shown in FIG. The router (3) and the digital service unit (3) in the authorized IP environment via the IP router (firewall) (1-1), followed by the digital service unit (4- via the Internet network forming a wide area information network (WAN) 1), the digital service unit (4-1) converts the signal into a unipolar signal, and then calls the SNS server (6-3) that forms the NFC server (NFTS) via the router (3-1). When calling the Internet telephone 11-1 of the lead user UA2 (S1), the SSS server 6-3 requests the MMS server to generate an RTP IP PORT (IP PORT REQ) (S2). ),

엠알엠에스서버(6-4)는 엠알더블류에스서버(6-5)로 포트 바인드를 요청하고(PORT Bind REQ)(S3),The MLS server 6-4 requests a port bind to the MLD double server 6-5 (PORT Bind REQ) (S3),

엠알더블류에스서버(6-5)의 응답을 엠알엠에스 서버(6-4)가 받아(PORT Bind RES), 에스에스시에스서버(6-3)로 응답하고(IP PORT RES)(S4,S5),The MLS server 6-4 receives the response of the MDL server 6-5 (PORT Bind RES), and responds to the SSS server 6-3 (IP PORT RES) (S4, S5). ,

에스에스시에스서버(6-3)는 콜러측 인터넷전화기(에스아이피전화기(11))와 엠알더브류에스서버(6-5)의 바인드된 주소를 SDP 로 변환(Decode/Encode)후(S6), 인바이트 메시지를 에스아이피 프록시서버(6-1)로 보내는 과정(S7)을 수행한다(INVITE UA2).The SSS server 6-3 converts the bound addresses of the caller-side Internet telephone (SIP telephone 11) and the MDL Brewers server 6-5 to SDP (Decode / Encode) (S6), A process (S7) of sending the invite message to the SIP proxy server 6-1 is performed (INVITE UA2).

상기 과정(S7)에 이어 에스아이피 프록시서버(6-1)에서 에스에스시에스서버(6-3)로의 링잉(180 Ringing)이 완료되면(200 OK)(S8,S9), 에스에스시에스서버(6-3)가 엘알엠에스서버(6-4)에 엠알더블류에스서버(6-5)의 IP, 포트를 요청하고(IP PORT REQ)(S10),Subsequent to the process (S7), when ringing from the STP proxy server 6-1 to the SSS server 6-3 is completed (200 OK) (200 OK) (S8, S9), the SSS server (6- 3) requests the RS server 6-4 to the IP and port of the MLS double server 6-5 (IP PORT REQ) (S10),

엠알엠에스서버(6-4)에서는 엠알더블류에스서버(6-5)의 IP, 포트를 에스에스시에스서버(6-3)에 전달하여(IP PORT RES)(S11),In the MLS server 6-4, the IP and port of the MLD double server 6-5 are transferred to the SSS server 6-3 (IP PORT RES) (S11),

에스에스시에스 서버(6-3)에서는 콜리드측 인터넷전화기(11-1)와 엠알더블류에스서버(6-5)의 바인드된 주소를 SDP로 변환(Decode/Encode)하여 방화벽(아이피공유기(1-1))을 통과토록 하는 과정(S12)을 더 수행한다. The SSS server 6-3 converts (decodes / encodes) the bound addresses of the collide-side Internet telephone 11-1 and the MDU server 6-5 into SDP so as to decode / encode the firewall (IP sharer (1). -1)) to further pass through the process (S12).

상기 과정(S12)에 이어 콜러측 인터넷전화기(11)는 이를 받아 미디어데이타 를 엠알더블류에스서버(6-5)의 바인딩된 IP PORT로 보내고(S13),Following the process (S12), the caller-side Internet telephone 11 receives this and sends the media data to the bound IP PORT of the M-Double S-Server 6-5 (S13),

엠알더블류에스서버는 이를 콜리드측 인터넷전화기(11-1)로 보내며(S14),M-Al double S server sends it to the collide-side Internet telephone (11-1) (S14),

코리드측 인터넷전화기(11-1)는 엠알더블류에스서버(6-5)의 상기 바인딩된 IP PORT 를 경유하여 콜러측 인터넷전화기(11)로 미디어 데이타를 보내는 과정(S15)을 더 수행하여 통화를 가능토록 한다.The corridor-side internet telephone 11-1 further performs a process (S15) of sending media data to the caller-side internet telephone 11 via the bound IP PORT of the M-double server S-6-5. Make a call possible.

구체적으로, 사설아이피 또는 방화벽 안쪽에 위치한 사용자(UA1)로 부터 메시지(INVITE)를 에스에스시에스서버(6-3)가 받게되면(S1), SIP메시지의 Call-ID헤더의 값을 키데이타로 잡고 호연결 로칼데이타베이스(메모리로 다양하게 구현 가능하므로 도시하지 않음)에 등록을 한다.Specifically, when the SMS server 6-3 receives the message INVITE from the user UA1 located inside the private IP or firewall (S1), the value of the Call-ID header of the SIP message is set as the key data. It is registered in the call connection local database (not shown in the figure because it can be implemented variously in memory).

등록이 이루어진 메시지는 엠알엠에스서버(Media Relay Management Server)(6-4)에 RTP 세션을 담당할 엘알더블류에스서버(Media Relay Worker Server)(6-5)의 주소 및 UDP 포트번호를 요청하고(S2), 동시에 엠알더블류에스서버(6-5)는 해당 포트번호로 UDP 소켓을 바인드 한 후 대기 상태로 들어간다(S3).The registered message is requested to the Media Relay Management Server (6-4) and the address and UDP port number of the Media Relay Worker Server (6-5) to handle the RTP session. (S2) At the same time, the MLD double server (6-5) binds the UDP socket to the corresponding port number and enters the standby state (S3).

한편 엠알엠에스서버(6-4)는 사용 가능한 엠알더블류에스서버(6-5)의 주소와 포트번호를 가지고, SDP(Session Description Protocol)메시지의 헤더('m=')에 포트번호를 엠알엠에스서버(6-4)에서 받은 포트번호로 교체하고(S4), SDP의 헤더('c=')의 아이피주소를 엠알엠에스서버(6-4)에서 받은 주소로 교체한 후(S5), SIP 와 SDP 메시지를 다시 인토딩하여 프록시서버((6-1)에 전송한다(S6,S7). On the other hand, the MS server 6-4 has the address and port number of the MDL server 6-5 that can be used, and the port number is provided in the header ('m =') of the SDP (Session Description Protocol) message. After replacing the port number received from the MS server (6-4) (S4), after replacing the IP address of the header ('c =') of the SDP with the address received from the MS server (6-4) (S5), The SIP and SDP messages are re-inputted and transmitted to the proxy server 6-1 (S6 and S7).

이때 프록시서버(6-1)는 메시지(INVITE)를 콜리드측 사용자(UA2)가 전화를 받으면 SDP바디를 포함하는 메시지(ACK)를 프록시서버(6-1)에 보내고 프록시서버 (6-1)는 에스에스시에스서버(6-3)에 보내진다(S8,S9). 이때 에스에스시에스서버(6-3)는 받은 메시지(ACK)를 인코딩을 통해 값(Call-ID 헤더값)을 읽어, 이전의 메시지(INVITE)에서 SDP를 바꾸었던 방법으로 메시지를 바꾼 후(S10,S11,S12), 사용자(UA1)에게 메시지(ACK)를 전송하면 전화를 건 사용자(UA1)와 전화를 받은 콜리드측 단말기 사용자(UA2)간에는 에스에스시에스서버(6-3)에서 지정한 아이피 주소와 포트번호로 RTP 음성 및 영상 패킷을 계속하여 보내게 될 것이다. 여기에서 지정한 아이피주소는 엠알더블류에스서버(6-5)의 주소가 될 것이며, 엠알더블류에스서버(6-5)는 사용자(UA1)와 콜리드측 사용자(UA2)에서 들어오는 RTP 패킷을 수신하게 되는데, 최초의 패킷수신할 때 소켓정보를 바탕으로 RTP 패킷교환작업을 하게되고, 그렇게 함으로 사설아이피나 방화벽 안쪽의 에스아이피 단말기(에스아이피 전화기)도 음성/화상통화를 가능하게 된다.At this time, the proxy server 6-1 sends the message INVITE to the proxy server 6-1 when the collide-side user UA2 receives the call and sends a message ACK including the SDP body to the proxy server 6-1. ) Is sent to the SSS server 6-3 (S8, S9). At this time, the SSS server 6-3 reads the value (Call-ID header value) through the encoding of the received message (ACK) and changes the message by changing the SDP in the previous message (INVITE) (S10, S11 and S12, if a message ACK is transmitted to the user UA1, the IP address designated by the SSS server 6-3 is established between the calling user UA1 and the collide-side terminal user UA2. RTP voice and video packets will continue to be sent to the port number. The IP address specified here will be the address of the MLD double server (6-5), and the M double double server (6-5) receives the RTP packets from the user (UA1) and the collide side user (UA2). When the first packet is received, RTP packet exchange is performed based on the socket information. As a result, the SIP terminal (SIP telephone) inside the private IP or the firewall enables voice / video call.

(다)호의 종료과정(C) Termination Process

한편 호의 종료는 메시지(BYE)(CANCEL)의 수신을 통해 이전에 등록된 헤더(Call-ID 헤더)를 분석하여 엠알더블류에스서버(6-5)에 바인드된 UDP 포트를 해제하라는 명령을 보내고, 또한 기록(Call-ID로 생성된 로칼 데이타베이스에 등록된 기록)을 제거하고, 다음 통화를 대기한다.On the other hand, the call is terminated by analyzing the previously registered header (Call-ID header) through the reception of the message (BYE) (CANCEL) and sending a command to release the UDP port bound to the MLD server (6-5). It also removes the record (the record registered in the local database created with the Call-ID) and waits for the next call.

이상과 같이 본원 발명은 에스에스시에스서버,엠알엠에스서버,엠알더블류에스서버로 이루어지는 엔에프티에스서버에서 콜 처리를 하고, 통화시 미디어 데이타 의 릴레이는 엠알더블류에스서버에서 분담토록 하여 통화 트래픽을 분산시켜 통화품질을 향상시킨다.As described above, the present invention performs a call processing in an NFC server including an SCS server, an MS server, and an MS double server, and relays media data during a call to share the call traffic with the M AL double server. Dispersion improves call quality.

인터넷전화기를 표준 에스아이피 전화기표준을 지원함으로써 유저가 제조사에 관계없이 전화기를 구매하여 범용으로 사용 가능하게 된다.By supporting the standard SIP phone standard, users can purchase and use the phone universally regardless of the manufacturer.

아울러 인터넷전화서비스업자(ITS)도 단말기를 표준화할 수 있어, 방화마 통과를 위한 추가 프로그램의 개발비 지출을 줄일 수 있어 경제적이다.In addition, Internet telephone service providers (ITS) can also standardize the terminal, it is economical to reduce the development cost of additional programs to pass through the fire.

Claims (5)

아이피공유기와 방화벽을 통하여 사설아이피망과 공인아이피망을 연결하고 공인아이피망에서 콜라우팅 등의 기능을 하도록 메인측 지역네트웍을 이루는 프록시서버를 사용하는 인터넷전화기의 제어방법에 있어서,In the method of controlling an internet phone using a proxy server that connects a private IP network and a public IP network through an IP router and a firewall, and performs a function such as collating in the public IP network, 메인측 지역네트웍을 이루는 프록시서버 전단에 에스에스시에스서버를 부가하고,Add an SCS server to the front of the proxy server forming the main local area network. 콜러인 인터넷전화기(에스아이피전화기)(11) 사용자가 자신의 아이피 및 포트를 지정하여 바인딩 형태로 인터넷전화기의 아이피및 포트를 에스에스시에스서버에 사용자 등록하고(R1),Internet phone (SIP phone) that is a caller (11) The user designates his or her IP and port, and registers the IP and port of the Internet phone to the SSS server in the form of binding (R1), 에스에스시에스서버에서는 콘택트헤드정보와, 라우트(Record-Route)정보, 소스(사용자)주소와 포트번호등을 저장하고 이를 메시지로 인코딩하고(R2),In the SSS server, the contact head information, the route (Record-Route) information, the source (user) address and port number, etc. are stored and encoded into a message (R2), 에스에스시에스서버에서 상기 인코딩한 메시지를 프록시서버(6-1)에 전송하여 응답(200 OK)을 받으면(R3,R4),If the SSS server transmits the encoded message to the proxy server 6-1 and receives a response (200 OK) (R3, R4), 메시지를 디코딩하여 등록된 포트(IP PORT) 소켓정보를 기초로 방화벽을 통과하여 인터넷전화기 사용자가 통화 가능토록 등록하는 과정(R5,R6)을 순차 수행함을 특징으로 하는 표준인터넷전화기의 메인측 지역 네트웍을 통한 아이피공유기나 방화벽 통과방법.Main network of the local area of the standard Internet phone, which decodes the message and proceeds through the firewall (R5, R6) through the firewall based on the registered port information. How to pass IP Router or Firewall through PC. 아이피공유기와 방화벽을 통하여 사설아이피망과 공인아이피망을 연결하고 공인아이피망에서 콜라우팅 등의 기능을 하도록 메인측 지역네트웍을 이루는 프록시서버를 사용하는 인터넷전화기의 제어방법에 있어서,In the method of controlling an internet phone using a proxy server that connects a private IP network and a public IP network through an IP router and a firewall, and performs a function such as collating in the public IP network, 프록시서버로 전달되는 신호 전단에 엔에프티에스서버(NAT & Fire wall Traversal Server)를 부가하고;Adding an NAT & FireWall Traversal Server to the front end of the signal transmitted to the proxy server; 엔에프티에스서버는 표준에스아이피 메시지를 표준인터넷전화기로부터 받아서 메시지를 인코딩/디코딩한 후 사설아이피망이나 방화벽을 통과토록 하는 과정을 수행하여;The NFC server receives the standard SIP message from the standard Internet phone, encodes / decodes the message, and passes the private IP network or firewall through the IP server. 표준 인터넷전화기의 방화벽이나 사설아이피망을 엔에프티에스 서버에서 통과토록 제어하는 것을 특징으로 하는 표준인터넷전화기의 메인측 지역 네트웍을 통한 아이피공유기나 방화벽 통과방법.A method of passing IP routers or firewalls through the local area network of a standard Internet telephone, characterized by controlling the firewall of a standard Internet telephone or a private IP network to be passed through the NTS server. 제 2 항에 있어서, 엔에프티에스서버는 에스에스시에스서버(SSCS;SIP Signaling Control Server),엠알엠에스서버(MRMS;Media Relay Master Server), 엘알더블류에스서버(MRWS;Media Relay Worker Server)로 구분하고,According to claim 2, NFC server is divided into SCS server (SSCS; SIP Signaling Control Server), MMS server (MRMS; Media Relay Master Server), LLD Double relay server (MRWS: Media Relay Worker Server) and, 에스에스시에스서버에서는 RTP IP PORT를 생성토록 엠알엠에스서버에 요청하고(S2),The SSS server requests the MRS server to generate the RTP IP PORT (S2), 엠알엠에스서버는 엠알더블류에스서버로 포트 바인드를 요청하고(S3),The MLS server requests a port bind to the MDL double server (S3), 엠알더블류에스서버의 응답을 엠알엠에스 서버가 받아 에스에스시에스서버로 응답하고(S4,S5),The MLS server receives the response of the MDL double server to respond to the SSS server (S4, S5), 에스에스시에스서버는 콜러측 인터넷전화기(에스아이피전화기)와 엠알더브류 에스서버의 바인드된 주소를 SDP 로 변환(Decode/Encode)후 인바이트 메시지를 에스아이피 프록시서버로 보내는 과정(S6,S7)을 수행함을 특징으로 하는 표준인터넷전화기의 메인측 지역 네트웍을 통한 아이피공유기나 방화벽 통과방법.The SSS server converts the bound addresses of the caller's Internet telephone (SIP telephone) and the M-Alder Brew S server into SDP (Decode / Encode), and then sends a byte message to the SPI proxy server (S6, S7). A method of traversing an IP router or a firewall through the main area network of a standard Internet telephone, characterized in that it performs. 제 3항에 있어서, 상기 과정(S7)에 이어 링잉(Ringing)이 완료되면(S8,S9) 에스에스시에스서버가 엘알엠에스서버에 엠알더블류에스서버의 IP, 포트를 요청하고(S10),The method according to claim 3, wherein, after the ringing is completed (S8, S9) following the process (S7), the SSS server requests the IP address and port of the MLD double server to the LMS server (S10). 엠알엠에스서버에서는 엠알더블류에스서버의 IP, 포트를 에스에스시에스서버에 전달하여(S11),In the MS server, the IP of the RS double-use server, port to pass to the PS server (S11), 에스에스시에스서버에서는 콜리드측 인터넷전화기와 엠알더블류에스서버의 바인드된 주소를 SDP로 변환(Decode/Encode)하여 방화벽을 통과토록 하는 과정(S12)을 더 수행함을 특징으로 하는 표준인터넷전화기의 메인측 지역 네트웍을 통한 아이피공유기나 방화벽 통과방법.The main server of the standard Internet telephone, characterized in that the SSE server performs a process (S12) of translating the bound addresses of the Collide-side Internet telephone and the MLD Double S / S server into SDP (Decode / Encode) to pass through the firewall. How to pass IP Router or Firewall through local area network. 제 4항에 있어서, 상기 과정(S12)에 이어 콜러측 인터넷전화기는 이를 받아 미디어데이타를 엠알더블류에스의 바인딩 된 IP PORT로 보내고(S13),The method according to claim 4, wherein after the call (S12), the caller's Internet telephone receives the data and sends the media data to the bound IP PORT of the M-Aldue S (S13), 엠알더블류에스서버는 이를 콜리드측 인터넷전화기로 보내며(S14),M-Al double S server sends this to the telephone side of the Internet (S14), 콜리드측 인터넷전화기는 엠알더블류서버의 상기 바인딩된 IP PORT 를 경유하여 콜러측 인터넷전화기로 미디어 데이타를 보내는 과정(S15)을 더 수행함을 특징으로 하는 표준인터넷전화기의 메인측 지역 네트웍을 통한 아이피공유기나 방화 벽 통과방법.Collide-side Internet telephone is further configured to perform a process (S15) of sending media data to the caller-side Internet telephone via the bound IP PORT of the M-double server. How to pass through a router or firewall.
KR1020050039653A 2005-05-12 2005-05-12 Nat or fire wall traversal call method for standard internet-phone in lan KR100639358B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050039653A KR100639358B1 (en) 2005-05-12 2005-05-12 Nat or fire wall traversal call method for standard internet-phone in lan

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050039653A KR100639358B1 (en) 2005-05-12 2005-05-12 Nat or fire wall traversal call method for standard internet-phone in lan

Publications (1)

Publication Number Publication Date
KR100639358B1 true KR100639358B1 (en) 2006-10-30

Family

ID=37621086

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050039653A KR100639358B1 (en) 2005-05-12 2005-05-12 Nat or fire wall traversal call method for standard internet-phone in lan

Country Status (1)

Country Link
KR (1) KR100639358B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100927248B1 (en) 2008-03-28 2009-11-16 주식회사 온세텔레콤 Call processing apparatus and method, terminal and recording medium therefor
KR101095861B1 (en) 2010-08-05 2011-12-21 주식회사 윈스테크넷 Voip firewall system and control method thereof for call limitation technique based on call number information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100927248B1 (en) 2008-03-28 2009-11-16 주식회사 온세텔레콤 Call processing apparatus and method, terminal and recording medium therefor
KR101095861B1 (en) 2010-08-05 2011-12-21 주식회사 윈스테크넷 Voip firewall system and control method thereof for call limitation technique based on call number information

Similar Documents

Publication Publication Date Title
EP2363997B1 (en) Method for Processing Messages at a Session Border Controller
US6992974B1 (en) System and method for providing fault tolerance in a network telephony system
AU2005201075B2 (en) Apparatus and method for voice processing of voice over internet protocol (VOIP)
CA2674098C (en) Method and system for network address translation (nat) traversal of real time protocol (rtp) media
KR20070094735A (en) Apparatus and method for firewall traversal
JP5210509B2 (en) Intelligent boundary element
CA2371192A1 (en) Using pstn to convey participant ip addresses for multimedia conferencing
KR20050076414A (en) The method for voip-ums system access
KR101606142B1 (en) Apparatus and method for supporting nat traversal in voice over internet protocol system
KR100639358B1 (en) Nat or fire wall traversal call method for standard internet-phone in lan
US20080165782A1 (en) Method for Data Interchange Between Network Elements
Cisco Session Initiation Protocol (SIP) for VoIP
Cisco Enhancements to the Session Initiation Protocol for VoIP on Cisco Access Platforms
Cisco Product Overview
Cisco Cisco Analog Telephone Adapter Overview
Cisco H.323 Applications
KR100422375B1 (en) Method and system for establishing connections between terminals connected to network environments having different IP-addressing schemes
CA2378781A1 (en) Gatekeeper with several local domains
JP5752014B2 (en) Gateway device and data transmission method
KR100601124B1 (en) The method for making TCP channel using SIP service
KR100475187B1 (en) key phone system for enable session initiation protocol and method for call setup
EP2059001B1 (en) Multitype SIP processing element
JP2006340260A (en) Call control method of internet telephone
KR20090056226A (en) Voip gateway card combined type proxy server of hybrid ip pbx
Talwar Transition of VoIP system from IPv4 to IPv6

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121005

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20130924

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140806

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150901

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20160907

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20170809

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20180913

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20191001

Year of fee payment: 14