VoIP 단말장비 개통방법

Download Report

Transcript VoIP 단말장비 개통방법

VoIP 단말장비 개통방법
네트워크기술본부 / 서부지사
2006. 6.
목 차
1. 단말장비 연동 개요
4. AGW Voice Interface 설정
1-1. AGW 연동 개요
4-1. 입출력 Gain 값 설정
1-2. IP-Phone 연동 개요
4-2. Tone 변경
4-3. ISDN-PRI E1 Interface 설정
2. Addpac AGW IP 구성 및 설정
4-4. R2 E1 Interface 설정
2-1. PPPOE 환경하의 구성
4-5. Caller-ID 설정 (FXS/FXO)
2-2. DHCP 환경하의 구성
4-6 반전신호 설정 (FXS/FXO)
2-3. 고정 IP 환경하의 구성
4-7 번호변환
4-8 당겨받기 / 호전환
3. AGW VoIP Protocol 별 설정
3-1. H.323 연동
5. IP-Phone 구성 및 설정
3-2. SIP 연동
3-3. MGCP 연동
3-4. FXS FXO 설정
1
Ⅰ. 단말장비 연동개요
1.
VoIP 단말장비 연동 : 고객단의 설치되는 AGW나 IP Phone은 본사 SBC(SSW)에 등록 후 사용한다. 프로토콜은
H.323, SIP, MGCP 세가지의 프로토콜을 사용한다.
2.
프로토콜 선정 : 프로토콜은 해당 고객사 환경에 맞게 선정한다. (다만 고객사 네트웍 환경이 사설 IP 이거나
방화벽을 사용하는 경우 SIP 프로토콜만을 사용할 수 있다.)
- AGW : H.323, MGCP, SIP
- IP-Phone : SIP
3.
연동 시 Destination 설정 : SBC를 기본으로 한다. SBC는 VoIP CORE 장비 앞단에서 보안기능을 주로
담당한다.
성수 VoIP CORE 장비
TG
사설 인터넷 망
AGW
공인 인터넷 망
SG
SSW
SBC
IP PHONE
□ 용어설명
SSW (SoftSwitch) : 다양한 프로토콜을 보유하고 VoIP망내 주요장비들과 연동 및 가입자을 수용 하고 호처리를 담당하는 코어교환장치
SBC (Session Border Controller) : 인터넷전화망과 고객/타사업자 사이에서 NAT/FW/VLAN 환경에서의 인터넷전화 및 시설 보안기능을 담당
2
1-1. AGW 연동개요
1.
사용목적 : 고객단의 설치되어 있는 키폰 또는 PBX 와 연동하여 SKN SBC(SSW)에 등록 후 사용한다.
프로토콜은 H.323, SIP, MGCP 세가지의 프로토콜을 사용한다.
2.
프로토콜 선정 : 프로토콜은 해당 고객사 환경에 맞게 선정한다. (다만 고객사 네트웍 환경이 사설 IP 이거나
방화벽을 사용하는 경우 SIP 프로토콜만을 사용할 수 있다.)
3.
연동 방식
- E1 Interface : 주로 고객 사 측에 설치되어 있는 PBX 급 장비와 E1 PRI 또는 R2 신호방식으로 연동
- Analog Interface : 주로 고객 사 측에 설치되어 있는 키폰 및 일반전화기와 연동
4.
연동 시 Destination 장비 : SBC를 기본으로 한다. SBC는 VoIP CORE 장비 앞단에서 보안기능을 주로
담당한다.
성수 VoIP CORE 장비
TG
PBX
사설 인터넷 망
E1 PRI, R2
Analog
공인 인터넷 망
SG
SSW
SBC
키폰
AGW
Analog
일반전화기
3
첨부. SKN 자가망 구성
1. Lease Line 구성
1.
SKN 전용 회선을 통하여 인터넷 구축
2.
E1/T1 용량의 인터넷 회선 구성 방법
3.
전용회선 구간은 1군 협력사가 구성, 상ㆍ하위국 라우터는 IP협력사에서 개통, AGW는 VoIP 협력사 개통
4.
AGW는 라우터의 ethernet 포트와 연결하여 개통 (serial IP /30, ethernet IP /30할당)
5.
개통사례 : 북구청, 새마을금고, ㈜ 대상 오산공장 등
PBX
E1 PRI, R2
CSU
전용회선
CSU
라우터
Analog
SKN 인터넷 B/B
키폰
AGW
Analog
일반전화기
4
첨부. SKN 자가망 구성
2. Metro 구성 - Ⅰ
1.
SKN Metro 인터넷회선을 통하여 인터넷 제공
2.
Metro 스위치가 시설된 국소에 VoIP 제공시 구성 (Metro가입자, 공공정보 가입자)
3.
Metro 스위치 VoIP용 vlan 추가 구성 (ethernet IP /30할당)
4.
Vlan 구성 : IP협력사, AGW : VoIP협력사
5.
개통사례 : 서부지사, 스타상호저축은행, 고산초등학교 등
PBX
Metro 스위치
SKN 인터넷 B/B
E1 PRI, R2
Metro 스위치
Analog
Metro Ring
키폰
AGW
Analog
일반전화기
Metro Ring : gigabit ethernet 기능을 활용하여 원격지까지 ethernet frame 전송
5
첨부. SKN 자가망 구성
3. Metro 구성 - Ⅱ
1.
SKN Metro 인터넷회선을 통하여 인터넷 제공
2.
Metro 스위치가 시설된 국소에 VoIP 제공시 구성 (Metro가입자, 공공정보 가입자)
3.
Metro 스위치 VoIP용 vlan 추가 구성 (L2 NMS용 serial IP /29할당, ethernet IP /30할당)
4.
Vlan 구성 : IP협력사, L2설정 : IP협력사, AGW : VoIP협력사
5.
개통사례 : 최재영TM, 송천초, 이리중학교 등
PBX
E1 PRI, R2
Metro 스위치
SKN 인터넷 B/B
Metro 스위치
Analog
메트로 Ring
YN L2 스위치
키폰
AGW
Analog
일반전화기
6
첨부. SKN 자가망 구성
4. MSPP 구성 - Ⅰ
1.
SKN MSPP링을 통하여 인터넷 구축
2.
MSPP용 전송장비가 시설된 국소에 VoIP제공시 구성 (공공정보망, 전남권 도서관)
3.
Metro 스위치 VoIP용 vlan 추가 구성 (ethernet IP /30할당)
4.
Vlan 구성 : IP협력사, MSPP 회선구성 : NOC, AGW : VoIP협력사
5.
개통사례 : 전주 평화초, 군산 월명중 등
TFOM-E
PBX
E1 PRI, R2
Metro 스위치
Analog
SKN 인터넷 B/B
MSPP Ring
키폰
AGW
Analog
일반전화기
MSPP : Multi System platform provisioning
7
첨부. SKN 자가망 구성
5. MSPP 구성 - Ⅱ
1.
SKN MSPP링을 통하여 인터넷 구축
2.
MSPP용 전송장비가 시설된 국소에 VoIP제공시 구성 (공공정보망, 전남권 도서관)
3.
Metro 스위치 VoIP용 vlan 추가 구성 (L2 NMS용 serial IP /29할당, ethernet IP /30할당)
4.
Vlan 구성 : IP협력사, MSPP 회선구성 : NOC, L2설정 : IP협력사 , AGW : VoIP협력사
5.
개통사례 : 전주북일초
PBX
E1 PRI, R2
Metro 스위치
TFOM-E
Analog
SKN 인터넷 B/B
YN L2 스위치
MSPP Ring
키폰
AGW
Analog
일반전화기
MSPP : Multi System platform provisioning
8
1-2. IP-Phone 연동개요
1.
사용목적 : 고객단의 설치되어 LAN Cable에 연동하여 사용한다. 프로토콜은 SIP 프로토콜을 사용한다.
2.
연동방식 : 주로 PC 에 연동되어 있던 LAN Cable 을 IP 전화기에 연동 하고, IP 전화기와 PC를 Direct
Cable로 연동 하여 사용한다.
3.
연동 시 Destination 장비 : SBC를 기본으로 한다. SBC는 VoIP CORE 장비 앞단에서 보안기능을 주로
담당한다.
성수 VoIP CORE 장비
TG
사설 인터넷 망
공인 인터넷 망
IP-Phone
SG
SSW
PC
SBC
9
2
Addpac AGW IP 구성 및 설정
1. PPPoE 환경하의 구성
2. DHCP 환경하의 구성
3. 고정IP 환경하의 구성
10
IP 설정방법
1. PPPOE
!
interface ether0.0
no ip address
encapsulation pppoe
ppp authentication pap callin
ppp pap sent-username XX password XX
ppp ipcp ms-dns
ppp ipcp default-route
qos-control
!
interface ether1.0
no ip address
!
2. DHCP
!
no ip-share enable
!
!
interface ether0.0
ip address dhcp
!
interface ether1.0
no ip address
3. 고정 IP
!
interface ether0.0
ip address 200.200.200.200 255.255.255.0
!
interface ether1.0
no ip address
!
route 0.0.0.0 0.0.0.0 200.200.200.1
IP 설정방법
4. ADSL 회선의 경우 QoS 보장 방법
=> 한 개의 ADSL 회선으로 공유기 연동하여 사용하는 고객사에 VoIP
제안 시 ADSL -> AGW -> 공유기 -> PC 형태로 연동 후 AGW 에서
VoIP Packet 에 대한 우선순위를 설정 하여 QoS를 보장
가. LAN 0 에 ADSL, LAN 1에 공유기 연동
!
ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0 (LAN 0에 ADSL 연동)
no ip address
encapsulation pppoe
ppp authentication pap callin
ppp pap sent-username XX password XX
ppp echo interval 60
ppp ipcp ms-dns
ppp ipcp default-route
qos-control
!
interface ether1.0 (LAN 1에 공유기 연동)
no ip address
encapsulation pppoe
ppp authentication pap callin
ppp pap sent-username rynn3614 password 2223614
ppp echo interval 60
ppp ipcp ms-dns
ppp ipcp default-route
ppp role server
☞ Data 와 Voice를 같이 사용할 경우의 Qos 적용
가. qos-control 다음에 20 150 으로 기록을 하면 20~150K 만큼
bandwidth를 항상 보장하겠다는 의미임.
나. qos-control 만 써주면, bandwidth 만큼 data 패킷을 처리를 하되
voice 가 들어오면 voice 먼저 처리 해주겠다는 의미임.
다. 여기서의 qos 보장은 상향 traffic, 즉 발신 call 에 대해서만 qos
보장을 의미함. 하향 traffic, 착신 call 에 대한 traffic 보장은 어려움.
11
1. PPPoE 환경하의 구성 예
PPPoE 환경하의 구성은 브로드밴드 네트워크에서 사용되는 ADSL 모뎀을 사용하는 PPPoE(Point to Point Protocol
over Ethernet) 환경에서의 설정 예입니다.
ISP
WAN
(IP Network)
PPPoE
Ethernet
FXS
Analog Phone
AddPac
VoIP Gateway
ADSL Modem
NAS
(PPPoE Server)
단계
명령어
설명
1
# config
(config)#
APOS 명령어 입력 모드로 전환한다.
2
(config)# interface ether0.0
(config-ether0.0)#
이더넷 인터페이스 0.0에 대한 설정을 시작한다.
3
(config-ether0.0)# no ip address
IP 주소에 설정은 없다.
4
(config-ether0.0)# encapsulation pppoe
네트워크 프로토콜을 PPPoE로 지정한다.
5
(config-ether0.0)# ppp authentication pap callin
PPP 인증 방식을 PAP로 설정한다.
6
(config-ether0.0)# ppp pap sent-username addpac password
1234
PAP 사용자 ID를 “addpac”으로, 패스워드는 “1234”로
설정한다.
7
(config-ether0.0)# ppp ipcp ms-dns
PPP 서버로부터 DNS의 IP 주소를 받을 수 있도록 설정한다.
8
(config-ether0.0)# ppp ipcp default-route
PPP 서버로부터 디폴트 라우터 IP 주소를 받을 수 있도록
설정한다.
12
2. DHCP 환경하의 구성 예
DHCP 환경하의 구성은 브로드밴드 네트워크 환경에서 외장형 게이블 모뎀을 사용하는 환경으로 DHCP 서버를 이용하여
구성할 수 있습니다.
ISP
WAN
(IP Network)
DHCP
Ethernet
FXS
Analog Phone
AddPac
VoIP Gateway
Cable Modem
DHCP Server
단계
명령어
설명
1
# config
Enter configuration commands, one per line. End with CNTL/Z
(config)#
APOS 명령어 입력 모드로 전환한다.
2
(config)# interface ether0.0
(config-ether0.0)#
이더넷 인터페이스 0.0에 대한 설정을 시작한다.
3
(config-ether0.0)# ip address dhcp
(config-ether0.0)#
DHCP 클라이언트 설정을 통하여 IP 주소를 할당받도록 설정한다.
13
3. 고정IP 환경하의 구성 예
고정 IP 환경하의 VoIP 네트워크 설정 및 구성은 WAN 라우터를 사용하는 환경에서의 구성입니다. 이 구성은 두 개
이상의 이더넷 인터페이스가(LAN0, LAN1) 필요합니다.
Ethernet
LAN 0
Ethernet
FXS
Analog Phone
Router
Ethernet Switch
WAN
(IP Network)
AddPac
VoIP Gateway
단계
명령어
설명
1
# config
Enter configuration commands, one per line. End with CNTL/Z
(config)#
APOS 명령어 입력 모드로 전환한다.
2
(config)# interface ether0.0
(config-ether0.0)#
이더넷 인터페이스 0.0에 대한 설정을 시작한다.
3
(config-ether0.0)# ip address 192.168.1.2 255.255.255.0
IP 주소를 설정한다.
4
(config-ether0.0)# route 0.0.0.0 0.0.0.0 192.168.1.1
디폴트 라우터를 설정한다.
14
3
AGW VoIP Protocol별 설정
1.
2.
3.
4.
H.323 연동
SIP 연동
MGCP 연동
FXS FXO 설정
15
1. H.323 연동방법
H.323 설정방법
1. G/K 기본 정보 설정
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
local-ringback-tone alert
inband-ringback-tone
!


