H.323 Gatekeeper

Download Report

Transcript H.323 Gatekeeper

VoIP 기술교육
AddPac VoIP Gateway
June. 2007
㈜애드팍테크놀러지
애드팍테크놀러지 네트워크 제품군
㈜애드팍테크놀러지
www.addpac.com
1
VoIP N/W 구성 및 설정
1. PPPoE 환경하의 구성
2. DHCP 환경하의 구성
3. 고정IP 환경하의 구성
4. 브릿지모드 환경하의 구성
㈜애드팍테크놀러지
www.addpac.com
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 주소를 받을 수 있도록 설정한다.
3
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 주소를 할당받도록 설정한다.
4
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
디폴트 라우터를 설정한다.
5
4. 브릿지모드 환경하의 구성
로컬 네트워크에서 IP 네트워크로 전송되는 트래픽에 대해 우선순위 제어가 필요한 경우에 적용될 수 있습니다.
WAN 라우터의 QoS 기능이 취약하여 음성과 데이터에 대한 우선순위 제어를 VoIP G/W가 제공해야 할 때.
WAN
(IP Network)
Setting QoS Command
for Voice Traffic
LAN 1
Ethernet Switch Ethernet
LAN 0
Bridge
FXS
AddPac
Ethernet
Bridge
VoIP Gateway
PC
Analog Phone
Router
IP Address : 192.168.1.2
Default Gateway : 192.168.1.1
IP Address : 192.168.1.1
(Default Gateway)
IP Address : 192.168.1.3
Default Gateway : 192.168.1.1
단계
명령어
설명
1
(config)# no ip routing
IP 라우팅 기능을 비(非)활성화 합니다.
2
(config)# no bridge spanning-tree
BPDU 교환기능을 비(非)활성화 합니다.
3
(config-ether0.0)# interface ether0.0
이더넷 인터페이스 0.0에 대한 설정을 시작한다.
4
(config-ether0.0)# ip address 192.168.1.2 255.255.255.0
IP 주소를 설정한다.
5
(config-ether0.0)# qos-control 200 150
QoS를 설정하고 포트의 송신 대역폭 및 PPS의 상한을 20Kbps와
150Kbps로 설정
6
(config-ether0.0)# bridge
이더넷 0.0 인터페이스에 대해서 브릿지 모드를 활성화 시킨다.
7
(config-ether0.0)# interface ether1.0
이더넷 인터페이스 1.0에 대한 설정을 시작한다.
8
(config-ether1.0)# no ip address
IP 라우팅 기능을 비(非)활성화 합니다.
9
(config-ether1.0)# bridge
이더넷 1.0 인터페이스에 대해서 브릿지 모드를 활성화 시킨다.
10
(config-ether1.0)# route 0.0.0.0 0.0.0.0 192.168.1.1
디폴트 라우터를 설정한다.
6
2
VoIP 구성 및 설정
1. GateKeeper 연동
2. 번호 변환(Number Translation)
3. Call Pick-up/Call Transfer
㈜애드팍테크놀러지
www.addpac.com
1. 게이트키퍼 연동
본/지사의 수가 많은 중/대형 사업장 혹은 ITSP(Internet Telephony Service Provider)를 이용하는 개인
가입자를 위한 구성으로 각 VoIP 게이트웨이들은 게이트키퍼에 자신의 ID(전화 번호)를 등록하고 또
게이트키퍼를 이용하여 콜을 시도하기 때문에 VoIP 게이트웨이 설정은 앞장의 설정보다 단순합니다.
AddPac
VoIP Gateway
Analog Phone (Head Office)
WAN
(IP Network)
Router
GateKeeper
IP Address : 199.168.1.1
E.164 : 84-2-568-3848
Voice Port 0/0
IP Address : 194.168.1.2
Router
Router
AddPac
VoIP Gateway
Analog Phone (Branch Office A)
E.164 : 83-2-568-3848
Voice Port 1/0
IP Address : 193.168.1.2
AddPac
VoIP Gateway
Analog Phone (Branch Office B)
E.164 : 82-2-568-3848
Voice Port 0/0
IP Address : 192.168.1.2
8
G/K 연동을 위한 설정 예 (본사)
G/K 연동을 위한 설정 예 (지사 A)
G/K 연동을 위한 설정 예 (지사 B)
!
hostname HQ
!
interface ether0.0
ip address 194.168.1.2
255.255.255.0
!
!
dial-peer voice 0 pots
destination-pattern 0705683848
port 0/0
!
dial-peer voice 1000 voip
destination-pattern T
session target ras
dtmf-relay h245-alphanumeric
!
!
gateway
h323-id addpac-HQ
gkip 199.168.1.1 1719 128
register
!
voip-interface ether0.0
!
!
hostname BA
!
interface ether0.0
ip address 193.168.1.2
255.255.255.0
!
!
dial-peer voice 0 pots
destination-pattern 0705683849
port 1/0
!
dial-peer voice 1000 voip
destination-pattern T
session target ras
dtmf-relay h245-alphanumeric
!
gateway
h323-id addpac-BA
gkip 199.168.1.1 1719 128
register
!
voip-interface ether0.0
!
!
hostname BB
!
interface ether0.0
ip address 192.168.1.2
255.255.255.0
!
!
dial-peer voice 0 pots
destination-pattern 0705683845
port 0/0
!
dial-peer voice 1000 voip
destination-pattern T
session target ras
dtmf-relay h245-alphanumeric
!
gateway
h323-id addpac-BB
gkip 199.168.1.1 1719 128
register
voip-interface ether0.0
!
9
설정 확인
HO# show gateway
Gatekeeper Registration Information
H.323 id = addpac
gatekeeper registration option = enabled
gatekeeper security option = disabled
Gatekeeper registration status :
registered.
last registration reject information from gatekeeper
ConfigAsNoRegistration (Aug 9 03:02:43)
Gatekeeper list :
199.168.1.1
1719 priority(128) by user
Local aliases
[1] H323ID : addpac-HQ
[2] 0705683848
Technical prefixes
Gateway Information
status = init 1 (waiting for setting IP address on a VoIP interface)
product name = AddPac VoIP
product version = 6.12
endpoint type = gateway
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 = normal
end of digit = #
ip address prefix = *
voice confirmed connect on FXO/E&M = disabled
number of ports = 1
설정 확인
number of pots peers = 1
number of voip peers = 2
number of number expansions = 0
number of codec classes = 0
number of alternate gatekeepers = 1
number of current calls = 0
Announcement Option
language = korean
element : delayed dial = disabled
element : wrong number = disabled
element : connection fail = disabled
Timer & Counter parameter value
tinit (initial digit timer) = 10 sec.
tring (ring timer) = 30 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.
treg (GK Registration retry timer) = 20 sec.
treg2 (GK Registration retry timer : long period by RRJ) = 120
sec.
tohd (On Hook Delay Time) = 0 sec.
tpoll (polling timer on trunk or polling type connection) = 180
sec.
dtmf duration = 150 msec.
dtmf guard time = 100 msec.
cras (RAS retry counter) = 3
Remote Call Log (syslog)
primary server =
secondary server =
interval = 0 minutes
cdr format type = 0
Assigned VoIP TCP/UDP ports
minimized assign = no
Q.931 signalling port (TCP listen) = 1720
SIP signalling port (UDP listen) = 5060
H.245 control port (TCP src) = 10000 - 10999
Q.931 signalling port (TCP src) = 14000 - 14499
H.245 control port (TCP listen) = 18000 - 18999
RAS port and IRR port (UDP listen) = 22000, 22001
RTP/RTCP port (UDP listen) = 23000 - 24999
10
단계
명령어
설명
4
HO(config-ether0.0)# dial-peer voice 0 pots
하나의 전화라인을 지정하기 위해서 물리적인 음성 인터페이스에 인식번호 0번
을 할당한다. (인식번호는 0 ~ 65,535번까지 할당할 수 있으며, 음성 인터페
이스 설정시 일반적으로 0번부터 할당한다.)
5
HO(config-dialpeer-pots-0)# destinationpattern 8225683848
할당된 인식번호 0번에 전화번호를 부여한다.
6
HO(config-dialpeer-pots-0)# port 0/0
할당된 인식번호 0번에 대응하는 VoIP 장비의 물리적인 음성 포트를 지정한다.
(음성포트의 종류와 수는 장비별로 다르다.)
7
HO(config-dialpeer-pots-0)# dial-peer voice
1000 voip
하나의 VoIP 호설정을 위해서 VoIP 인터페이에 인식번호 1000번을 할당한다.
(인식번호는 0 ~ 65535번까지 할당할 수 있으며 VoIP 인터페이스 설정시
1000번부터 할당한다.)
8
HO(config-dialpeer-voip-1000)# destinationpattern 8325683848
할당된 인식번호 1000번에 VoIP 호를 호출할 전화번호 8325683848를 부여
한다.
9
HO(config-dialpeer-voip-1000)# session target
ras
할당된 인식번호 1000번에 VoIP 호 설정셋업을 게이트키퍼로 전송한다.
10
HO(config-dialpeer-voip-1000)# dtmf-relay
h245-alphanumeric
할당된 인식번호 1000번에 DTMF 전송방식을 H.245 Alphanumeric (기호,
번호체계)으로 설정한다.
11
HO(config-dialpeer-voip-1000)# dial-peer voice
1001 voip
다른 하나의 VoIP 호설정을 위해서 VoIP 인터페이에 인식번호 1001번을 할당
한다.
12
HO(config-dialpeer-voip-1001)# destinationpattern 82T
할당된 인식번호 1001번에 VoIP 호로 호출되는 전화번호가 82로 시작되는 경
우를 지정한다.
13
HO(config-dialpeer-voip-1001)# session target
Ras
할당된 인식번호 1001번에 VoIP 호 설정셋업을 게이트키퍼로 전송한다.
14
HO(config-dialpeer-voip-1001)# dtmf-relay
h245-alphanumeric
할당된 인식번호 1001번에 DTMF 전송방식을 H.245 Alphanumeric (기호,
번호체계)으로 설정한다.
15
HO(config-dialpeer-voip-1001)# gateway
외부 게이트키퍼 설정모드로 전환된다.
16
HO(config-gateway)# h323-id addpac-BB
H.323 ID를 설정한다.
17
HO(config-gateway)# gkip 199.168.1.1 1719 128
외부 게이트키퍼 IP 주소를 설정한다.
18
HO(config-gateway)# register
외부 게이트키퍼에 등록한다.
19
HO(config-gateway)# voip-interface ether0.0
VoIP 인터페이스를 이더넷 0.0포트로 지정한다.
20
HO(config)# exit
HO#
APOS 명령어 입력 모드에서 빠져나온다.
11
2. 번호 변환기능 (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
12
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)!
13
3. call Pick-up/Call Transfer
VoIP 네트워크 설정의 콜-픽업(Call Pick-up) 및 콜 전환(Call Transfer) 기능은 걸려온 전화를 옆자리에서 당
겨 받거나 다른 번호로 전환해 주는 기능입니다.
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
14
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
15
콜-픽업 콜 전환 설정 예
!
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를 의미)
16
3
VoIP Protocol별 설정
1. SIP 직접 접속 방식
2. SIP 간접 접속 방식
3. SIP dial-peer별 registration
㈜애드팍테크놀러지
www.addpac.com
1. SIP 직접 접속 방식
PPPoE 환경하의 구성은 브로드밴드 네트워크에서 사용되는 ADSL 모뎀을 사용하는 PPPoE(Point to Point
Protocol over Ethernet) 환경에서의 설정 예입니다.
Router
Analog Phone
WAN
(IP Network)
Router
Analog Phone
AddPac
AddPac
VoIP Gateway
(Head Office)
VoIP Gateway
(Branch Office A)
E.164 : 84-2-568-3848
Voice Port 0/0
IP Address : 194.168.1.2
E.164 : 82-2-568-3848
Voice Port 0/0
IP Address : 192.168.1.2
18
SIP 설정 예 (본사)
!
hostname HO
!
interface ether0.0
ip address 194.168.1.2 255.255.255.0
!
route 0.0.0.0 0.0.0.0 194.168.1.1
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 0705683848
port 0/0
!
! Voip peer configuration.
!
dial-peer voice 1000 voip
destination-pattern T
session target 192.168.1.2
session protocol sip
dtmf-relay rtp-2833
!
voip-interface ether0.0
!
SIP 설정 예 (지사 A)
!
hostname BA
!
interface ether0.0
ip address 192.168.1.2 255.255.255.0
!
route 0.0.0.0 0.0.0.0 192.168.1.1
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 0705683848
port 0/0
!
! Voip peer configuration.
!
dial-peer voice 1000 voip
destination-pattern T
session target 194.168.1.2
session protocol sip
dtmf-relay rtp-2833
!
voip-interface ether0.0
!
19
SIP 관련 명령어 보기
단계
1
2
명령어
설명
# config
(config)#
(config)# sip-ua
(config-sip-ua)# ?
APOS 명령어 설정 모드로 진입한다.
SIP 유저 에이전트 명령어 설정 모드로 진입하고 ?로 명령어를 확인한다.
no
set to default configuration
register
try registration to sip registrar
signalling-port
set SIP signalling port (default 5060)
sip-server
Configure a SIP Server Interface
sip-username
Set Username of SIP User Agent
sip-password
Set Password of SIP User Agent
timeout
Set timeout value
end
Go to Top menu
exit
Exit from the EXEC
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
192.168.1.2
4
HO(config-dialpeer-voip-1000)# session
protocol sip
5
HO(config-dialpeer-voip-1000)# dtmf-relay
rtp-2833
해당 destination pattern에 대응되는 VoIP 목적지 주소를 192.168.1.2
로 설정
해당 destination pattern에 대응되는 VoIP Protocol을 SIP로 설정, 만약
“no protocol sip”로 설정 하면 h.323 message로 보내게 되므로 주의
요망.
할당된 인식번호 1000번에 DTMF 전송방식을 RFC 2833 RTP payload
로 전송한다(현재 SIP mode에서는 dtmf signal을 2833만을 지원 함).
20
2. SIP 간접 접속 방식
아래의 설정은 본/지사간 SIP 프록시 서버를 사용한 간접 접속 방식에 따른 설정을 설명합니다.
Router
Analog Phone
WAN
(IP Network)
Router
Analog Phone
AddPac
AddPac
VoIP Gateway
(Head Office)
VoIP Gateway
(Branch Office A)
E.164 : 84-2-568-3848
Voice Port 0/0
IP Address : 194.168.1.2
User ID : 84-2-568-3848
Password : AddPac-HO
E.164 : 82-2-568-3848
Voice Port 0/0
IP Address : 192.168.1.2
User ID : 82-2-568-3848
Password : AddPac-A
DNS
(Domain Name Server)
SIP Proxy Server
IP Address : 199.168.1.1
(proxy.addpac-test.com)
IP Address : 199.168.1.2
21
SIP 프록시 서버 설정 설정 예 (본사)
hostname HO
!
interface ether0.0
ip address 194.168.1.2 255.255.255.0
!
route 0.0.0.0 0.0.0.0 194.168.1.1
!
dnshost nameserver 199.168.1.2
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 0705683848
port 0/0
!
!
!
! Voip peer configuration.
!
dial-peer voice 1000 voip
destination-pattern T
session target sip-server
session protocol sip
dtmf-relay rtp-2833
!
!! Gateway configuration.
!
! SIP UA configuration.
!
sip-ua
sip-username 8225683848
sip-password AddPac-HO
sip-server proxy.addpac-test.com
register e164
!
voip-interface ether0.0
SIP 프록시 서버 설정 SIP 프록시 서버 설정 예 (지사 A)
hostname BA
!
interface ether0.0
ip address 192.168.1.2 255.255.255.0
!
route 0.0.0.0 0.0.0.0 192.168.1.1
!
dnshost nameserver 199.168.1.2
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 0705683848
port 0/0
!
!
!
! Voip peer configuration.
!
dial-peer voice 1000 voip
destination-pattern T
session target sip-server
session protocol sip
dtmf-relay rtp-2833
!
!! Gateway configuration.
!
! SIP UA configuration.
!
sip-ua
sip-username 8425683848
sip-password AddPac-A
sip-server proxy.addpac-test.com
register e164
!
voip-interface ether0.0
22
SIP 프록시 서버 설정
단계
명령어
설명
1
HO(config)# dnshost nameserver 199.168.1.2
DNS Server의 IP를 등록 한다.
2
HO(config-dialpeer-pots-0)# dial-peer voice 1000 voip
하나의 VoIP 호설정을 위해서 VoIP 인터페이에 인식번
호 1000번을 할당한다. (인식번호는 0 ~ 65535번까지
할당할 수 있으며 VoIP 인터페이스 설정시 1000번부터
할당한다.)
3
HO(config-dialpeer-voip-1000)# destination-pattern T
4
HO(config-dialpeer-voip-1000)# session target sip-server
해당 destination pattern에 대응되는 VoIP 목적지 주
소를 SIP Server로 설정
5
HO(config-dialpeer-voip-1000)# session protocol sip
해당 destination pattern에 대응되는 VoIP Protocol
을 SIP로 설정, 만약 “no protocol sip”로 설정 하면
h.323 message로 보내게 되므로 주의 요망.
6
HO(config-dialpeer-voip-1000)# dtmf-relay rtp-2833
할당된 인식번호 1000번에 DTMF 전송방식을 RFC
2833 RTP payload로 전송한다(현재 SIP mode에서는
dtmf signal을 2833만을 지원 함).
7
HO(config-dialpeer-voip-1000)# sip-ua
SIP UA 설정 mode로 진입
8
HO(config-sip-ua)# sip-username 8425683848
SIP user name 등록
9
HO(config-sip-ua)# sip-password AddPac-HO
SIP password 등록
10
HO(config-sip-ua)# sip-server proxy.addpac-test.com
SIP server을 IP를 domain name으로 설정 (이 경우
반드시 DNS server가 설정 되어 있어야 함)
11
HO(config-sip-ua)# register e164
SIP Server에 E.164로 등록한다.
23
3. SIP dial-peer별 registration
사용자가 dial-peer 1에 e.164 100, dial-peer 2에 e.164 200를 설정하고 그 각 각에 대해
username과 password를 설정 했다면 gateway는 SIP Server로 Registration Request를 dialpeer 1을 위해 한번 dial-peer 2를 위해 한번 총 두 번 보내게 되고 그 각각에 대해 독립적으로 인증
절차를 진행 합니다.
추가된 명령어는 dial-peer command 하부에 존재하고 기존에 사용되던 명령어 역시 유효 하므로
동일한 설정이 sip-ua 와 dial-peer에 존재 하게 됩니다. 따라서 두개의 명령어가 동시에 설정될
경우 이에 대한 우선순위에 유의 하시기 바랍니다. 본 명령어의 우선 순위는 sip-ua가 상위에
있으므로 둘 모두에 설정될 경우 dial-peer의 설정은 무시 합니다.
즉 sip-ua의 sip-username과 sip-password 설정되어 있고 동시에 dial-peer의 sip-username과
sip-password 설정 되었다면 APOS는 gateway 전체에 영향을 주는 global 설정에 우선 순위를
부여 하므로 dial-peer에 설정된 user name과 password 설정은 무시 됩니다.
관련 명령어
dial-peer 명령어
(config)# dial-peer voice 0 pots
(config-dialpeer-pots-0)#
user-name
set username of dial peer
user-password
set password of dial peer
sip-ua 명령어
(config)# sip-ua
(config-sip-ua)#
sip-username Set Username of SIP User Agent
sip-password Set Password of SIP User Agent
(config-dialpeer-pots-0)# user-name <string>
(config-dialpeer-pots-0)# user-password <string>
24
4
Voice Interface 설정
1. 입출력 Gain값 설정
2. Tone 변경
3. ISDN-PRI Interface 설정
4. R2 DTMF Interface 설정
5. Caller-ID 설정 (FXS/FXO)
6. 반전신호 설정 (FXS/FXO)
㈜애드팍테크놀러지
www.addpac.com
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
26
입력 게인-값은 전화기 포트로부터 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
음성포트 0/0으로 내보내는 음량을 3dB 증폭한다.
HO(config-voice-port-1/0)#
27
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)
28
본 구성에서는 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 설정 방법도 동일 합니다
29
톤(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
30
3. ISDN-PRI 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
31
디지털 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
HO(config-controller-e1-0/0)#signalling-type isdn
Signaling type 설정
3
HO(config-controller-e1-0/0)#channel-group timeslots 1-31 0
Channel group을 설정 (30 channel을 모두 사용한다)
4
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 설정에 있음
에 유의 바람)
32
디지털 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
33
4. R2 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
34
디지털 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로 설정
35
디지털 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
36
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
37
본 구성에서는 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
!
38
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
39
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)
40
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 게이트웨이로 호접속 완료 메시지를 보내는 순간 입니다.
41
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
!
단계
명령어
설명
1
HO(config-ether0.0)#
voice-port 0/0
음성포트 0/0에 대한 설정을 시
작한다.
2
HO(config-voice-port-0/0)#
polarity-inverse
반전신호 기능을 활성화 시킨다.
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 =
… (중략) …
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
…(이하 생략)…
42
5 Trouble shooting
1. 장애 처리 절차
2. E1 Specification
3. Q & A
㈜애드팍테크놀러지
www.addpac.com
1. 장애 처리 절차
Trouble Shooting
•
장애 원인 추적
•
Debugging Command
•
Call Trace
44
장애 원인 추적
- VoIP Network or GK (1/3) –
“인터넷 장애 안내 멘트 혹은 신호음”후 FXO port (PSTN) backup
Ping Test
Failed
OK
Interface Down ?
No
ISP에 회선 장애 신고
Yes
Ethernet Interface
check
GK registration
Status
Failed
ITSP에 문의
Yes
TCP(Setup) channel
Open Fail ?
Yes
ITSP에 문의
No
AddPac에 문의
45
장애 원인 추적
- VoIP Network or GK (2/3) –
특정 번호 통화 불가 혹은 오류
특정 번호 Call Fail ?
Yes
Gateway 설정 오류 ?
Yes
수정
No
GK routing 오류
ITSP에 문의( Call Trace)
수정
46
장애 원인 추적
- VoIP Network or GK (3/3) –
호 설정 오류 또는 비정상 종료
특정 번호 Call Fail ?
Yes
Gateway 설정 오류 ?
Yes
수정
No
GK routing 오류
ITSP에 문의( Call Trace)
수정
47
장애 원인 추적
- DTMF Relay or detect –
DTMF 오류
H245 tunneling
Configuration수정
H245
tunueling
In-Band
FXS/FXO PORT
out gain 설정 변경
(감소)
voice-port x/x
out gain <-18-9>
비 정상
H245 no
tunueling
H245 channel open 절차 확인
debug voip h245
FXS/FXO DTMF input 확인
debug rta IPC
비 정상
정상
정상
Q.931 Facility 절차 확인
debug voip call
비 정상
정상
ITSP에 문의
Trunk gateway 확인
48
장애 원인 추적
- 통화 품질 –
Noise/하울링/echo/
DTMF mis-match
No
Is Analog port ?
Yes
IS PRI ?
Yes
ITSP에 문의
(remote gateway)
PABX 유지 보수 업체
(PABX local)
No
통신 Ground 유무
No
통신
Ground
처리
Yes
No
통신 Ground 유무
Yes
Call Test Local Port
To PABX 내선
Not OK
OK
Internet 품질 test
Packet Loss/Delay
Not OK
ISP
인터넷 회선 점검
OK
ITSP
Remote gateway 점검
49
Debugging Command
access-list
call
cdp
H225-ansi
dhcpc
H245-ansi
dhcpd
Ras-ansi
Frame-relay
mgcp
dns
sip
ospf
ppp
debug
number
port
pptp
ipc
radius
Rtp
rip
rtperr
tcpip
rtcp
voip
t38
rta
t38raw
ppp
http
voice
e1t1
r2
q921
q931
all
Message display 제어권
config)# debug-port
Usage
AP200# debug voip call
AP200# config
Enter configuration commands,
one per line. End with CNTL/Z
AP200(config)# debug-port
AP200(config)# 4
<CEP
000000> : Call Received
5
<CEP 000000> : Call
Initiated : calledNumber()
callerInfo() crv(0) total(0)
6
<Call 286> :
****************** Call Created
status(InitiatedByFXS)
******************
*
7
<CEP 000000> : Call
id(cc47e640-6a2b-67ca-81830002a400380d) callNum(286)
8
<Call 286>
50
call Trace
- RAS brief/detail (1/2)–
AP200#
AP200# debug voip call
AP200(config-gateway)# register
6
<GK
0>
: Try registration to All candidated GKs exclude() exclusi
ve()
7
<Gk
0>
: Try registration to gk host(172.19.1.248) port(1719)
8
<GK
0>
: Send RRQ.
AP200(config-gateway)# 9
<GK
0>
: Received RCF from 'addpac
-private-gk1'.
10
<GK
0>
: Success registration to GK host(172.19.1.248) port(
1719)
AP200# debug voip ras
AP200(config-gateway)# regis
<> PDU Encoding ...
value RasMessage ::= registrationRequest :
{
requestSeqNum 1,
protocolIdentifier { 0 0 8 2250 0 2 },
discoveryComplete FALSE,
callSignalAddress
{
ipAddress :
{
ip 'AC1301C8'H,
port 1720
}
},
rasAddress
{
ipAddress :
{
ip 'AC1301C8'H,
port 22000
}
},
terminalType
{
gateway
{
},
mc FALSE,
51
call Trace
- RAS brief/detail (2/2) undefinedNode FALSE
},
terminalAlias
{
h323-ID : "jykim-2000",
e164 : "2000"
},
endpointVendor
{
vendor
{
t35CountryCode 97,
t35Extension 0,
manufacturerCode 22
},
productId '41646450616320566F4950'H,
versionId '382E3130'H
},
timeToLive 60,
keepAlive FALSE,
willSupplyUUIEs FALSE
}
1088942155 : Sending RAS PDU to (172.19.1.248:1719) from 22000
0e 80 00 00 06 00 08 91 4a 00 02 00 01 00 ac 13 ........J.......
01 c8 06 b8 01 00 ac 13 01 c8 55 f0 08 00 02 40 ..........U....@
09 00 6a 00 79 00 6b 00 69 00 6d 00 2d 00 32 00 ..j.y.k.i.m.-.2.
30 00 30 00 30 01 80 53 33 60 61 00 00 16 0a 41 0.0.0..S3`a....A
64 64 50 61 63 20 56 6f 49 50 03 38 2e 31 30 0e ddPac VoIP.8.10.
8a 02 00 3b 01 00 01 00
...;....
AP200(config-gateway)# <> RasMessage Decoding ... - Buffer(size:119)
value RasMessage ::= registrationConfirm :
{
requestSeqNum 1,
protocolIdentifier { 0 0 8 2250 0 2 },
callSignalAddress
{
ipAddress :
{
ip 'AC1301C8'H,
port 1720
}
},
terminalAlias
{
h323-ID : "jykim-2000",
e164 : "2000"
},
gatekeeperIdentifier "addpac-private-gk1",
endpointIdentifier "40ae783c000081",
timeToLive 60,
willRespondToIRR FALSE
}
1088942155 : Received RAS PDU from (172.19.1.248:1719)
12 c0 00 00 06 00 08 91 4a 00 02 01 00 ac 13 01 ........J.......
c8 06 b8 02 40 09 00 6a 00 79 00 6b 00 69 00 6d [email protected]
00 2d 00 32 00 30 00 30 00 30 01 80 53 33 22 00 .-.2.0.0.0..S3".
61 00 64 00 64 00 70 00 61 00 63 00 2d 00 70 00 a.d.d.p.a.c.-.p.
72 00 69 00 76 00 61 00 74 00 65 00 2d 00 67 00 r.i.v.a.t.e.-.g.
....;..
52
call Trace
- H323 Call Setup brief (1/2) –
AP200# debug voip call
AP200# 1
<CEP 000000> : Call Received
2
<CEP 000000> : Call Initiated : calledNumber() callerInfo() crv(0)
total(0)
3
<Call 346> : ****************** Call Created status(InitiatedByFXS)
******************
*
4
<CEP 000000> : Call id(50f3e740-9c8f-bbcc-81cb-0002a400380d)
callNum(346)
5
<Call 346> : MatchAllProcess After Sorted
<0> id(4000) dest(....) prefer(0) selected(120)
<1> id(1000) dest(T) prefer(0) selected(109)
6
<Call 346> : Initiate callee with dial-peer(....)
status(CalleeDeterminedAll) id(50f3e74
0-9c8f-bbcc-81cb-0002a400380d)
7
<NetEP 346> : InitiateOutCall: calledNum(#2000) callingNum(2000)
target(ras)
8
<NetEP 346> : DoCall: calledAddr(#2000@) callingAddr(2000)
9
<GK
346> : Send ARQ.
10
<GK
346> : Received ACF.
11
<H225 346> : Try signalling TCP connect (172.19.1.250:1720)
12
<H225 346> : Signalling TCP connect success (346)
13
<H323 346> : local capabilities.
number of capabilities = 5
1 : g7231A-6.3k
2 : g729-8k
3 : T.38
4 : UserInput/basicString
5 : UserInput/hookflash
14
<Q931 346> : Send SETUP
15
<Q931 346> : Received CALL PROCEEDING
16
<Chan 346> : Open - number(101) direction(receive)
session(voice) codec(g7231A-6.3k)
- Local : Data(23002) Cont(23003) Addr(172.19.1.200)
- Remote : Data(23900) Cont(23901)
DataAddr(172.19.1.250) ContAddr(172.19.1
.250)
17
<Q931 346> : Received PROGRESS
18
<Q931 346> : Received Progress Indicator : desc(8), coding(0),
location(0)
19
<H245 346> : Send TCS request.
20
<Q931 346> : Send FACILITY
21
<H245 346> : Send MSD request.
22
<Q931 346> : Send FACILITY
23
<Call 346> : Progress from(ffffffff)
24
<Q931 346> : Received CONNECT
25
<H225 346> : Remote Endpoint (AddPac VoIP,8.00,97,0,22)
26
<Call 346> : Connected from(ffffffff)
27
<NetEP 346> : Call with voip.172.19.1.250 established
28
<Chan 346> : Open - number(101) direction(transmit)
session(voice) codec(g7231A-6.3k)
- Local : Data(23002) Cont(23003) Addr(172.19.1.200)
- Remote : Data(23900) Cont(23901)
DataAddr(172.19.1.250) ContAddr(172.19.1
.250)
29
<Q931 346> : Received FACILITY
30
<H245 346> : Received TCS request.
53
call Trace
- H323 Call Setup brief (2/2) –
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<H245 346> : remote capabilities matching to local capabilities.
number of capabilities = 5
1 : g7231A-6.3k
2 : g729-8k
3 : T.38
4 : UserInput/basicString
5 : UserInput/hookflash
<H245 346> : Send TCS ack.
<Q931 346> : Send FACILITY
<Q931 346> : Received FACILITY
<H245 346> : Received MSD request.
<H245 346> : Send MSD ack.
<Q931 346> : Send FACILITY
<Q931 346> : Received FACILITY
<H245 346> : Received TCS ack..
<Q931 346> : Received FACILITY
<H245 346> : Received MSD ack.
<CEP 000000> : Disconnected(16)
<Call 346> : Terminated from(0) this(Local:CallClear) before(NULL)
forced(0)
<Chan 346> : Close - number(101) direction(receive)
<Chan 346> : Close - number(101) direction(transmit)
<Q931 346> : Send RELEASE COMPLETE
<GK
346> : Send DRQ.
<GK
346> : Received DCF.
<NetEP 346> : Call TO <voip.172.19.1.250> terminated
reason(Local:CallClear)
BLANK
54
call Trace
- h245 DTMF Relay brief/detail–
AP200# debug voip call
55
<H245 347> : Send UserInputIndication(1)
56
<Q931 347> : Send FACILITY
57
<Call 347> : Digit(2) s(Established)
58
<H245 347> : Send UserInputIndication(2)
59
<Q931 347> : Send FACILITY
60
<Call 347> : Digit(3) s(Established)
61
<H245 347> : Send UserInputIndication(3)
62
<Q931 347> : Send FACILITY
63
<Call 347> : Digit(4) s(Established)
64
<H245 347> : Send UserInputIndication(4)
65
<Q931 347> : Send FACILITY
66
<Call 347> : Digit(5) s(Established)
67
<H245 347> : Send UserInputIndication(5)
68
<Q931 347> : Send FACILITY
AP200# debug voip h245
AP200# <> MultimediaSystemControlMessage(choice:4)] Encoding ...
value MultimediaSystemControlMessage ::= indication : userInput :
alphanumeric : "1"
1088944039 : Sent H245 PDU to (172.19.1.250:10091) from 18001
<> MultimediaSystemControlMessage(choice:4)] Encoding ...
value MultimediaSystemControlMessage ::= indication : userInput :
alphanumeric : "2"
1088944040 : Sent H245 PDU to (172.19.1.250:10091) from 18001
<> MultimediaSystemControlMessage(choice:4)] Encoding ...
value MultimediaSystemControlMessage ::= indication : userInput :
alphanumeric : "3"
1088944041 : Sent H245 PDU to (172.19.1.250:10091) from 18001
<> MultimediaSystemControlMessage(choice:4)] Encoding ...
value MultimediaSystemControlMessage ::= indication : userInput :
alphanumeric : "4"
1088944042 : Sent H245 PDU to (172.19.1.250:10091) from 18001
<> MultimediaSystemControlMessage(choice:4)] Encoding ...
value MultimediaSystemControlMessage ::= indication : userInput :
alphanumeric : "5"
1088944042 : Sent H245 PDU to (172.19.1.250:10091) from 18001
<> MultimediaSystemControlMessage(choice:3)] Encoding ...
value MultimediaSystemControlMessage ::= command :
endSessionCommand : disconnect : NULL
1088944045 : Sent H245 PDU to (172.19.1.250:10091) from 18001
55
call Trace
- T38 FAX Relay (1/4) –
AP200# debug voip call
AP200# debug rta ipc
AP200# debug rta t38
AP200# [1268.205] VM(0/0/0) vmOffHook
[1268.265] VM(0/0/0) vmTmoOffHook
[1268.265] VM(0/0/0) Rx OffHook
[1268.265] VM(0/0/0) Tx OFFHOOK_IND
[1268.265] VM(0/0/0) play Dial tone
1
<CEP 000000> : Call Received
2
<CEP 000000> : Call Initiated : calledNumber() callerInfo() crv(0)
total(0)
3
<Call 4>
: ****************** Call Created status(InitiatedByFXS)
****************
***
4
<CEP 000000> : Call id(b06eec40-e399-77ad-8007-0002a400e070)
callNum(4)
[1271.575] VM(0/0/0) Tx DIGIT_IND '1'
[1271.575] VM(0/0/0) play mute
5
<Call 4>
: Digit(1) s(InitiatedByFXS)
6
<Call 4>
: Digit match checked(MatchedPartially)
[1271.755] VM(0/0/0) Tx DIGIT_IND '0'
7
<Call 4>
: Digit(0) s(CalleeUndetermined)
8
<Call 4>
: Digit match checked(MatchedPartially)
[1271.935] VM(0/0/0) Tx DIGIT_IND '0'
9
<Call 4>
: Digit(0) s(CalleeUndetermined)
10
<Call 4>
: Digit match checked(MatchedPartially)
[1272.115] VM(0/0/0) Tx DIGIT_IND '0'
11
<Call 4>
: Digit(0) s(CalleeUndetermined)
12
<Call 4>
: Digit match checked(MatchedPerfect)
13
<Call 4>
: MatchAllProcess After Sorted
<0> id(1000) dest(1000) prefer(0) selected(2)
14
<Call 4>
: Initiate callee with dial-peer(1000)
status(CalleeDeterminedAll) id(b06ee
c40-e399-77ad-8007-0002a400e070)
15
<NetEP 4>
: InitiateOutCall: calledNum(1000) callingNum(2000)
target(172.17.180.3)
16
<NetEP 4>
: DoCall: calledAddr([email protected])
callingAddr(2000)
[1272.120] VM(0/0/0) Fax rate 9600
17
<H225 4>
: Try signalling TCP connect (172.17.180.3:1720)
18
<H225 4>
: Signalling TCP connect success (4)
19
<H323 4>
: local capabilities.
number of capabilities = 5
1 : g7231A-6.3k
2 : g729-8k
3 : T.38
4 : UserInput/basicString
5 : UserInput/hookflash
20
<Q931 4>
: Send SETUP
[1272.140] RTA(0/0/0) Rx RS_LISTEN_REQ callId=4 ssId=1 G729A
peer=0.0.0.0 mp=23006/23007 hp=0/0
[1272.140] VM(0/0/0) codec replace later
21
<Q931 4>
: Received CALL PROCEEDING
22
<Chan 4>
: Open - number(101) direction(receive)
session(voice) codec(g7231A-6.3k)
- Local : Data(23006) Cont(23007) Addr(172.17.180.2)
- Remote : Data(23006) Cont(23007)
DataAddr(172.17.180.3) ContAddr(172.17
.180.3)
23
<Q931 4>
: Received ALERTING
24
<H245 4>
: Send TCS request.
25
<Q931 4>
: Send FACILITY
56
call Trace
- T38 FAX Relay (2/4) –
26
27
28
<H245 4>
: Send MSD request.
<Q931 4>
: Send FACILITY
<Call 4>
: Alert from(ffffffff) pseudo(0) inband(0)
status(CalleeInitiated)
[1272.225] RTA(0/0/0) Rx CC_ALERT_RSP peerId(0/0/0)
[1272.225] VM(0/0/0) play RingBack tone
29
<Q931 4>
: Received FACILITY
30
<H245 4>
: Received TCS request.
31
<H245 4>
: remote capabilities matching to local capabilities.
number of capabilities = 5
1 : g7231A-6.3k
2 : g729-8k
3 : T.38
4 : UserInput/basicString
5 : UserInput/hookflash
32
<H245 4>
: Send TCS ack.
33
<Q931 4>
: Send FACILITY
34
<Q931 4>
: Received FACILITY
35
<H245 4>
: Received TCS ack..
36
<Q931 4>
: Received FACILITY
37
<H245 4>
: Received MSD ack.
38
<H245 4>
: Send MSD ack.
39
<Q931 4>
: Send FACILITY
40
<Q931 4>
: Received CONNECT
41
<H225 4>
: Remote Endpoint (AddPac VoIP,7.00,97,0,22)
42
<Call 4>
: Connected from(ffffffff)
[1279.375] RTA(0/0/0) Rx CC_CONNECT_RSP peerId(0/0/0)
[1279.375] VM(0/0/0) Fax enable
[1279.375] VM(0/0/0) play mute
43
<NetEP 4>
: Call with voip.172.17.180.3 established
44
<Chan 4>
: Open - number(101) direction(transmit)
session(voice) codec(g7231A-6.3k)
- Local : Data(23006) Cont(23007) Addr(172.17.180.2)
- Remote : Data(23006) Cont(23007)
DataAddr(172.17.180.3) ContAddr(172.17
.180.3)
[1279.375] RTA(0/0/0) Rx RS_OPEN_REQ callId=4 ssId=1 G7236
peer=172.17.180.3 mp=23006/23007 hp=23006/23007
[1279.380] VM(0/0/0) vopp idle
[1279.380] VM(0/0/0) codec replace timer start
[1279.385] VM(0/0/0) discard voice under codec replace
[1279.395] VM(0/0/0) discard voice under codec replace
[1279.400] VM(0/0/0) under codec replace
[1279.440] VM(0/0/0) codec replaced to G7236
[1279.440] VM(0/0/0) Fax enable
[1279.440] VM(0/0/0) play mute
45
<Q931 4>
: Received FACILITY
46
<H245 4>
: Received RM request.
47
<Q931 4>
: Send FACILITY
48
<H245 4>
: Send CLC request.
[1284.370] RTA(0/0/0) Rx RS_CLOSE_REQ callId=4 ssId=1 dir=forw
49
<Chan 4>
: Close - number(101) direction(transmit)
50
<Q931 4>
: Send FACILITY
51
<H245 4>
: Send OLC request.
52
<Q931 4>
: Send FACILITY
53
<Q931 4>
: Received FACILITY
54
<H245 4>
: Received CLC request.
55
<H245 4>
: Send CLC ack.
56
<Q931 4>
: Send FACILITY
[1284.395] RTA(0/0/0) Rx RS_CLOSE_REQ callId=4 ssId=1 dir=reve
57
call Trace
- T38 FAX Relay (3/4) –
57
58
59
60
<Chan 4>
: Close - number(101) direction(receive)
<Q931 4>
: Received FACILITY
<H245 4>
: Received OLC request.
<Chan 4>
: Open - number(102) direction(receive) session(data)
codec(T.38)
- Local : Data(23006) Cont(23007) Addr(172.17.180.2)
- Remote : Data(23006) Cont(23007)
DataAddr(172.17.180.3) ContAddr(172.17
.180.3)
[1284.405] RTA(0/0/0) Rx RS_LISTEN_REQ callId=4 ssId=3 G711A
peer=172.17.180.3 mp=23006/23007 hp=23006/23007
61
<H245 4>
: Send OLC ack.
62
<Q931 4>
: Send FACILITY
63
<Q931 4>
: Received FACILITY
64
<H245 4>
: Received CLC ack.
65
<Q931 4>
: Received FACILITY
66
<H245 4>
: Received OLC ack.
67
<Chan 4>
: Open - number(103) direction(transmit) session(data)
codec(T.38)
- Local : Data(23006) Cont(23007) Addr(172.17.180.2)
- Remote : Data(23006) Cont(23007)
DataAddr(172.17.180.3) ContAddr(172.17
.180.3)
[1284.450] RTA(0/0/0) Rx RS_OPEN_REQ callId=4 ssId=3 G711A
peer=172.17.180.3 mp=23006/23007 hp=23006/23007
[1284.495] T38(0/0/0) Rx T30I CED
[1291.185] T38(0/0/0) Rx T30I FLAG
[ff] [c0] [02] [04] [04] [04] [04] [04] [04] [04] [04] [04] [04] [04] [04]
[04] [04] [04] [04] [04]
[1e] [86] [62] [1293.520] T38(0/0/0) Rx T30D V21 OK
[ff] [c8] [01] [00] [73] [1e] [1293.730] T38(0/0/0) Rx T30D V21 OK
[1293.760] T38(0/0/0) Rx T30D V21 END
[1294.390] T38(0/0/0) Tx T30I FLAG
[1296.010] T38(0/0/0) Tx HDLC L=23: ff c0 c2 04 04 04 04 04 04 04 04 04
04 04 04 04 04 04 04 04 04
04 04
[1296.015] T38(0/0/0) Tx T30D V21 OK
[1296.285] T38(0/0/0) Tx HDLC L=6: ff c8 c1 00 61 18
[1296.290] T38(0/0/0) Tx T30D V21 OK
[1296.370] T38(0/0/0) Tx T30D V21 END
[1296.490] T38(0/0/0) Tx T30I V29_9600
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii[1298.190] T38(0/0/0) Tx T30D V29_9600 T4_E
[1299.370] T38(0/0/0) Rx T30I FLAG
[ff] [c8] [21] [1300.600] T38(0/0/0) Rx T30D V21 OK
[1300.630] T38(0/0/0) Rx T30D V21 END
[1301.530] T38(0/0/0) Tx T30I V29_9600
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii[1309.115] T
38(0/0/0) Tx T30D V29_9600 T4_E
[1309.270] T38(0/0/0) Tx T30I FLAG
[1310.375] T38(0/0/0) Tx HDLC L=3: ff c8 f4
[1310.375] T38(0/0/0) Tx T30D V21 OK
[1310.440] T38(0/0/0) Tx T30D V21 END
[1311.130] T38(0/0/0) Rx T30I FLAG
[ff] [c8] [31] [1312.360] T38(0/0/0) Rx T30D V21 OK
[1312.390] T38(0/0/0) Rx T30D V21 END
[1312.990] T38(0/0/0) Tx T30I FLAG
[1314.085] T38(0/0/0) Tx HDLC L=3: ff c8 df
[1314.085] T38(0/0/0) Tx T30D V21 OK
[1314.160] T38(0/0/0) Tx T30D V21 END
68
<Q931 4>
: Received RELEASE COMPLETE
[1315.030] RTA(0/0/0) Rx RS_CLOSE_REQ callId=4 ssId=3 dir=reve
69
<Chan 4>
: Close - number(102) direction(receive)
58
call Trace
- T38 FAX Relay (4/4) –
[1315.030] RTA(0/0/0) Rx RS_CLOSE_REQ callId=4 ssId=3 dir=forw
70
<Chan 4>
: Close - number(103) direction(transmit)
71
<Call 4>
: Terminated from(ffffffff) this(Remote:CallClear)
before(NULL) forced(0)
72
<CEP 000000> : Disconnect (0)
[1315.085] RTA(0/0/0) Rx CC_DISCONN_REQ CZ=0, peerId(0/0/0)
[1315.085] VM(0/0/0) play Reorder tone
73
<NetEP 4>
: Call TO <voip.172.17.180.3> terminated
reason(Remote:CallClear)
[1315.185] VM(0/0/0) vmOnHook
[1315.245] VM(0/0/0) vmTmoOnHook
[1315.305] VM(0/0/0) vmTmoOnHook
[1315.365] VM(0/0/0) vmTmoOnHook
[1315.425] VM(0/0/0) vmTmoOnHook
[1315.485] VM(0/0/0) vmTmoOnHook
[1315.545] VM(0/0/0) vmTmoOnHook
[1315.605] VM(0/0/0) vmTmoOnHook
[1315.665] VM(0/0/0) vmTmoOnHook
[1315.725] VM(0/0/0) vmTmoOnHook
[1315.785] VM(0/0/0) vmTmoOnHook
[1315.845] VM(0/0/0) vmTmoOnHook
[1315.845] VM(0/0/0) Rx OnHook
[1315.845] VM(0/0/0) vopp idle
[1315.845] VM(0/0/0) Tx DISCONN_CNF
74
<CEP 000000> : Disconnected(16)
BLANK
59
call Trace
- E&M –
AP2520# debug voip call
AP2520# debug rta ipc
AP2520# [76.030] VM(1/0/0) vmOffHook
[76.030] VM(1/0/0) Rx OffHook
[76.030] VM(1/0/0) Tx CALL_RECEIVED
1
<CEP 010000> : Call Received
[76.230] VM(1/0/0) WinkWait timeout
[76.230] VM(1/0/0) E&M OffHook
[76.430] VM(1/0/0) WinkDura timeout, Tx OFFHOOK_IND
[76.430] VM(1/0/0) E&M OnHook
[76.430] VM(1/0/0) play Dial tone
2
<CEP 010000> : Call Initiated : calledNumber() crv(0) total(0)
3
<Call 1>
: ****************** Call Created
status(InitiatedByE&M) *******
BLANK
60
call Trace
- ISDN PRI (1/3)–
AP2520# debug voip call
AP2520# debug rta ipc
AP2520# debug rta q931
AP2520# [6425.650] Q931[0] Rx DL_DATA_IND len=37
[6425.650] Q931[0] Rx [SETUP] 08 02 0e a3 05 a1 04 03 80 90 a3 18 03
a9 83 8b 6c 05 c9 32 3
0 30 33 70 0c 80 35 36 36 34 37 37 35 31 30 30 30
SendingCom : a1
Bearer_Cap : 04 03 80 90 a3
ChannelId : 18 03 a9 83 8b
CallingNum : 6c 05 c9 32 30 30 33
CalledNum : 70 0c 80 35 36 36 34 37 37 35 31 30 30 30
1
<Dev 000000> : CCC_GetBchannel : bChNo(11) exclusive(1)
[6425.655] Q931[0] Tx PCC_SETUP_IND CR=3747 B=11 Excl CZ=0 PG=0
Cd='56647751000' Cg='2003'
[6425.655] Q931[0] Tx [CALL_P] 08 02 8e a3 02 18 03 a9 83 8b
ChannelId : 18 03 a9 83 8b
2
<CEP 00000b> : Call Received
3
<Call 34>
: ****************** Call Created status(InitiatedByE1)
*********
**********
4
<CEP 00000b> : Calling number(2003)
5
<CEP 00000b> : Call id(3b06ec40-73f5-7768-8033-0002a4005670)
callNum(34)
6
<Call 34>
: Match check (MatchedPerfect)
7
<Call 34>
: MatchAllProcess After Sorted
<0> id(0) dest(5664775....) prefer(0) selected(15)
8
<CGrp 000000> : GetAvailableChannel (15)
9
<Call 34>
: Initiate callee with dial-peer(5664775....)
status(CalleeDetermin
edAll) id(3b06ec40-73f5-7768-8033-0002a4005670)
10
<CEP 00000f> : InitiateOutCall : calledNum(1000),
callingNum(2003), callerPort(
b) type(E1)
[6425.665] RTA(0/0/11) Rx PCC_BCH_CONN peerId(0/0/15)
[6425.665] VM(0/0/11) Fax disable
[6425.665] VM(0/0/15) Fax disable
[6425.665] VM(0/0/11) play mute
[6425.665] Q931[0] Rx PCC_SETUP_REQ CR=16 B=15 Excl CZ=128 PG=0
Cd='1000' Cg=80 80 '2003'
[6425.665] Q931[0] Tx [SETUP] 08 02 00 10 05 04 03 80 90 a3 18 03 a9
83 8f 6c 05 80 32 30 3
0 33 70 05 80 31 30 30 30 7d 02 91 81 a1
Bearer_Cap : 04 03 80 90 a3
ChannelId : 18 03 a9 83 8f
CallingNum : 6c 05 80 32 30 30 33
CalledNum : 70 05 80 31 30 30 30
HighLayerC : 7d 02 91 81
SendingCom : a1
11
<CEP 00000f> : Outbound call to CEP callId(3b06ec40-73f57768-8033-0002a4005670)
callNum(34)
[6425.840] Q931[0] Rx DL_DATA_IND len=10
[6425.840] Q931[0] Rx [CALL_P] 08 02 80 10 02 18 03 a9 83 8f
ChannelId : 18 03 a9 83 8f
[6425.840] Q931[0] Tx PCC_SETUP_CNF CR=16 B=15 Excl CZ=0 PG=0
Cd='1000' Cg=80 80 '2003'
[6425.840] RTA(0/0/15) Rx PCC_BCH_CONN peerId(0/0/11)
[6425.840] VM(0/0/15) Fax disable
[6425.840] VM(0/0/11) Fax disable
[6425.845] VM(0/0/15) play mute
[6425.855] Q931[0] Rx DL_DATA_IND len=10
61
call Trace
- ISDN PRI (2/3)–
[6425.855] Q931[0] Rx [ALERT] 08 02 80 10 01 18 03 a9 83 8f
ChannelId : 18 03 a9 83 8f
[6425.855] Q931[0] Tx PCC_ALERT_IND CR=16 B=15 Excl CZ=0 PG=0
Cd='1000' Cg=80 80 '2003'
12
<Call 34>
: Alert from(f) pseudo(0) inband(0) status(CalleeInitiated)
[6425.855] RTA(0/0/11) Rx CC_ALERT_RSP peerId(0/0/0)
[6425.855] VM(0/0/11) play RingBack tone
[6425.855] Q931[0] Rx PCC_ALERT_RSP CR=3747 B=11 Excl CZ=128 PG=0
[6425.860] Q931[0] Tx [ALERT] 08 02 8e a3 01
[6429.685] Q931[0] Rx DL_DATA_IND len=5
[6429.685] Q931[0] Rx [CONNECT] 08 02 80 10 07
[6429.685] Q931[0] Tx PCC_CONN_CNF CR=16 B=15 Excl CZ=0 PG=0
Cd='1000' Cg=80 80 '2003'
[6429.685] Q931[0] Tx [CONN_ACK] 08 02 00 10 0f
13
<Call 34>
: Connected from(f)
[6429.685] Q931[0] Rx PCC_CONN_REQ CR=3747 B=11 Excl CZ=128 PG=0
[6429.690] Q931[0] Tx [CONNECT] 08 02 8e a3 07
[6429.690] Q931[0] Tx PCC_CONN_CNF CR=3747 B=11 Excl CZ=0 PG=0
Cd='56647751000' Cg='2003'
14
<Call 34>
: Connected from(b)
[6429.765] Q931[0] Rx DL_DATA_IND len=5
[6429.765] Q931[0] Rx [CONN_ACK] 08 02 0e a3 0f
[6431.405] Q931[0] Rx DL_DATA_IND len=13
[6431.405] Q931[0] Rx [DISCONN] 08 02 0e a3 45 08 02 81 90 1e 02 81 88
Cause : 08 02 81 90
ProgressIn : 1e 02 81 88
[6431.405] Q931[0] Tx [RELEASE] 08 02 8e a3 4d 08 02 80 90
Cause : 08 02 80 90
[6431.410] Q931[0] Tx PCC_DISC_IND CR=3747 B=11 Excl CZ=16 PG=8
Cd='56647751000' Cg='2003'
[6431.485] Q931[0] Rx DL_DATA_IND len=5
[6431.485] Q931[0] Rx [REL_COM] 08 02 0e a3 5a
[6431.485] Q931[0] Tx PCC_DISC_CNF CR=3747 B=11 Excl CZ=16 PG=8
Cd='56647751000' Cg='2003'
15
<CEP 00000b> : Disconnected(16)
[6431.485] RTA(0/0/11) Rx PCC_BCH_DISC peerId(0/0/0)
[6431.485] VM(0/0/11) vopp idle
16
<Call 34>
: Terminated from(b) this(Local:CallClear)
before(NULL) forced(0)
17
<CEP 00000f> : StopSignal
[6431.490] RTA(0/0/15) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_STOP
[6431.490] VM(0/0/15) play mute
18
<CEP 00000f> : Disconnect (0)
[6431.490] RTA(0/0/15) Rx PCC_BCH_DISC peerId(0/0/0)
[6431.490] VM(0/0/15) vopp idle
[6431.490] Q931[0] Rx PCC_DISC_REQ CR=16 B=15 Excl CZ=144 PG=0
[6431.490] Q931[0] Tx [DISCONN] 08 02 00 10 45 08 02 80 90
Cause : 08 02 80 90
[6431.560] Q931[0] Rx DL_DATA_IND len=13
[6431.560] Q931[0] Rx [DISCONN] 08 02 80 10 45 08 02 81 90 1e 02 81
88
Cause : 08 02 81 90
ProgressIn : 1e 02 81 88
[6431.560] Q931[0] Tx [RELEASE] 08 02 00 10 4d 08 02 80 90
Cause : 08 02 80 90
[6431.560] Q931[0] Tx PCC_DISC_IND CR=16 B=15 Excl CZ=16 PG=8
Cd='1000' Cg=80 80 '2003'
[6431.585] Q931[0] Rx DL_DATA_IND len=17
62
call Trace
- ISDN PRI (3/3)–
[6431.585] Q931[0] Rx [RELEASE] 08 02 80 10 4d 00 01 08 08 02 00 10 45
08 02 80 90
InfoElemId : 00 01 08
Cause : 08 02 00 10
InfoElemId : 45 08 02 80 90 50 3d 08 00 00
[6431.585] Q931[0] Tx PCC_DISC_CNF CR=16 B=15 Excl CZ=100 PG=8
Cd='1000' Cg=80 80 '2003'
[6431.590] Q931[0] Tx [REL_COM] 08 02 00 10 5a 08 03 80 e4 08
Cause : 08 03 80 e4 08
19
<CEP 00000f> : Disconnected(100)
BLANK
63
call Trace
- R2 (1/2) –
AP2520# debug v c
AP2520# debug rta r2
AP2520# debug rta ipc
AP2520# [4032.500] R2(0/0/12) Rx CAS A=0 B=0
[4032.500] R2(0/0/12) Tx CAS A=1 B=1
[4032.500] VM(0/0/12) Tx OFFHOOK_IND
1
<CEP 00000c> : Call Received
2
<CEP 00000c> : Call Initiated : calledNumber() crv(0) total(0)
3
<Call 7>
: ****************** Call Created status(InitiatedByE1)
********
***********
4
<CEP 00000c> : Calling number()
[4032.505] VM(0/0/12) play mute
5
<CEP 00000c> : Call id(5405ec40-4b08-e229-800d-0002a400aca6)
callNum(7)
[4035.700] R2(0/0/12) Rx FW I-5: Digit 5
[4035.700] VM(0/0/12) Tx DIGIT_IND '5'
[4035.700] R2(0/0/12) Tx BW A1: Send Next Digit
6
<Call 7>
: Digit(5) at InitiatedByE1
7
<Call 7>
: MatchedPartially
[4035.880] R2(0/0/12) MFC signal OFF, mute ON
[4035.880] VM(0/0/12) play mute
[4035.980] R2(0/0/12) mute timeout
[4036.000] R2(0/0/12) Rx FW I-6: Digit 6
[4036.000] VM(0/0/12) Tx DIGIT_IND '6'
[4036.000] R2(0/0/12) Tx BW A1: Send Next Digit
8
<Call 7>
: Digit(6) at CalleeUndetermined
9
<Call 7>
: MatchedPartially
[4036.180] R2(0/0/12) MFC signal OFF, mute ON
[4036.180] VM(0/0/12) play mute
[4036.280] R2(0/0/12) Rx FW I-6: Digit 6
[4036.280] VM(0/0/12) Tx DIGIT_IND '6'
[4036.280] R2(0/0/12) Tx BW A1: Send Next Digit
[4036.280] R2(0/0/12) mute timeout
10
<Call 7>
: Digit(6) at CalleeUndetermined
11
<Call 7>
: MatchedPartially
[4036.460] R2(0/0/12) MFC signal OFF, mute ON
[4036.460] VM(0/0/12) play mute
[4036.560] R2(0/0/12) mute timeout
[4036.580] R2(0/0/12) Rx FW I-4: Digit 4
[4036.580] VM(0/0/12) Tx DIGIT_IND '4'
[4036.580] R2(0/0/12) Tx BW A1: Send Next Digit
12
<Call 7>
: Digit(4) at CalleeUndetermined
13
<Call 7>
: MatchedPartially
[4036.760] R2(0/0/12) MFC signal OFF, mute ON
[4036.760] VM(0/0/12) play mute
[4036.860] R2(0/0/12) mute timeout
[4036.880] R2(0/0/12) Rx FW I-7: Digit 7
[4036.880] VM(0/0/12) Tx DIGIT_IND '7'
[4036.880] R2(0/0/12) Tx BW A1: Send Next Digit
14
<Call 7>
: Digit(7) at CalleeUndetermined
15
<Call 7>
: MatchedPartially
[4037.060] R2(0/0/12) MFC signal OFF, mute ON
[4037.060] VM(0/0/12) play mute
[4037.160] R2(0/0/12) mute timeout
[4037.170] R2(0/0/12) Rx FW I-7: Digit 7
[4037.170] VM(0/0/12) Tx DIGIT_IND '7'
[4037.170] R2(0/0/12) Tx BW A1: Send Next Digit
16
<Call 7>
: Digit(7) at CalleeUndetermined
17
<Call 7>
: MatchedPartially
[4037.350] R2(0/0/12) MFC signal OFF, mute ON
[4037.350] VM(0/0/12) play mute
64
call Trace
- R2 (2/2) –
[4037.450] R2(0/0/12) mute timeout
[4037.470] R2(0/0/12) Rx FW I-5: Digit 5
[4037.470] VM(0/0/12) Tx DIGIT_IND '5'
[4037.470] R2(0/0/12) Tx BW A1: Send Next Digit
18
<Call 7>
: Digit(5) at CalleeUndetermined
19
<Call 7>
: MatchedPartially
[4037.650] R2(0/0/12) MFC signal OFF, mute ON
[4037.650] VM(0/0/12) play mute
[4037.750] R2(0/0/12) mute timeout
[4037.770] R2(0/0/12) Rx FW I-1: Digit 1
[4037.770] VM(0/0/12) Tx DIGIT_IND '1'
[4037.770] R2(0/0/12) Tx BW A1: Send Next Digit
20
<Call 7>
: Digit(1) at CalleeUndetermined
21
<Call 7>
: MatchedPartially
[4037.950] R2(0/0/12) MFC signal OFF, mute ON
[4037.950] VM(0/0/12) play mute
[4038.050] R2(0/0/12) mute timeout
[4038.070] R2(0/0/12) Rx FW I-10: Digit 0
[4038.070] VM(0/0/12) Tx DIGIT_IND '0'
[4038.070] R2(0/0/12) Tx BW A1: Send Next Digit
22
<Call 7>
: Digit(0) at CalleeUndetermined
23
<Call 7>
: MatchedPartially
[4038.250] R2(0/0/12) MFC signal OFF, mute ON
[4038.250] VM(0/0/12) play mute
[4038.350] R2(0/0/12) mute timeout
[4038.360] R2(0/0/12) Rx FW I-10: Digit 0
[4038.360] VM(0/0/12) Tx DIGIT_IND '0'
[4038.360] R2(0/0/12) Tx BW A1: Send Next Digit
24
<Call 7>
: Digit(0) at CalleeUndetermined
25
<Call 7>
: MatchedPartially
[4038.540] R2(0/0/12) MFC signal OFF, mute ON
[4038.540] VM(0/0/12) play mute
[4038.640] R2(0/0/12) mute timeout
[4038.670] R2(0/0/12) Rx FW I-10: Digit 0
[4038.670] VM(0/0/12) Tx DIGIT_IND '0'
[4038.670] R2(0/0/12) Tx BW A1: Send Next Digit
26
<Call 7>
: Digit(0) at CalleeUndetermined
27
<Call 7>
: MatchedPerfect
[4038.670] RTA(0/0/12) Rx RCC_ADDR_CMP peerId(0/0/0)
[4038.670] R2(0/0/12) Tx BW A5: Send Calling Category and Number
[4038.850] R2(0/0/12) MFC signal OFF, mute ON
[4038.850] VM(0/0/12) play mute
[4038.950] R2(0/0/12) mute timeout
[4039.130] R2(0/0/12) MFC signal OFF, mute ON
[4039.130] VM(0/0/12) play mute
[4039.230] R2(0/0/12) mute timeout
[4039.250] R2(0/0/12) Rx FW II-1: Subscriber without priority
[4039.250] R2(0/0/12) Tx BW A5: Send Calling Category and Number
[4039.430] R2(0/0/12) MFC signal OFF, mute ON
[4039.430] VM(0/0/12) play mute
[4039.530] R2(0/0/12) Rx FW I-2: Digit 2
[4039.530] R2(0/0/12) Tx BW A5: Send Calling Category and Number
[4039.530] R2(0/0/12) mute timeout
[4039.710] R2(0/0/12) MFC signal OFF, mute ON
[4039.710] VM(0/0/12) play mute
[4039.810] R2(0/0/12) mute timeout
[4039.820] R2(0/0/12) Rx FW I-10: Digit 0
[4039.820] R2(0/0/12) Tx BW A5: Send Calling Category and Number
[4040.000] R2(0/0/12) MFC signal OFF, mute ON
[4040.000] VM(0/0/12) play mute
65
call Trace
- Analog Event –
Hook off/on
AP200# debug rta ipc
AP200# [2935.900] VM(0/1/0) vmOffHook
[2935.960] VM(0/1/0) vmTmoOffHook
[2935.960] VM(0/1/0) Rx OffHook
[2935.960] VM(0/1/0) Tx OFFHOOK_IND
[2935.960] VM(0/1/0) play Dial tone
[2935.960] RTA(0/1/0) Rx CC_DISCONN_REQ CZ=0, peerId(0/0/0)
[2935.960] VM(0/1/0) play Reorder tone
[2937.375] VM(0/1/0) vmOnHook
[2937.475] VM(0/1/0) vmTmoOnHook
[2937.575] VM(0/1/0) vmTmoOnHook
[2937.675] VM(0/1/0) vmTmoOnHook
[2937.675] VM(0/1/0) Rx OnHook
[2937.675] VM(0/1/0) vopp idle
[2937.675] VM(0/1/0) Tx DISCONN_CNF
BLANK
Ring
AP200# debug rta ipc
AP200# [12484.065] VM(0/0/0) Rx FXO Ring Actv
[12484.065] VM(0/0/0) Tx RING_IND
[12485.075] VM(0/0/0) Rx FXO Ring Idle
[12485.075] VM(0/0/0) FXO OffHook
[12485.075] VM(0/0/0) play Dial tone
[12485.075] VM(0/0/0) Tx OFFHOOK_IND
[12491.260] VM(0/0/0) listen Reorder tone
[12491.260] VM(0/0/0) vopp idle
[12491.260] VM(0/0/0) FXO OnHook
[12491.265] VM(0/0/0) Tx DISCONN_CNF
66
2. E1 Specification
Trouble Shooting
•
장애 원인 추적
•
Debugging Command
•
Call Trace
67
Configuration
- ISDN PRI –
Setting ISDN-PRI Command
for Digital E1 or T1
Router
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
WAN
(IP Network)
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
68
Configuration
- ISDN status –
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
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
69
Configuration
- R2 –
Setting R2/DTMF Command
for Digital E1 or T1
Router
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
WAN
(IP Network)
!
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 r2
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
70
Configuration
- R2 status –
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
71
Configuration
- E1 명령어 요약 –
config/controller e1 <slot>/<port>
signalling-type <dtmf | isdn | r2>
E1/T1 시그널링 유형 설정
clock-source <slave | master >
클럭 매스터/슬래이브의 설정
chan-number-order < ascending | descending |redom >
채널(Channel) Ascending/Descending 기능
isdn protocol-emulate user
ISDN-PRI 네트워크/사용자 모드 설정
r2 get-calling-number
R2-MFC 콜링-넘버 획득
out-barred-group timeslots 1-15 (<0-9+> time slot range (e.g., 1,2,3 or 1-31 or
1,2,3,16-31))
채널별 아웃-바운드(Out-bound) 호 블록(block) 기능
72
Configuration
- E1 명령어 요약 –
config/voice-port <slot>/<port>
compand-type a-law(u-law/ au-law/ ua-law)
E1/T1 Compand-type [Ulaw/Alaw /au-law/ua-law] 선택
dial-tone-generate
ISDN-PRI 오버랩 dial-tone generation
73
Configuration
- 기타 특수 기능 –
ISDN PRI Overlap sending
controller e1 0/0
Isdn overlap-sending
Analog
Phone
AddPac
VoIP Gateway
IP
AddPac
VoIP Gateway
Analog
Phone
PBX
PBX에 연동된 VoIP 게이트웨이에서 오버랩센딩(Overlap-sending) 명령이 설정이 되면
VoIP 게이트웨이를 통해 수신한 셋업 메시지
(setup msg)에 콜드 넘버(Called numer)가
없을 경우 PBX가 오버랩(Overlap)으로 인식
하여 셋업 에크(Setup ack)를 보내게 됩니다.
Setup
Setup
Setup ACK
Call_proeeding
Info “1”
Info “2”
Info “3”
Info “4”
Alerting
Alerting
…
connect
connect ack
H245-aphanumeric “ 1 “
H245-aphanumeric “ 2 “
H245-aphanumeric “ 3 “
H245-aphanumeric “ 4 “
Digit 1234
셋업-에크(Setup-ack)를 수신한 VoIP 게이
트웨이는 발신 쪽에서 넘어오는 디지트(Digit)
에 대해 PBX쪽으로 정보를 변환해 보내고 디
지트(Digit) 송출 완료 후 얼러팅(alerting) 메
시지와 커넥트(connect) 메시지를 PBX에서
수신 한 후 통화로가 성립됩니다.
Default 는 disable 이며 일반적인 PBX 구성
에서는 절대 enable 하지 마시기 바랍니다.
Connect
74
Configuration
- 기타 특수 기능 –
ISDN PRI numbering type (1/2)
controller e1 0/0
isdn called-party-numbering-type from-network
isdn calling-party-numbering-type from-network
Analog
Phone
AddPac
VoIP Gateway
IP
AddPac
VoIP Gateway
Analog
Phone
PBX
Setup
Setup
cd = ‘national’
cg = ‘network’
cd = ‘national’
cg = ‘network’
VoIP 망으로 부터 받은 메세지(h.323 setup) 의 called-number/calling-number의
(Numbering-type)을 ISDN-PRI로 전달할 때 어떻게 설정할 지에 대한 설정 입니다.
Default는 unknown 입니다..
75
Configuration
- 기타 특수 기능 –
ISDN PRI numbering type (2/2)
Config/controller e1 x/x
isdn called(calling)-party-numbering-type { abbreviated | international |
national | network | subscriber | unknown}
VoIP 게이트웨이 에서 PBX로 전달되는 q.931 Setup-msg에 설정한
Numbering-type을 적용시킵니다.
isdn called(calling)-party-numbering-type by-peer
pots-peer 혹은 voip-peer 에 설정된 numbering-type을 그대로 PBX로 보냅니
다.
isdn called(calling)-party-numbering-type from-network
VoIP 망으로부터 수신된 setup msg내의 numbering-type field 참조하여 PBX로
보냅니다.
Config/dial-peer voice x { voip|pots }
numbering-type
해당 peer에 설정된 numbering type을 적용해서 호를 내 보냅니다.
76
Configuration
- E1 signaling 요약 –
ISDN PRI call flow
WAN
(IP Network)
PRI
Analog Phone
1234
PBX
GateKeeper/SIP Server
AddPac
VoIP Gateway
En-bloc(일괄송출) 방식
Dial-tone
dial
Ring back tone
Hook off
Setup
Call Proceding
Alerting/Progress
Connect
convesation
DISCONNECT
Release
Setup/invite
Call Proceding/100 trying
Alerting/procCall progress/180/183
Connect/200 OK
Release Com/Bye
ReleaseCompleteACK/ACK
Overlap(중첩송출) 방식
Press 9
Ring back tone
Disconnect tone
Hook off
Setup without called-party-number
Setup ACK
dial tone
dial
Call Proceding
Alerting/Progress
Connect
convesation
DISCONNECT
Release
Setup/invite
Call Proceding/100 trying
Alerting/procCall progress/180/183
Connect/200 OK
Release Complete
Release Com/Bye
ReleaseCompleteACK/ACK
77
Configuration
- E1 signaling 요약 –
R2 call flow
WAN
(IP Network)
R2 MFC
Analog Phone
12
Dial-tone
Dial 56
PBX
GateKeeper/SIP Server
AddPac
VoIP Gateway
CAS A=0 B=0
CAS A=1 B=1
착신 번호 송출
FW I-5 (digit 5)
BW A1(send next digit)
FW I-6 (digit 6)
BW A1(send next digit)
번호 송출 완료
발신 번호 요청 및 송출
r2 get-calling-number
FW I-15 (sending complete)
BW A5(send Calling category & number)
FW II-1 (Calling number 1)
BW A5(send Calling category & number)
FW II-2 (Calling number 2)
번호 송출 완료
FW I-15 (sending complete)
BW A3(Address Complete)
FW II-1 (Subscriber without priority)
BW B6(Called Free, Charge)
Ringback tone
Real ring-back tone 송출
CAS A=0 B=1
Setup/Invite
Alerting/Progress/180/183
Connect
Connect
Conversation
Hook off
Disconnect
CAS A=1 B=0
CAS A=1 B=0
Release complete/Bye
78
Trouble Shooting
- E1 ISDN PRI 장애 유형 (1/2)–
장애 유형
Check point
E1 Link down
Line pin map 확인
RX = pin 1,2
TX = pin 4,5
E1 Link UP, ACT LED off
Protocol emulation mode 를 networks에서 user 혹은 user에서 network 으로 변경한다.
PBX 발신 호에 대해 gateway에서 voip 망으로 전달하려고 하나 이유 없이 PBX로부터 release 를 받는다.
- 교환기의 ISDN PRI option 중 exclusive bit이
enable 인지 확인 후 disable 이면 enable로
설정 변경 요청 한다.
Gateway 에서의 확인 명령어
#debug voip call
<Dev 000000> : CCC_GetBchannel : bChNo(11) exclusive(1)
1 = enabled, 0 = disabled
교환기 측에서 수정 불가시 APOS를 version 8.23F 이후
버전으로 upgrade 한다.
- 계속 호를 시도해서 특정 체널을 점유 할때의
문제 인지 아니면 전체널에서 발생하는 문제
인지 확인 후 특정 체널에서 발생하는 경우
교환기 쪽에 원인 확인 요청
- 교환기의 등급 (call class) 설정 확인.
79
Trouble Shooting
- E1 ISDN PRI 장애 유형 (2/2) –
장애 유형
Check point
오 다이얼
번호가 정확히 들어 오는지 확인 한다.
# debug rta q931
통화 중 혹은 발신 중 이유 없는 호 종료
Disconnect 가 gateway로부터 PBX로 전달 되나 VoIP 망으로 부터 release를 받지는 않았다.
#debug rta ipc
listen re-order-tone 메시지에 의한 호 종료시 아래와 같이 조치 한다.
config/voice-port x/x
no clear-down-tone-detect
삼성 인포렉스 E1 PRI 연결 시 주의 사항
잘못 설정 시 현상 (호 setup 정상, B channel로 음성신호 없음으로 인한 양방향 묵음)
교환기의 PRI  protocol  (CCTI,National,삼성) 중 반드시 national로 설정 할 것,
80
Trouble Shooting
- E1 R2 장애 유형 –
장애 유형
Check point
E1 Link down
Line pin map 확인
RX = pin 1,2
TX = pin 4,5
발신 번호 미 표시 혹은 이로 인한 호 실패
- 교환기의 call ID 설정을 확인한다.
관련 명령어
# debug rta r2
-게이트웨이의 get-calling-number설정을 disable 한다.
controller e1 x/x
no r2 get-calling-number
이유 없는 비 정상 호 종료
-
음질 문제
-
R2 및 voip signaling trace 를 통해 호 종료의 주체가
누구인지 확인 후 조치.
관련 명령어
# debug rta r2
# debug rta ipc
# debug voip call
Ground 확인
line error 확인
관련 명령어
# show controller
81
질의 및 응답
Q&A
82