local-ringback-tone alert :
해당 명령어가 없으면 핸드폰 통화 시 소리샘으로 안넘어가는
가는 현상이 발생됨.
inband-ringback-tone :
ringback tone을 inband 로 하겠다는 의미임.
! Voip peer configuration.
!
dial-peer voice 1000 voip
destination-pattern T
session target ras
voice-class codec 11
dtmf-relay h245-alphanumeric
no vad
no sid
translate-outgoing called-number 10
!
Gatekeeper
!
! Gateway configuration.
!
gateway
h323-id H6000XXXXX
gkip 58.102.20.82 1719 128
register
!
H.323 설정방법

h323-id : 할당받은 H.323 ID를 입력합니다.

gkip : Gatekeeper IP 주소를 입력하니다. 128 이란 우선순위
값임. 디폴트가 128임.
register : H.323 ID와 E.164를 가지고 Gatekeeper에
등록하는 명령입니다.

2. G/K 등록정보 확인
XXX# sh gateway
System Information
status = in service
voip interface status = enabled
product name = AddPac VoIP N
product version = 8.23 (2006.01.07.00.0)
endpoint type = gateway
Gatekeeper Registration Information
H.323 id = H6000XXXX
gatekeeper registration option = enabled
gatekeeper security option = disabled
Gatekeeper registration status :
registered to 'SKNGK1' (58.102.20.82:1719)
endpoint id = 'H6000XXXX_22-1142408590.970758'
Gatekeeper list :
58.102.20.82
1719
priority(128) by user
Local aliases
[1] H323ID : H6000XXXX
[2] 0707800XXXX
Technical prefixes
=> Inservice 되어있는지 확인
16
설정 확인
AP2120# sh gateway
System Information
status = in service
voip interface status = enabled
product name = AddPac VoIP
product version = 8.12 (2004.07.28.12.0)
endpoint type = gateway
Gatekeeper Registration Information
H.323 id = H6000XXXXX
gatekeeper registration option = enabled
gatekeeper security option = disabled
Gatekeeper registration status :
registered to 'SKNGK1' (58.102.20.82:1719)
endpoint id = 'H6000XXXXX_1-1140733259.617579'
Gatekeeper list :
58.102.20.82
1719
priority(128) by user
Local aliases
[1] H323ID : H6000XXXXX
Technical prefixes
Gateway Information
discovery (send GRQ) = disabled
ARQ option = arq default
LRQ option = no lrq
lightweight IRR = disabled
TTL margin = 20 %
h323 call start mode = fast
h323 call tunneling mode = enabled
h323 call channel mode = late
h323 response msg = default
system fax mode = t38
system fax rate (bps) = 9600
설정 확인
system T.38 fax redundancy = 0
force to send startH245 = enabled
dialPeer hunt algorithm = longest - preference - random
translate voip incoming called number = -1
translate voip incoming calling number = -1
local ringback tone = alert
end of digit = #
ip address prefix = n
permit unregistered h323 incoming call to FXO = yes
voice confirmed connect on FXO/E&M = disabled
send inband ringback tone = enabled
number
number
number
number
number
number
number
number
of
of
of
of
of
of
of
of
ports = 16
pots peers = 39
voip peers = 6
number expansions = 0
codec classes = 1
user classes = 0
alternate gatekeepers = 1
current active calls = 0
Announcement Option
language = korean
element : delayed dial = disabled
element : wrong number = disabled
element : connection fail = disabled
element : enter password = disabled
element : pstn reroute = disabled
element : all lines busy = disabled
element : dial number = disabled
Timer & Counter parameter value
tinit (initial digit timer) = 10 sec.
tring (ring timer) = 60 sec.
t301 (alert -> connect) = 180 sec.
t303 (setup -> alert) = 20 sec.
tras (RAS msg ack timer) = 6 sec.
tttl (RAS Time To Live timer) = 60 sec.
tidt (inter digit timer) = 3 sec.
17
관련 명령어
설명
AP2120# config
설정을 변경하기 위한 config 모드로 변경
XX(config-ether0.0)# dial-peer voice 0 pots
하나의 전화라인을 지정하기 위해서 물리적인 음성 인터페이스에 인식번호 0번을
할당한다. (인식번호는 0 ~ 65,535번까지 할당할 수 있으며, 음성 인터페이스
설정시 일반적으로 0번부터 할당한다.)
XX(config-dialpeer-pots-0)# destinationpattern 8225683848
할당된 인식번호 0번에 전화번호를 부여한다.
XX(config-dialpeer-pots-0)# port 0/0
할당된 인식번호 0번에 대응하는 VoIP 장비의 물리적인 음성 포트를 지정한다.
(음성포트의 종류와 수는 장비별로 다르다.)
XX(config-dialpeer-pots-0)# dial-peer voice 1000 voip
하나의 VoIP 호설정을 위해서 VoIP 인터페이에 인식번호 1000번을 할당한다.
(인식번호는 0 ~ 65535번까지 할당할 수 있으며 VoIP 인터페이스 설정시
1000번부터 할당한다.)
XX(config-dialpeer-voip-1000)# destinationpattern 070-78XX-XXX
할당된 인식번호 1000번에 VoIP 호를 호출할 전화번호 070-78XX-XXX를
부여한다.
XX(config-dialpeer-voip-1000)# session target Ras
할당된 인식번호 1000번에 VoIP 호 설정셋업을 게이트키퍼로 전송한다.
XX(config-dialpeer-voip-1000)# dtmf-relay
h245-alphanumeric
할당된 인식번호 1000번에 DTMF 전송방식을 H.245 Alphanumeric (기호,
번호체계)으로 설정한다.
XX(config-dialpeer-voip-1000)# dial-peer voice
1001 voip
다른 하나의 VoIP 호설정을 위해서 VoIP 인터페이에 인식번호 1001번을 할당한다.
XX(config-dialpeer-voip-1001)# destinationpattern 82T
할당된 인식번호 1001번에 VoIP 호로 호출되는 전화번호가 82로 시작되는 경우를
지정한다.
XX(config-dialpeer-voip-1001)# session target Ras
할당된 인식번호 1001번에 VoIP 호 설정셋업을 게이트키퍼로 전송한다.
XX(config-dialpeer-voip-1001)# dtmf-relay
h245-alphanumeric
할당된 인식번호 1001번에 DTMF 전송방식을 H.245 Alphanumeric (기호,
번호체계)으로 설정한다.
XX(config-dialpeer-voip-1001)# gateway
외부 게이트키퍼 설정모드로 전환된다.
XX(config-gateway)# h323-id H6000XXXXX
H.323 ID를 설정한다.
XX(config-gateway)# gkip 58.102.20.82 1719 128
게이트키퍼 IP 주소를 설정한다.
XX(config-gateway)# register
게이트키퍼에 등록한다.
XX(config-gateway)# voip-interface ether0.0
VoIP 인터페이스를 이더넷 0.0포트로 지정한다.
XX(config)# exit
APOS 명령어 입력 모드에서 빠져나온다.
18
2. SIP 연동 방법
SIP 설정방법
SIP 설정방법
1. SIP 기본 정보 설정
!
! Voip peer configuration.
!
dial-peer voice 1000 voip
destination-pattern T
session target sip-server
session protocol sip
dtmf-relay rtp-2833
no vad
no sid
translate-outgoing called-number 0
!
! SIP UA configuration.
!
sip-ua
sip-server 58.102.20.200
timeout treg 3600
set-local-domain sknetworks.com
register e164
!
2. 070 번호 등록
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 07078XXXXXX
port 0/0
!
dial-peer voice 1 pots
destination-pattern 07078XXXXXX
port 0/1
!
dial-peer voice 2 pots
destination-pattern 07078XXXXXX
port 0/2
!
dial-peer voice 3 pots
destination-pattern 07078XXXXXX
port 0/3






3. 등록정보 확인 (Registered 되어 있는 것을 확인)
XX# sh sip
Proxyserver Registration Information
proxyserver registration option = e164
Proxyserver list :
--------------------------------------------------------------Server address
Port Priority
Status
--------------------------------------------------------------58.102.20.200
5060
128
Registered(E.164)
session target sip-server : 본사 SSW 에 등록
session protocol sip : SIP 프로토콜 사용
dtmf-relay rtp-2833 : DTMF 를 RFC 2833으로 사용
no vad, no sid : 필수 사항임.
sip-server 58.102.20.200 : 본사 SBC 장비에 등록
set-local-domain sknetworks.com : Domain 설정
2. 본사 SSW (SBC)에 등록
XX(config)# conf
Enter configuration commands, one per line. End with CNTL/Z
XX(config)# sip
XX(config-sip-ua)# register ?
e164
set SIP REGISTER with E164 port
gateway set SIP REGISTER with Gateway
XX(config-sip-ua)# register e164

FXS 포트에 할당 받은 070 번호를 등록한다. (FXS 포트는
0/0, 0/1, 1/0, 1/1, 2/0, 2/1, 3/0, 3/1 형식이다.)
Proxyserver registration status :
-----------------------------------------------UserName
Regist
Status
-----------------------------------------------07078XXXXXX
yes
Registered
=> Register 하면 SSW(SBC) 에 등록을 하게 된다.
19
SIP 설정 관련 명령어
단계
명령어
설명
1
HO(config-dialpeer-pots-0)# dial-peer voice 1000 voip
하나의 VoIP 호설정을 위해서 VoIP 인터페이에 인식번호
1000번을 할당한다. (인식번호는 0 ~ 65535번까지 할당할
수 있으며 VoIP 인터페이스 설정시 1000번부터 할당한다.)
2
HO(config-dialpeer-voip-1000)# destination-pattern T
3
HO(config-dialpeer-voip-1000)# session target sip-server
해당 destination pattern에 대응되는 VoIP 목적지 주소를
SIP Server로 설정
4
HO(config-dialpeer-voip-1000)# session protocol sip
해당 destination pattern에 대응되는 VoIP Protocol을
SIP로 설정, 만약 “no protocol sip”로 설정 하면 h.323
message로 보내게 되므로 주의 요망.
5
HO(config-dialpeer-voip-1000)# dtmf-relay rtp-2833
할당된 인식번호 1000번에 DTMF 전송방식을 RFC 2833
RTP payload로 전송한다(현재 SIP mode에서는 dtmf
signal을 2833만을 지원 함).
6
HO(config-dialpeer-voip-1000)# no vad
No Vad 설정을 한다.
7
HO(config-dialpeer-voip-1000)# sip-ua
SIP UA 설정 mode로 진입
8
HO(config-sip-ua)# sip-server 58.102.20.200
SIP Server IP 등록
9
HO(config-sip-ua)# set-local-domain sknetworks.com
SIP Domain 등록
10
HO(config-sip-ua)# register e164
SIP Server에 E.164로 등록한다.
20
3. MGCP 연동방법
MGCP 관련 명령어 확인
단계
1
2
명령어
# config
(config)#
(config)# MGCP
(config-MGCP)# ?
no
register
call-agent
default-package
dtmf-relay
restart-delay
timeout
end
exit
설명
APOS 명령어 입력 모드로 진입한다.
MGCP 명령어 입력 모드로 진입하고 ?로
기본 명령어 종류를 확인한다.
set to default configuaration
Enable MGCP
Specify address of call-agent
Select the Default Package Capability
Configure mgcp dtmf-realy
Specify the Restart Delay timer value
Set timeout value
Go to Top menu
Exit from the EXEC
MGCP 레지스터 명령어
단계
명령어
설명
1
# config
(config)#
APOS 명령어 입력 모드로 진입한다.
2
(config)#
(config)# MGCP
(config-MGCP)#
MGCP 명령어 입력 모드로 진입한다.
3
4
(config-MGCP)# register ?
<0-65536> Enable MGCP with user specified UDP port number
<cr>
(config-MGCP)#
(config-MGCP)# exit
(config)#
(config)# exit
Register 명령어는 MGC에 등록을
시도하는 명령어이며 RSIP(restart)
메시지를 MGC로 전송합니다. 또한
MG(Media Gateway)의 로컬 포트
번호를 지정할 수 있다.
APOS 명령어 입력 모드에서 빠져 나온다.
21
MGCP 콜-에이전트 명령어
단계
1
2
3
4
명령어
설명
# config
(config)#
(config)# MGCP
(config-MGCP)#
APOS 명령어 입력 모드로 진입한다.
MGCP 명령어 입력 모드로 진입한다.
(config-MGCP)# call-agent ?
alias
set Hostname or IP address of the call-agent
(config-MGCP)# call-agent 1.1.1.1 ?
<0-65536> port number (default 2427)
<cr>
(config-MGCP)# call-agent 1.1.1.1 2427
<0-254>
priority (default 128)
(config-MGCP)# exit
(config)#
(config)# exit
MGC 또는 소프트스위치 관련 IP 주소 또는 도메인 이름을
설정할 수 있고 또한 MGC의 포트 번호를 지정할 수 있다.
APOS 명령어 입력 모드에서 빠져 나온다.
MGCP 팩키지 명령어
단계
명령어
설명
1
# config
(config)#
APOS 명령어 입력 모드로 진입한다.
2
(config)# MGCP
(config-MGCP)# default-package ?
미디어 게이트웨이(Media-Gateway)에서 사용할 디폴트팩키지를 설정합니다.
as-package
Select the Announcement Server Package
dtmf-package
Select the DTMF Package
gm-package
Select the Generic Media Package
hs-package
Select the Handset Package
line-package
Select the Line Package
trunk-package
Select the Trunk Package
디폴트 설정은 라인-팩키지임
22
MGCP end-point ID 설정 명령어
MGCP 엔드-포인트 ID 설정을 위한 애드팍테크놀러지 VoIP 게이트웨이의 엔드-포인트(End-point) ID는 aaln/slotnumber/port-number@domain-name으로 설정되어 있으며, 도메인 이름은 호스트 이름(hostname)을 변경하는
APOS 명령어로 설정할 수 있습니다.
도메인 이름이 111.222.333.444로 설정된 음성 포트 0/0의 엔드-포인트(End-point) ID는
aaln/0/[email protected]이고 아래는 도메인 이름을 바꾸는 APOS 명령어 설정 방법입니다.
단계
명령어
설명
1
# config
(config)#
APOS 명령어 입력 모드로 진입한다.
2
(config)#
(config)# hostname ?
<hostname> Hostname of this system
(config-MGCP)#
호스트 이름 관련 명령어 이다.
3
(config)# hostname 111.222.333.444
111.222.333.444(config)#
111.222.333.444(config)# exit
호스트 이름을 변경하여 도메인 이름을 설정한다.
4
111.222.333.444# exit
#
APOS 명령어 입력 모드에서 빠져 나온다.
23
4. FXS FXO 설정
FXS FXO 설정
○ FXS 란 VoIP 연동 포트를, FXO 란 KT 국선 연동
포트를 의미한다. FXS 포트에는 VoIP 포트 정보를 입력
하고, FXO 에KT 국선 포트 정보를 입력한다.
1. FXS FXO 포트 정보 입력
!
Voice port configuration.
!
voice-port 0/0
! FXS
!
!
voice-port 0/1
! FXS
!
!
voice-port 0/2
! FXO
connection plar 9999
!
!
voice-port 0/3
! FXO
connection plar 9999
!



0/0, 0/1, 1/0, 1/1, 2/0, 2/1 etc 에 FXS 설정을 한다.
0/2, 0/3, 1/2, 1/3, 2/2, 2/3 etc 에 FXS 설정을 한다.
connection plar 9999 의미는 KT 국선 에서 들어오는 DID
착신호를 FXS 포트로 넘겨 줄때 IDLE한 포트에 넘겨 주겠다는
의미임.
FXS FXO 설정
2. FXO 포트에 대한 FXS 착신 정보 입력
!
dial-peer voice 110 pots
destination-pattern 9999
port 0/0
no register e164
!
dial-peer voice 111 pots
destination-pattern 9999
port 0/1
no register e164
!
=> KT 국선에서 들어오는 착신호를 FXS 포트인 0/0, 0/1 에 넘겨 주되
내부적인 그룹번호인 “9999” 를 통해서 IDLE한 포트에
넘겨주겠다는 의미임.
3. FXS 포트에 070 번호 입력
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 07078XXXXXX
port 0/0
!
dial-peer voice 1 pots
destination-pattern 07078XXXXXX
port 0/1
!
dial-peer voice 2 pots
destination-pattern 07078XXXXXX
port 1/0
!
24
4. FXS FXO 설정(PSTN 우회 설정)
FXS FXO(PSTN 우회 설정)
○ FXS VoIP 에서 발신 되지 않는 여러 착신대역를 KT
국선 FXO 포트로 돌려 주는 설정 (Digit Map)
1. 부가 서비스 (060,080,15XX,16XX)
!
dial-peer voice 80 pots
destination-pattern 1[5-6][4-8][4-8]....
port 0/2 (0/3, 1/2, 1/3 etc)
forward-digits from 0
no register e164
!
!
dial-peer voice 100 pots
destination-pattern 0[68]0.......
port 0/2 (0/3, 1/2, 1/3 etc)
forward-digits from 0
no register e164
!

FXS FXO(PSTN 우회 설정)
3. KT 부가 서비스
!
dial-peer voice 300 pots
destination-pattern *88T
port 0/2
forward-digits from 0
no register e164
!
!
dial-peer voice 400 pots
destination-pattern #88T
port 0/2
forward-digits from 0
no register e164
!



KT 국선에서의 착신전환 (*88+착신번호) 서비스를 KT 국선
FXO 포트로 돌리는 설정을 한다.
착신전환 : 9+다이얼톤+*88+착신번호
착신해제 : 9+다이얼톤+#88+착신번호
0/0, 0/1, 1/0, 1/1, 2/0, 2/1 etc 에 FXO 포트를 설정한다.
2. FAX
!
dial-peer voice 300 pots
destination-pattern *T
port 0/2
!

FAX에 대한 VoIP 의 연결이 원활하게 이루어지지 않을 경우
키폰에 연동된 일반전화기에서 “9+착신번호” 를 KT 국선으로
돌리는 설정을 한다.
25
4
AGW Voice Interface 설정
1. 입출력 Gain값 설정
2. Tone 변경
3. ISDN-PRI E1 Interface 설정
4. R2 DTMF E1 Interface 설정
5. Caller-ID 설정 (FXS/FXO)
6. 반전신호 설정 (FXS/FXO)
7. 번호 변환(Number Translation)
8. 당겨받기 / 호 전환
26
1. 입력 및 출력 게인-값의 설정
본 내용은 음성 인터페이스 설정에 있어서 공통적으로 사용되는 APOS 명령어 및 파라미터입니다. 이 APOS
명령어군(input gain 및 output gain)을 이용하여 전체 시스템에 걸친 Loss Plan을 구현할 수 있습니다. Loss Plan을
구현할 때, 전체 시스템 내에 있는 PBX(사설교환기)를 포함한 다른 장비 모두를 반드시 고려하여야 합니다.
입력 게인-값(Input Gain)의 설정은 사용자 관점에서는 마이크의 볼륨으로 해석하시면 됩니다. 따라서 인터넷을 거친
상대측에서 소리가 크게 들리면 입력 게인-값을 감쇠 시키면 됩니다. 출력 게인-값(Output Gain)은 사용자 관점에서는
스피커 볼륨으로 해석하시면 됩니다. VoIP 게이트웨이의 음성 인터페이스에 연결된 전화기 또는 PBX를 통하여 들리는
소리가 크게 들리면 출력 게인-값(Output Gain)을 감쇠시키면 됩니다.
디폴트 값은 0으로 되어 있으나 PSTN과 같은 자연 감쇠를 고려하면 –3 dB 또는 –6 dB 정도의 감쇠를 설정하는 것이
자연스러울 수 있습니다.
Setting Output GainB
WAN
(IP Network)
Analog Phone
AddPac
VoIP Gateway
Setting Input GainB
27
입력 게인-값은 전화기 포트로부터 VoIP 게이트웨이로 들어오는 음량을 증폭/감쇠하여 IP 네트워크로 전달합니다. 출력 게인값은 IP 네트워크로부터 VoIP 게이트웨이로 들어오는 음량을 증폭/감쇠하여 전화기 포트로 전달합니다.
입력 및 출력 게인-값의 디폴트 값은 0dB이고 -18dB부터 +8dB까지 APOS 명령어를 사용하여 설정할 수 있습니다.
입력 및 출력 게인-값 설정 예
hostname HO
!
interface ether0.0
ip address 192.168.1.1 255.255.255.0
!
!
voice-port 1/0
input gain 2
output gain 3
단계
명령어
설명
1
HO(config-ether0.0)# voice-port 1/0
음성포트에 대한 설정을 시작한다.
2
HO(config-voice-port-1/0)# input gain 2
HO(config-voice-port-1/0)#
음성포트 0/0으로 들어오는 음량을 2dB 증폭한다.
3
HO(config-voice-port-1/0)# output gain 3
HO(config-voice-port-1/0)#
음성포트 0/0으로 내보내는 음량을 3dB 증폭한다.
28
2. 톤(Tone) 변경
톤(Tone) 변경에 사용되는 APOS 명령어는 각종 톤(Dial, Busy, Reorder, LingBack, LineLock) 변경에 관련된
내용입니다. 톤(Tone) 변경에 관련된 내용은 동일한 APOS 명령어를 이용해 설정할 수 있습니다. 여기에 기술된 설정은
Reorder 톤(Tone)값 변경을 예로 들어 설명합니다.
Play Reorder Tone
Detect Reorder Tone
Detect Reorder Tone
Play Reorder Tone
FXS
FXO
Analog Phone
Analog Phone
PBX
DID Number : 100
Reorder Tone
Low : 350Hz
High : 520Hz
ON-1 Time : 350ms
OFF-1 Time : 300ms
ON-2 Time : 0ms
OFF-2 Time : 0ms
AddPac
VoIP Gateway
(Head Office)
Voice Port 0/0
Reorder Tone
Low : 350Hz
High : 520Hz
ON-1 Time : 350ms
OFF-1 Time : 300ms
ON-2 Time : 0ms
OFF-2 Time : 0ms
Router
WAN
(IP Network)
29
본 구성에서는 PBX와 본사(Head Office)간의 리오더-톤(Reorder-tone)의 APOS 명령어 설정에 대한 예시입니다.
리오더-톤(Reorder-tone)은 사설교환기 또는 VoIP 게이트웨이 간의 아날로그 포트(FXS/FXO)를 이용한 통화 시
전화를 끊기 위한 신호로써 톤(Tone) 값이 틀린 경우 통화가 끊어지지 않는 현상이 발생할 수 있으며 이를 방지하기 위해
대부분의 PBX나 PSTN에서는 우리나라 정보통신부에서 지정한 규격tone을 사용하고 있습니다.
그러나, 일부 PBX또는 PBX의 국선이 아닌 내선의 경우 PBX제조사에서 임의로 입력된 비-표준 규격 톤(Tone)이
사용되고 있어 VoIP 게이트웨이와 연동 시 톤(Tone)값이 틀려 통화가 끊어지지 않은 경우가 생기는데 이것을 방지 하기
위해 VoIP 게이트웨이쪽에서 톤(Tone)값을 변경해줄 필요가 있습니다.
VoIP 게이트웨이에 리오더-톤(Reorder-tone을 설정하면 FXO 인터페이스는 detect을 FXS 인터페이스에는 플레이를
하게 됩니다. 톤(Tone) 관련 설정은 모두 명령어“tone” 의 서브 파라미터로 구성 되어 있습니다.
Reorder tone 설정 예
hostname HO
!
interface ether0.0
ip address 192.168.1.1 255.255.255.0
!
dial-peer voice 0 pots
destination-pattern 5683847
port 0/0
!
dial-peer voice 1000 voip
destination-pattern 5683848
session target 193.158.1.2
dtmf-relay h245-alphanumeric
!
! Tones
voice class reorder-tone 350 520 350 300 0 0
-12
!
voip-interface ether0.0
단계
1
명령어
설명
HO(config-dialpeer-voip-1000)# voice class
reorder-tone 350 520 350 300 0 0 -12
Re-order tone의 주파수
및 gain을 설정 한다.
Dial-tone, Busy tone,Ring-back-tone 설정 방법도 동일 합니다
30
톤(Tone) 설정 내역 확인
#
# show tone
Tag
Low(Hz)
High(Hz)
On1(ms)
Off1(ms)
On2(ms)
Off2(ms)
dBm
Description
---------------------------------------------------------------------------------------------------
350
440
10000
0
0
0
-18
Dial tone
-
440
480
1000
2000
0
0
-12
RingBack tone
-
480
620
500
500
0
0
-12
LineBusy tone
-
350
520
350
300
0
0
-12
Reorder tone
-
1400
2060
100
100
0
0
0
LineLock tone
31
3. ISDN-PRI E1 Interface 설정
디지털 E1/T1 음성 인터페이스 설정은 시그널링 타입에 따라 크게 ISDN –PRI, R2 및 DTMF 설정으로 나뉘게 됩니다.
본 구성에서는 PBX와 본사에 설치된 VoIP 게이트웨이의 시그널링 타입이 ISDN-PRI로 작동할 때 설정에 대해 설명하고
있습니다. ISDN-PRI의 경우 PBX와 PBX 또는 PBX와 VoIP 게이트웨이간의 인터페이스 프로토콜을 “network”와
“user”로 나누고 있으며 “network”와 “user”의 설정이 서로 Pair로 설정 되어 있어야 합니다. 이 구성에서는 그림에서
보는 것과 같이 PBX는 user로 본사의 VoIP 게이트웨이는 “network”로 작동을 하게 됩니다. 그리고 PCM변조 방식에
따라 compand-type이 PBX와 본사의 VoIP 게이트웨이간에 동일하게 변경되어야 하며 A-law와 U-law중에 하나를
설정하면 됩니다.
Setting ISDN-PRI Command
for Digital E1 or T1
Router
WAN
(IP Network)
Digital E1 or T1
AddPac
Analog Phone
PBX
Access Code : 8
Signaling Type : ISDN
Clock : Master
No. of Channels : 30 or 24
Compand Type : U Law
Protocol : User
VoIP Gateway
(Head Office)
Access Code (E.164) : 99
Signaling Type : ISDN
Clock : Slave
No. of Channels : 30 or 24
Compand Type : A-Law
Protocol : Network
Voice Port 0/0
IP Address : 192.168.1.1
32
디지털 E1 ISDN-PRI 설정 예
hostname HO
!
interface ether0.0
ip address 194.168.1.2 255.255.255.0
!
! PRI controller configuration.
!
controller e1(t1) 0/0
signalling-type isdn
channel-group timeslots 1-31 0
isdn protocol-emulate network
!
voice-port 0/0
! E1(t1)
compand-type u-law
!
dial-peer voice 0 pots
destination-pattern 99T
port 0/0
!
dial-peer voice 1000 voip
destination-pattern 5683848
session target 193.158.1.2
dtmf-relay h245-alphanumeric
!
voip-interface ether0.0
1
HO(config-ether0.0)# controller e1 0/0
E1 interface 설정 mode로 진입한다.
2
Signaling type 설정
4
HO(config-controller-e1-0/0)#signalling-type isdn
HO(config-controller-e1-0/0)#channel-group timeslots 1-31
0
HO(config-ether0.0)# isdn protocol-emulate Network
5
HO(config-ether0.0)# voice-port 0/0
음성포트 0/0에 대한 설정을 시작한다.
6
HO(config-voice-port-0/0)# compand-type u-law
Conpand type을 설정을 설정 (명령어가 voice-port 설정에
있음에 유의 바람)
3
Channel group을 설정 (30 channel을 모두 사용한다)
33
디지털 T1 설정 확인
HO# show controller 0/0
Controller T1 slot(0)/port(0)
T1 Link is UP
No Alarm detected.
Applique type is Channelized T1.
Framing is SF, Line Code is AMI, Cable Length is Short 110.
Signalling type is ISDN PRI.
0 Line Code Violations, 0 Framing Bit Errors
0 Out Of Frame Errors, 0 Bit Errors
6 Frames Received, 6 Frames Transmitted
signalling type = isdn
clock source = master
channel group 0 = 1-24
1
2
3
allocated timeslots = YYYYYYYYYYYYYYYYYYYYYYYNNNNNNNN
outgoing barred channel group =
channel order = descending
b-channel negotiation = exclusive
overlap receiving = enabled
protocol side = user
R2 get calling number = disabled
ISDN virtual connect = disabled
T1 cable length = short 110
T1 framing = sf
T1 line code = ami
T1 CAS type = immediate
ISDN Layer 2 is UP
디지털 T1 설정 확인
ISDN Values
ISDN Layer 2 values
k =7
N200 = 3
N201 = 260
T200 = 1 seconds
T203 = 10 seconds
ISDN Layer 3 values
T301 = 180 seconds
T302 = 15 seconds
T303 = 4 seconds
T305 = 30 seconds
T306 = 30 seconds
T308 = 4 seconds
T310 = 10 seconds
T313 = 4 seconds
T316 = 120 seconds
T309 = 90 seconds
N303 = 1
34
4. R2 E1 Interface 설정
본 구성에서는 PBX와 본사 VoIP 게이트웨이의 시그널링 타입이 R2/DTMF로 작동할 때 설정에 대해 설명하고 있습니다.
R2/DTMF의 경우 시그널과 채널 설정만으로 작동하며 ISDN-PRI 관련 설정들과는 전혀 상관이 없습니다. 따라서 ISDN-PRI
관련 파라미터가 설정되어 있더라도 시그널링 방식이 R2나 DTMF로 설정 되는 순간 ISDN-PRI 관련 설정은 자동으로 효력을
상실하게 됩니다. 그리고 PCM변조 방식에 따라 compand-type이 PBX와 본사 VoIP 게이트웨이간에 동일하게 변경되어야
하며 A-law와 U-law중에 하나를 설정하면 됩니다.
Setting R2/DTMF Command
for Digital E1 or T1
Router
WAN
(IP Network)
Digital E1 or T1
AddPac
Analog Phone
PBX
Access Code : 8
Signaling Type : R2/DTMF
Clock : Master
No. of Channels : 30 or 24
Compand Type : U-Law
Protocol : User
VoIP Gateway
(Head Office)
Access Code (E.164) : 99
Signaling Type : R2/DTMF
Clock : Slave
No. of Channels : 30 or 24
Compand Type : A-Law
Protocol : Network
Voice Port 0/0
IP Address : 192.168.1.1
35
디지털 E1 R2-DTMF 설정 예
!
hostname HO
!
interface ether0.0
ip address 194.168.1.2 255.255.255.0
!
! PRI controller configuration.
!
controller e1(t1) 0/0
signalling-type dtmf
Clock slave
channel-group timeslots 1-31 0
!
voice-port 0/0 0
! E1(t1)
compand-type u-law
!
dial-peer voice 0 pots
destination-pattern 99T
port 0/0
!
dial-peer voice 1000 voip
destination-pattern 5683848
session target 193.158.1.2
dtmf-relay h245-alphanumeric
!
voip-interface ether0.0
!
단계
명령어
4
HO(config-ether0.0)# controller e1 0/0
5
HO(config-ether0.0)# signalling-type dtmf
6
HO(config-ether0.0)# Clock slave
7
HO(config-ether0.0)# channel-group
timeslots 1-31 0
8
HO(config-ether0.0)# voice-port 0/0
9
HO(config)# compand-type u-law
설명
E1 signaling type을 DTMF로 설정
36
디지털 E1 R2-DTMF 설정 확인
HO# show controller 0/0
Controller T1 slot(0)/port(0)
T1 Link is UP
No Alarm detected.
Applique type is Channelized T1.
Framing is SF, Line Code is AMI, Cable Length is Short 110.
Signalling type is R2-MFC.
7967 Line Code Violations, 2 Framing Bit Errors
1 Out Of Frame Errors, 2 Bit Errors
signalling type = r2
clock source = slave
channel group 0 = 1-24
1
2
3
allocated timeslots = YYYYYYYYYYYYYYYYYYYYYYYYNNNNNNN
outgoing barred channel group =
channel order = descending
b-channel negotiation = exclusive
overlap receiving = enabled
protocol side = network
R2 get calling number = disabled
ISDN virtual connect = disabled
T1 cable length = short 110
T1 framing = sf
T1 line code = ami
T1 CAS type = immediate
37
5. Caller-ID 설정 (FXS/FXO)
콜러 ID(Caller-ID) 관련한 기본적인 명령어들에 대해 설명합니다. 콜러 ID 검출은 FXO 음성 인터페이스에 설정하고
콜러 ID 생성은 FXS 음성 인터페이스에 설정 합니다.
Caller ID DetectB
PSTN
Caller ID GenerationB
WAN
(IP Network)
FXO
FXO
9
PBX
FXS
Router
Router
AddPac
AddPac
VoIP Gateway
VoIP Gateway
Voice-port 1/0
Caller ID : Enabled
Analog Phone
1234
CID Analog Phone
3456
Voice-port 0/0
Caller ID : Enabled
GateKeeper
1
Hook off 9
2
Ringing
Caller ID detect
Dial-tone
Digit 3456
3
5
4
Set up
Calling Party no 1234
Called Party no 3456
Set up 1234
8
Connect
7
9
6
Ringing
Caller ID generation
Caller ID is 1234
7
Hook-off
Connect
Call Connection
38
본 구성에서는 FXS 음성 인터페이스에서의 콜러 ID 생성과 FXO 음성 인터페이스에서 콜러 ID 검출 기능에 대해서
설명합니다. 교환기와 연결된 FXO로부터 검출한 콜러 ID를 지사 A로 VoIP 프로토콜을 이용해 전달하면 지사 A는 FXS
음성 인터페이스에 연결된 콜러 ID 표시 전화기로 이 번호를 전달하고 전화번호를 표시합니다.
Caller ID 설정 예 (본사)
!
hostname HO
!
interface ether0.0
ip address 194.168.1.2 255.255.255.0
!
!
voice-port 0/0
! FXO
caller-id enable
!
!
dial-peer voice 0 pots
destination-pattern 1234
forward-digit from 0
port 0/0
!
dial-peer voice 1000 voip
destination-pattern 5678
session target 193.168.1.2
dtmf-relay h245-alphanumeric
!
voip-interface ether0.0
!
동일한 구성에서 forward digit 명령어를
사용하지 않고자 할 때 (본사)
!
hostname HO
!
interface ether0.0
ip address 194.168.1.2 255.255.255.0
!
!
voice-port 0/0
! FXO
caller-id enable
!
!
dial-peer voice 0 pots
destination-pattern T
port 0/0
!
dial-peer voice 1000 voip
destination-pattern 5678
session target 193.168.1.2
dtmf-relay h245-alphanumeric
!
voip-interface ether0.0
!
39
Caller ID 설정 예 (지사 A)
!
hostname BA
!
interface ether0.0
ip address 193.168.1.2 255.255.255.0
!
!
!
voice-port 0/0
! FXS
caller-id enable
!
!
dial-peer voice 0 pots
destination-pattern 3456
port 1/0
!
dial-peer voice 1000 voip
destination-pattern 1234
session target 194.168.1.2
dtmf-relay h245-alphanumeric
!
voip-interface ether0.0
!
Caller ID 설정 확인
HO# show voice port 0/0
Voice port slot(0)/port(0)
line type = FXS
status = Idle
input gain = 0 db
output gain = 0 db
ring frequency = 25 Hz
ring cadence = 1000 msec on, 2000 msec off
polarity inverse = disabled
tie connection = none
description =
translate incoming called-number = -1
translate incoming calling-number = -1
comfort noise generation = enabled
dial tone generation = enabled
echo cancellation = enabled
announcement = enabled
low dtmf gain = -8
high dtmf gain = -5
caller ID = enabled
caller ID type = bellcore
caller ID NAME = enabled
busyout action = none
associated call number = -1
40
6. 반전신호 설정 (FXS/FXO)
Polarity-Inverse는 PBX와 연동 시 PBX에서 과금을 하기 위해 요구하는 반전 신호를 주기 위한 명령어입니다. 본
기능은 FXS에 설정하는 기능 입니다.
WAN
(IP Network)
FXS
Router
VoIP Trunk Gateway
PBX
PSTN
AddPac
Analog Phone
1234
VoIP Gateway
(Head Office)
1
Hook off 3456
2
Hook-off 3456
9
Polarity Inverse
Analog Phone
3456
GateKeeper
3
4
Set up 3456
Set up 3456
7
8
Connect
Connect
5
Ringing 3456
6
Hook-off
10
Call Connection
(그림 6-6) VoIP 게이트웨이 반전신호 기능 (FXS)
41
WAN
(IP Network)
Router
Router
FXO
FXS
PBX
AddPac
Analog Phone
1234
4
5
Ringing 1234
6
Hook-off
Hook-off 1234
7
Polarity Inverse
AddPac
GateKeeper
VoIP Gateway
(Head Office)
2
3
Set up 1234
Set up 1234
8
Analog Phone
3456
VoIP Gateway
(Branch Office A)
1
Hook off 1234
9
Connect
Connect
10
Call Connection
(그림 6-7) VoIP 게이트웨이 반전신호 기능 (FXO)
본 구성에서 PBX측에서는 내선과 국선간의 통화에 대한 과금을 위해 국선쪽의 반전신호를 요구하게 됩니다. 이때
반전신호를 본사쪽에서 주기 위해 본사쪽에 Polarity-Inverse가 설정되어야 합니다. 본사가 FXS에 반전 신호를 보내는
타이밍 조건은 발신측 VoIP 게이트웨이로 호접속 완료 메시지를 보내는 순간 입니다.
42
Polarity Inverse detect/generation 설정 예 (FXO/FXS)
!
hostname HO
!
interface ether0.0
ip address 194.168.1.2 255.255.255.0
!
!
voice-port 0/0
! FXO
polarity-inverse
!
voice-port 1/0
! FXS
polarity-inverse
!
dial-peer voice 0 pots
destination-pattern T
port 0/0
!
dial-peer voice 1000 voip
destination-pattern 3456
dtmf-relay h245-alphanumeric
session target 193.168.1.2
!
voip-interface ether0.0
!
Polarity Inverse 설정 확인
HO# show voice port 0/0
Voice port slot(0)/port(0)
line type = FXO
status = Idle
input gain = 0 db
output gain = 0 db
ring frequency = 25 Hz
ring cadence = 1000 msec on, 2000 msec off
polarity inverse = enabled
tie connection = none
description =
… (중략) …
단계
명령어
설명
1
HO(config-ether0.0)#
voice-port 0/0
음성포트 0/0에 대한 설정을
시작한다.
2
HO(config-voice-port-0/0)#
polarity-inverse
반전신호 기능을 활성화 시킨다.
HO# show voice port 1/0
Voice port slot(0)/port(0)
line type = FXS
status = Idle
input gain = 0 db
output gain = 0 db
ring frequency = 25 Hz
ring cadence = 1000 msec on, 2000 msec off
polarity inverse = enabled
tie connection = none
description =
translate incoming called-number = -1
translate incoming calling-number = -1
comfort noise generation = enabled
dial tone generation = enabled
…(이하 생략)…
43
7. 번호 변환기능 (Number Translation)
Number Translation 기능은 애드팍테크놀러지 VoIP 게이트웨이에서 콜링-파티 번호(Calling Party Number) 또는
콜드-파티 번호(Called Party Number)를 변환하는 설정 및 방법을 보여 줍니다.
WAN
(IP Network)
PSTN
Router
FXS
AddPac
VoIP Gateway
E.164 : 82-2-568-3848
Voice Port 0/0
IP Address : 192.168.1.2
Analog Phone
1
Dial “XXX-XXXX”
1
Dial “0XXX-XXXX”
2
02-XXX-XXXX
2
0XXX-XXXX
GateKeeper
VoIP Trunk Gateway
IP Address : 199.168.1.1
3
Send Set-up to VoIP Network
3
Send Set-up to VoIP Network
44
Number Translation을 위한 설정 예
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 8225683848
port 0/0
!
! Voip peer configuration.
!
dial-peer voice 1000 voip
destination-pattern T
session target ras
dtmf-relay h245-alphanumeric
translate-outgoing called-number 0
!
! Gateway configuration.
!
gateway
h323-id addpac
gkip 199.168.1.1 1719 128
register
!
!
! Translation Rule configuration.
!
translation-rule 0
rule 0
[1-9]T
02%99
!
번호 변환 예
rule 0 1234T %01%03%99 적용시 변환
1234

134
12345678 
1345678
1235678

1235678 (match 되지 않으므로 rule 적용 안됨)
rule 0 T %04%03%98
1235

12345678 
1235678 
적용시 변환
54
54
54
rule 0 T 999%03%%03%04%99 적용시 변환
1236

9993
12345678 
999345678
1235678 
99935678
rule 0 [1-3]T 000%99
1234

2345678 
4567890 
적용시 변환
0001234
0002345678
4567890 [match 되지 않으므로 rule 적용 안됨]
rule 0 [1-3]T %01%02%03
1234

123
2345678 
234
4567890 
456
적용시 변환
Number Translation rule 확인
HO(config)# show translation-rule
translation-rule 0
rule 0
[1-9]T
02%99
HO(config)# show translation-rule 0 1234
The translation result is (021234)
HO(config)# show translation-rule 0 021234
The translation result is (021234)!
45
8. 당겨받기(call Pick-up)/ 호전환(Call Transfer)
VoIP 네트워크 설정의 콜-픽업(Call Pick-up) 및 콜 전환(Call Transfer) 기능은 걸려온 전화를 옆자리에서 당겨 받거
나 다른 번호로 전환해 주는 기능입니다. (해당 기능은 AGW에 전화기를 연동한 경우에 해당 됩니다. 키폰과 연동하였을
경우에는 해당 기능이 지원되지 않습니다.)
Setting Call Pick-up
Command
Router
Analog Phone
1000
WAN
(IP Network)
Analog Phone
2000
Router
AddPac
AddPac
VoIP Gateway
(Head Office)
VoIP Gateway
(Branch Office A)
Phone 1000
Analog Phone
2001
Phone 2000
Dial “2000”
Ringing “2000”
Call Pick-up
Call Connection
Phone 2001
46
Setting Call Transfer
Command
Router
Analog Phone
1000
WAN
(IP Network)
Analog Phone
2000
Router
AddPac
AddPac
VoIP Gateway
(Head Office)
VoIP Gateway
(Branch Office A)
Analog Phone
2001
Phone 1000
Phone 2000
Dial “2000”
Ringing “2000”
Pick-up 2000
Call Connection
Hook-flash 2001
Ringing 2001
Call Transfer
Pick-up 2001
Hang-on 2000
Call Connection
Phone 2001
47
콜-픽업 콜 전환 설정 예
!
hostname BB
!
interface ether0.0
ip address 194.168.1.1 255.255.255.0
!
!
dial-peer voice 0 pots
destination-pattern 2000
port 0/0
!
dial-peer voice 1 pots
destination-pattern 2001
port 0/1
!
dial-peer voice 1000 voip
destination-pattern 1…
session target 192.158.1.2
dtmf-relay h245-alphanumeric
!
dial-peer call-pickup ##
dial-peer call-transfer h
!
voip-interface ether0.0
!
콜-픽업 콜 전환 설정 확인
Branch-A# show gateway
Gatekeeper Registration Information
H.323 id = addpac
gatekeeper registration option = enabled
gatekeeper security option = disabled
Gatekeeper registration status :
not registered.
last registration reject information from gatekeeper
ConfigAsNoRegistration (Aug 9 03:02:43)
… (중간 생략) …
dialPeer hunt algorithm = longest - preference - random
translate voip incoming called number = -1
translate voip incoming calling number = -1
local ringback tone = normal
end of digit = #
ip address prefix = *
voice confirmed connect on FXO/E&M = disabled
call pickup digits = ##
call transfer = enabled (hookflash)
number of ports = 1
number of pots peers = 3
number of voip peers = 2
… (이하 생략) …
단계
명령어
설명
1
BB(config-dialpeer-voip-1000)# dial-peer call-pickup ##
Call pick-up enable (##은 특수키로서 임으로 지정 가능)
2
BB(config)# dial-peer call-transfer h
Call transfer 기능을 enable하는 합니다. (h는 hook-flash를 의미)
48
5
IP-Phone 구성 및 설정
1. IP-Phone 구성 및 설정
49
1.
박스를 제거하시면 상단에 보이시는대로 전화기, 전원 어댑터, UTP 케이블, 전화케이블이 있습니다
50
1.
박스 안의 내용물을 확인하신 후 전화기 후면을 보게 되면 상단과 같은 포트들이 보입니다.
2.
먼저 A로 표기된 전원단자에 전화기 전용 전원 어댑터(5V)를 연결합니다.
3.
그 후 스위치나 허브에 연결된 LAN 케이블을 C로 표기된 LAN포트에 연결합니다.
(인터넷을 사용하기 위해 컴퓨터 LAN포트에 연결되어 있던 케이블입니다.)
4.
3번 사항을 마친 후 박스 안에 들어 있던 LAN 케이블을 한 쪽은 B로 표기된 포트에
나머지 하나는 컴퓨터 LAN 포트에 연결합니다. (컴퓨터 인터넷 사용을 위함)
51
1
6
7
2
3
8
9
4
5
10
1.
전화기를 정면에서 바라보시면 우측 상단에 LCD 화면과 다양한 기능 버튼이 있는 것을 보실 수 있습니다.
2.
이제부터 네트워크 구성을 시작하겠습니다. 상단에 3번으로 표기된 MENU 버튼을 누릅니다.
3.
MENU 버튼을 누르면 다음과 같은 화면이 나옵니다.
52
1. 전화번호부
2. 네트워크설정
3. VoIP 설정
4. 부가 기능
5. 기타 설정
6. 시스템 설정
1.
2번 버튼을 눌러 ‘네트워크설정’을 선택하면 다음과 같은 화면이 나옵니다.
53
1. 현재 설정
2. 정적 IP
3. 동적 IP
4. PPPoE(ADSL)
1.
2.
정적 IP를 사용한다면 2번을 눌러 다음 단계로 진행합니다.
동적 IP를 사용한다면 3번을 누릅니다. 그 후 화면에 ‘유동 IP 사용?’ 이라는
문구가 나오고 ‘Yes’를 선택하면 재부팅이 시작되고 네트웍이 자동 설정됩니다.
54
2번을 누르면 아래 그림과 같은 화면이 나오면 다음과 같이 진행합니다.
1. IP 주소
1. 1번을 눌러 IP 주소를 입력합니다.(입력 후 Enter 버튼 누름)
10.209.25.112
2. G/W 주소
2. 2번을 눌러 네트워크의 Gateway IP 주소를 입력합니다.
10.209.25.1
3. DNS1 주소
3. 3번을 눌러 네트워크의 DNS IP 주소를 입력합니다.
219.252.0.1
4. DNS2 주소
4. 4번을 눌러 Second DNS IP 주소가 있으면 입력합니다.
168.126.63.2
5. 넷마스크
5. 5번을 눌러 네트워크의 Subnet Mask를 입력합니다.
255.255.255.0
6. 네트워크 재시작
6.
앞 단계에서 정확한 IP Address를 입력하였으면 6번을 눌러
Restart를 실시합니다.
55
Restart를 하면 다음과 같은 화면이 나옵니다. (화면은 다를 수 있습니다)
CP-101 SIP
2006-02-10 [금]
2 : 05 : 48 AM
1.
이제 네트워크 구성이 완료 되었습니다.
2.
지금부터는 웹페이지를 통하여 IP-Phone을 Configuration 하겠습니다.
(IP-Phone을 사용하는 것보다 훨씬 쉽고 원활하기 때문입니다.)
56
Internet Explorer를 열고 주소창에 ‘http:// IP-Phone IP 주소:포트번호’ 를 입력합니다.
유의할 점 :
IP-Phone의 IP Address뒤에
반드시 :1001을 붙이셔야 합니다.
57
IP 주소를 입력 후 엔터를 치면 다음 화면처럼 네트워크 암호 입력 창이 열립니다.
58
사용자 이름에는 ‘admin’을 입력하시고 암호는 ‘0000’을 입력합니다.
59
인증이 끝나면 다음과 같은 초기화면이 나타납니다. 좌측의 ‘System Configuration’을 클릭합니다.
60
System Configuration을 클릭하면 다음 화면이 나오고 이어서 Network를 클릭합니다.
61
Network 구성화면이 나타나고 아래와 같이 설정합니다.
네트웍이 여분의 IP를 가지고 있어
IP-Phone과 함께 사용할 컴퓨터에
IP를 할당할 수 있다면 Hub Mode를
위해 disable을 선택하여 사용합니다.
만약 네트웍에 여분의 IP가 없을 경우
IP-Phone과 함께 컴퓨터를 사용하려면
Nat Mode를 위해 enable을 선택하여
사용합니다. 이 경우 IP-Phone은
사설 네트웍을 구성하고 192.168.120.1의
IP를 가지며 컴퓨터는 192.168.120.4 ~ 35
사이에서 자동으로 IP를 할당받게 됩니다.
62
Disable로 설정하였으면 save 버튼을 누르고 좌측에 있는 VoIP 텍스트를 클릭합니다.
63
VoIP 텍스트를 클릭하면 다음 화면이 나오고 아래와 같이 구성합니다.
본사 SIP Server IP Address를
sknetworks.com으로 입력하시고
Server Registration은 enable로 설정
하시며 Registrar Server와 Outbound Proxy는
58.102.20.200 으로 설정합니다.
전화번호부에 있는 자신의 전화번호를
입력합니다. 왼쪽 그림처럼 세 곳에
동일하게 전화번호를 기입하며 Password는
있다면 입력하시고 RTP Port는
7080으로 그냥 두시면 됩니다.
SIP Local Port는 반드시 5060을 입력
코덱은 원하는 코덱을 선택하고
DTMF는 RFC2833을 클릭
정확히 기입하였으면 Save and restart
버튼을 누릅니다. IP-Phone이 재부팅
되고 통화가 가능하게 됩니다.
64
IP-Phone이 재부팅 되면 다음과 같은 화면이 나오고 정상적으로 작동하게 됩니다.
07078409999
2006-02-10 [금]
2 : 05 : 48 AM
참고사항
•
전화통화는 전화번호를 누른 후 우측 하단의 SEND 버튼을 눌러야 합니다.
•
다양한 기능이 많이 있으나 설치 관련 사항만 포함하였습니다.
65