AddPac VoIP Gateway Training Guide
AddPac VoIP Gateway Training Guide
AddPac VoIP Gateway Training Guide
AddPac Technology
www.addpac.com
Contents
1. AddPac VoIP Gateway 2. Basic Management Function 3. Basic Setting Configuration and Network Diagram 4. H.323 call setup procedure Overview 5. VoIP Configuration and Setting 6. Other Scalability Features 7. Example
2
AddPac Technology
www.addpac.com
WAN Port - One(1) Serial Port (V.35 Interface) LAN Port - One(1) 10/100Mbps Ethernet (RJ-45 Interface) Console Port - One(1) RS-232C Interface Network Module Slot - Two(2) Interface Module Slot Power Requirement - 110~220 VAC , 50/60Hz, 15Watt H x W x D (mm) - 43mm x 435mm x 205mm
3
AddPac Technology
www.addpac.com
www.addpac.com
5
AddPac Technology
www.addpac.com
OS & configuration up-grade or backup using Ftp, Tftp, Web Auto upgrade SNMP Web based management Security (User account management,telnet access control,access list) Equipment Configuration Check (dial plan & other equipment configuration information) Equipment Status Check (check the equipment status such as port, line status during operation) Debugging (call trace and other real-time debugging information analysis) Boot Loader (Password recovery mode)
6
AddPac Technology
www.addpac.com
Server
or
Client
Get (download)
Server
www.addpac.com
8
AddPac Technology
www.addpac.com
2-3. SNMP
SNMP agent : snmp version 2 MIB : version 2 , VoIP enterprise MIB Support Configuration command for Agent router(config)# snmp community <host ip> <community name> router(config)# snmp <location/contact/name> string router(config)# snmp host <trap host ip> router(config)# service snmpd
AddPac Gateway
Snmp manager
Snmp agent
9
AddPac Technology
www.addpac.com
Web server : Web based management supports 90% CLI (command line Interface based on RS232C console) commands approximately. And Web based management supports the OS and configuration Upload. Configuration command for Web Server router(config)# service httpd
client
AddPac Technology
www.addpac.com
11
AddPac Technology
www.addpac.com
12
AddPac Technology
www.addpac.com
13
AddPac Technology
www.addpac.com
Ap2520
Serial0 v35 Ap2110 CSU/DSU
Internet
E0.0
E0.0
Ap2520
telnet/user account /access list security check packet filtering(as gateway router) using Access list
14
AddPac Technology
www.addpac.com
Detail information (This commands show the detailed information including default configuration information) General command router# show <access-lists/accounting-list/arp/bridge/call/call-diversion/,,,,,> Line interface related command router(config)# show <line/interface/ip/,,,,,,> Voip setting command router(config)# show voice port <,,,,> ; FXO/FXS/E&M/E1 port status and setting information router(config)# show dial-peer <,,,,,> ; gateways dial plan information router(config)# show gateway ; VoIP related global setting information for gateway router(config)# show translation-rule ; Show current translation rule information
15
AddPac Technology
www.addpac.com
Telnet
ethernet
AddPac Gateway
Console port Baud rate 9600 No parity 1 stop bit No flow control
http console
Serial port
www.addpac.com
www.addpac.com
2-8.Debugging (1/5)
Support the real-time call tracing and lan packet decoding during equipment in-service operation (This commands is usable at top level of command hierarchy) major command debug access-list debug dhcpc debug dhcpd debug frame-relay debug ospf debug ppp debug serial debug rip debug tcpip debug voip debug rta ;Set IP access list for debugging ;DHCP Client protocol information ;DHCP Server protocol information ;Frame Relay information ;OSPF protocol information ;PPP (Point to point protocol) information ;Serial interface information ;RIP protocol information ;TCP/IP protocol information ;[VoIP] VoIP protocol information ;[VoIP] Rta protocol information ; Debug message is displayed in current commanding terminal(tty) (default : console). This command is very usable at remote debugging via telnet.
router(config)# debug-port
18
AddPac Technology
www.addpac.com
2-8. Debugging(2/5)
VoIP call trace related debugging command debug voip < call/h225-asn1/h245-asn1/ras-asn1> ;Decoding the Q.931 and RAS message. debug voip port <port-no> ; Trace only specific port debug debug debug debug debug debug debug debug debug debug debug rta ipc rta rtp rta rtperr rta rtcp rta t38 rta http rta e1 rta r2 rta q921 rta q931 rta all ;IPC message ;RTP (Real-time Transfer Protocol) Packet ;RTP (Real-time Transfer Protocol) Packet Error ;RTCP (Real-time Transfer Control Protocol) Packet ;T38 Fax Protocol ; HTTP Protocol ;E1 Link ;R2 Signaling ;ISDN Q921 Packet ;ISDN Q931 Packet ;above all
19
AddPac Technology
www.addpac.com
2-8. Debugging(3/5)
Telnet
router# debug voip call router(config)# debug-port
AddPac Gateway
ethernet
Console port Baud rate 9600 No parity 1 stop bit No flow control
console
Serial port
www.addpac.com
2-8. Debugging(4/5)
router# debug voip call router# config Enter configuration commands, one per line. End with CNTL/Z router(config)# debug-port router(config)# 1 <CEP 000300> : Call Received 2 <CEP 000300> : Call Initiated : calledNumber() callingNumber() crv(0) 3 <Call 59> : Created status(InitiatedByFXS) 4 <Call 59> : Digit(5) 5 <Call 59> : Digit match checked(MatchedPartially) 6 <Call 59> : Digit(6) 7 <Call 59> : Digit match checked(MatchedPartially) 8 <Call 59> : Digit(8) 9 <Call 59> : Digit match checked(MatchedAll) 10 <Call 59> : Digit(3) 11 <Call 59> : Digit match checked(MatchedAll) 12 <Call 59> : Digit(8) 13 <Call 59> : Digit match checked(MatchedAll) 14 <Call 59> : Digit(4) 15 <Call 59> : Digit match checked(MatchedAll) 16 <Call 59> : Digit(8) 17 <Call 59> : Digit match checked(MatchedAll) 18 <Time 59> : Inter digit timer timeout. 19 <Call 59> : Digit(#) 20 <Call 59> : MatchAllProcess After Sorted <0> id(1000) dest(...T) prefer(0) selected(36) 21 22 23 24 25 26 27 28 <Call 59> : Initiate callee with dial-peer(...T) status(CalleeDeterminedAll) <H323 59> : InitiateOutCall: calledNum(5683848) callingNum(25683845) target(ras) <H323 59> : DoCall: calledAddr(5683848@) callingAddr(25683845) <GK 59> : Send ARQ. <GK 59> : Received ACF. <H225 59> : Try signalling TCP connect (61.74.195.162:1720) <H225 59> : Signalling TCP connect success <H323 59> : local capabilities. number of capabilities = 7 1 : g7231 (6.3k) 2 : g729 (8k) 3 : g711ulaw (64k) 4 : g711alaw (64k) 5 : T.38 6 : UserInput/basicString 7 : UserInput/hookflash <Q931 59> : Send SETUP <Call 59> : Alert from(ffffffff) pseudo(1) <Q931 59> : Received CALL PROCEEDING <Q931 59> : Received ALERTING <Call 59> : Alert from(ffffffff) pseudo(0) <Q931 59> : Received ALERTING
29 30 31 32 33 34
21
AddPac Technology
www.addpac.com
2-8. Debugging(5/5)
35 <Chan 59> : Open - number(129) direction(receive) session(voice) c odec(g7231r63) - Local : Data(23100) Cont(23101) Addr(61.33.161.47) - Remote : Data(32720) Cont(32721) DataAddr(210.217.13 .167) ContAddr(210.217.13.167) 36 <Q931 59> : startH245(forced with Facility) 37 <Call 59> : Alert from(ffffffff) pseudo(0) 38 <H245 59> : Send TCS request. 39 <H245 59> : Send MSD request. 40 <H245 59> : Received TCS request. 41 <H323 59> : remote capabilities matching to local capabilities. number of capabilities = 4 42 <H245 59> : Send TCS ack. 43 <H245 59> : Received MSD request. 44 <H245 59> : Send MSD ack. 45 <Q931 59> : Received CONNECT 46 <Call 59> : Connected from(ffffffff) 47 <H323 59> : Call with suwon established 48 <Chan 59> : Open - number(101) direction(transmit) session(voice) codec(g7231r63) - Local : Data(23100) Cont(23101) Addr(61.33.161.47) - Remote : Data(32720) Cont(32721) DataAddr(210.217.13 .167) ContAddr(210.217.13.167) 49 <H245 59> : Received TCS ack. 50 <H245 59> : Received MSD ack. 51 <Call 59> : Terminated from(300) this(Local:CallClear) before(NUL L) forced(0) 52 53 54 55 56 57 58 <Chan 59> : Close - number(129) direction(receive) <Chan 59> : Close - number(101) direction(transmit) <Q931 59> : Send RELEASE COMPLETE <GK 59> : Send DRQ. <H245 59> : Control channel closed <GK 59> : Received DCF. <H323 59> : Call TO <suwon> terminated reason(Local:CallClear) 59 <Time 0> : Gatekeeper TTL timeout. 60 <GK 0> : Send RRQ. router(config)# end router# no debug all
22
AddPac Technology
www.addpac.com
No Boot#
Yes
Mini-OS
Waiting three(3) second for key input detection at RS-232C console port after booting 23
AddPac Technology
www.addpac.com
Cntl-c,Cntl-x
console
Serial port Baud rate 9600 No parity 1 stop bit No flow control
Console port
ethernet
AddPac Gateway
FTP
C:\>ftp 61.33.161.94 Connected to 61.33.161.94. 220 FTP server (Version 1.12) ready. User (61.33.161.94:(none)): root 331 Password required for root. Password: 230 User root logged in ok. ftp> bin 200 Type set to I. ftp> put ap2520rom_v5_67.bin 24
AddPac Technology
www.addpac.com
Cable Modem Environment (DHCP client) ADSL Modem (PPPoE) Environment (Dynamic IP) ADSL Modem (MyIP) Environment ADSL Modem (multi-IP) or Released line Environment Leased Line Router Environment (Operating as VoIP Router) QoS, Bridge Mode
25
AddPac Technology
www.addpac.com
Mandatory command List Ethernet 0.0 DHCP Client QoS recommendation e164 for Dial peer FXS/FXO/VoIP VoIP Interface Configuration (default eth0.0) Optional command List Configuration for Gate-Keeper Ethernet 1.0 private IP Address & PAT
Internet
Cable
Eth0.0 AP2110
26
AddPac Technology
www.addpac.com
! version 5.58 ! nat-list 1 pat static-entry tcp 1720 local nat-list 1 pat group-static-entry udp 22000 30000 local nat-list 1 pat group-static-entry tcp 10000 22000 local nat-list 1 pat static-entry tcp 23 local nat-list 1 pat group-static-entry tcp 20 21 local nat-list 1 pat group-static-entry udp 67 68 local nat-list 1 pat static-entry icmp ping local ! interface ether0.0 ip address dhcp qos-control 200 100 !
! ! ! VoIP configuration. ! ! ! Voice service voip configuration. ! voice service voip fax protocol t38 redundancy 0 fax rate 14400 h323 call start fast security permit-FXO
27
AddPac Technology
www.addpac.com
www.addpac.com
Mandatory command List Ethernet 0.0 PPPoE QoS recommendation e164 for Dial peer FXS/FXO/VoIP VoIP Interface Configuration (default eth0.0) Default route Optional command List Configuration for Gate-Keeper Ethernet 1.0 private IP Address & PAT
Internet
ADSL Line
Eth0.0 AP2110
29
AddPac Technology
www.addpac.com
30
AddPac Technology
www.addpac.com
Mandatory command List Ethernet 0.0 ip address QoS recommendation Dial peer FXS/FXO/VoIP e164 VoIP Interface Setting (default eth0.0) Default route Optional command List Configuration for Gate-Keeper Ethernet 1.0 private IP Address & PAT
Internet
ADSL Line
Eth0.0 AP2110
31
AddPac Technology
www.addpac.com
Mandatory command List Ethernet 0.0 ip address Dial peer FXS/FXO/VoIP e164 VoIP Interface Setting (default eth0.0) Default route Optional List Gate-Keeper Parameter Setting
Internet
LAN
ethernet
Eth0.0 AP2110
lan switch
32
AddPac Technology
www.addpac.com
Mandatory command List Serial 0 ip address encapsulation PPP(HDLC) QoS Recommend Ethernet 0.0 ip address Dial peer FXS/FXO/VoIP e164 VoIP Interface Setting (default eth0.0) Default(or static) route Optional command List Gate-Keeper Parameter Setting
Internet
Leased Line
CSU/DSU
33
AddPac Technology
www.addpac.com
Mandatory command List Ethernet 0.0 Ip address bridge QoS Recommand Ethernet 1.0 no ip address bridge Dial peer FXS/FXO/VoIP e164 VoIP Interface Setting (default eth0.0) default route no ip routing No Bridge Spanning Tree Optional command List Gate-Keeper Parameter Setting
Internet
Leased Line
Eth0.0 AP1100
Internal Network
34
AddPac Technology
www.addpac.com
PSTN Inter-networking call Scenario H323 end-to-end signaling Gatekeeper Registration Gatekeeper Call Admission Direct Endpoint Call Signaling Gatekeeper Routed Call Signaling (Q.931) Gatekeeper Routed Call Signaling (Q.931/H.245) Both endpoints registered to the same Gatekeeper Both gatekeepers direct call signaling
35
AddPac Technology
www.addpac.com
AddPac gateway
PBX
36
AddPac Technology
www.addpac.com
H.323 Gateway
V
Setup Connect
Signaling Plane
Capabilities Exchange Open Logical Channel Open Logical Channel Acknowledge RTP Stream RTP Stream RTCP Stream
H.245 (TCP)
Bearer Plane
Media (UDP)
37
AddPac Technology
www.addpac.com
Gateway A Gateway A
Gateway B Gateway B
RASRegistration Admission and Status UDP Transport Port 1719 RRQRegistration Request RRJRegistration Reject RCFRegistration Confirm
38
AddPac Technology
www.addpac.com
1.
ARQ (Admission Request): I have a call for Gateway B
ARQ ACF
IP QoS WAN
H.323 Call Setup
Gateway A Gateway A
Gateway B Gateway B
2.
ACF (Admission Confirm): Yes you can, heres its IP Address X.X.X.X
39
AddPac Technology
www.addpac.com
40
AddPac Technology
www.addpac.com
41
AddPac Technology
www.addpac.com
42
AddPac Technology
www.addpac.com
T1527160-97
43
AddPac Technology
www.addpac.com
Call proceeding (4) ARQ (5) ACF/ARJ (6) Alerting (7) Connect (8)
T1527190-97
44
AddPac Technology
www.addpac.com
45
AddPac Technology
www.addpac.com
46
AddPac Technology
www.addpac.com
; default= none
Deciding whether GRQ message is sending or not router(config-gateway)# discovery ; default=disable H323 id setting router(config-gateway)# h323-id <string> Send RRQ router(config-gateway)# register RAS signaling port setting router(config-gateway)# signalling-port <port-num> RAS source port number fixed router(config-gateway)# fixed-ras-port ; default= 1720 ; default=fixed(port num=22000) ; default=voip.<ether0.0 ip address>
47
AddPac Technology
www.addpac.com
router(config-vservice-voip)# timeout tinit router(config-vservice-voip)# timeout tring router(config-vservice-voip)# timeout t301 router(config-vservice-voip)# timeout t303 router(config-vservice-voip)# timeout tras router(config-vservice-voip)# timeout tttl router(config-vservice-voip)# timeout tidt router(config-vservice-voip)# timeout treg
; set initial digit timeout value ; set ringing timeout value ; set Q.931 alert -> connect timeout value ; set Q.931 setup -> alert timeout value ; set RAS msg ack timeout value ; set RAS Time To Live timeout value ; set inter digit timeout value ; set GK Registration retry timeout value
show gateway command can be used to check the correct parameter setting
router#show gateway
router(config)# dial-p voice <tag-id> <pots/voip> router(config-dialpeer-pots-100)# destination-pattern <number> router(config-dialpeer-pots-100)# port <0-1>/<0-3> router(config-dialpeer-voip-2000)# sess target <ras/ip address>
48
AddPac Technology
www.addpac.com
Local Ring-back-tone parameter setting router(config-vservice-voip)# local-ringback-tone <alert/early/<cr>> ; default=<cr> Alert: Playing Local ring back-tone after receiving alerting message. Early: Playing Local ring back-tone after sending setup message. <cr> ; Playing Local ring back-tone in coming first whatever RTP(in-band) or alert. Setting whether sending In-band Ring-back-tone to caller router(config-vservice-voip)# in-band-ringback-tone ; default= enabled VoIP port(TCP/UDP) minimize option router(config-vservice-voip)# minimize-voip-ports <<cr>/<multiply <number> > ; default=no minimize
49
AddPac Technology
www.addpac.com
6 . Supplementary function
connection PLAR call pickup/forwarding number translation PSTN backup & inbound pots peer
50
AddPac Technology
www.addpac.com
100
200
interface ether0.0 ip address 10.10.10.1 255.255.255.0 . voice-port 0/0 connection plar 200 . dial-peer voice 0 pots destination-pattern 100 port 0/0 . dial-peer voice 1000 voip destination-pattern 200 session target 20.20.20.1 dtmf-relay h245-alphanumeric
interface ether0.0 ip address 20.20.20.1 255.255.255.0 . dial-peer voice 0 pots destination-pattern 200 port 0/0 . dial-peer voice 1000 voip destination-pattern 100 session target 10.10.10.1 dtmf-relay h245-alphanumeric .
51
AddPac Technology
www.addpac.com
100
Call pick-up
interface ether0.0 ip address 10.10.10.1 255.255.255.0 . dial-peer voice 0 pots destination-pattern 100 port 0/0 . dial-peer voice 1000 voip destination-pattern 200 session target 20.20.20.1 dtmf-relay h245-alphanumeric interface ether0.0 ip address 20.20.20.1 255.255.255.0 . dial-peer voice 0 pots destination-pattern 200 port 0/0 . dial-peer voice 1000 voip destination-pattern 100 session target 10.10.10.1 dtmf-relay h245-alphanumeric . dial-peer call-pickup ** 52
AddPac Technology
www.addpac.com
100
Call transfer
interface ether0.0 ip address 10.10.10.1 255.255.255.0 . dial-peer voice 0 pots destination-pattern 100 port 0/0 . dial-peer voice 1000 voip destination-pattern 200 session target 20.20.20.1 dtmf-relay h245-alphanumeric
interface ether0.0 ip address 20.20.20.1 255.255.255.0 . dial-peer voice 0 pots destination-pattern 200 port 0/0 . dial-peer voice 1000 voip destination-pattern 100 session target 10.10.10.1 dtmf-relay h245-alphanumeric . router(config)# dial-peer call-transfer h 53 www.addpac.com
AddPac Technology
Call
Translation rule router(config)# translation-rule <tag-id> router(config-translation-rule#0)# rule <index> <input pattern> <output-pattern> Translation rule application router(config-voice-ports-0/0)# translate-incoming <calling-number/called-number> router(config-dialpeer-voip-1000)# translate-outgoing <calling-number/called-number> router(config-vservice-voip)# translate-voip-incoming <calling-number/called-number> router(config-dialpeer-pots-0)# translate-outgoing <calling-number/called-number>
54
AddPac Technology
www.addpac.com
Out going call Hook off(port 1/0) -> digit any number -> VoIP call is possible ?(AddPac gateway) -> possible -> call transfer to VoIP Service Provider (Gatekeeper) -> call connected (conversation) ->impossible (Gatekeeper down or internet link down ) -> call transfer to port 0/0(PSTN) -> call connected Hook off(port 1/1) -> digit any number -> VoIP call is possible?(AccPac gateway) -> possible-> call transfer to VoIP Service Provider (Gatekeeper) -> call connected ->impossible (gatekeeper down or internet link down) -> call transfer to port 0/0(PSTN) -> call connected Incoming call call (port0/0) -> Ringing(port 1/0) -> hook off (port 1/0) -> call connected (conversation) call (port0/1) -> Ringing(port 1/1) -> hook off (port 1/1) ->call connected (conversation) 55
AddPac Technology
www.addpac.com
Setting command router(config-vservice-voip)# busyout monitor <gatekeeper/voip-interface> ;VoIP interface Status Monitoring Condition Setting router(config-voice-ports-0/0)# connection plar 100 router(config-voice-ports-0/1)# connection plar 101 router(config-dialpeer-pots-10)# inbound-pots-peer 0 router(config-dialpeer-pots-10)# preference 1 router(config-dialpeer-pots-11)# inbound-pots-peer 1 router(config-dialpeer-pots-11)# preference 1 router(config-dialpeer-voip-1000)# preference 0 56
AddPac Technology
www.addpac.com
7. Example
VoIP call connection diagram using Gatekeeper Gatekeeper and internal direct call connection diagram Internal direct call connection (plar) direct call connection using FXS or FXO interface (plar) : Example number translation Inhibit specific number outgoing call (number translation application 2 ) PSTN Backup (normal ) PSTN Backup (inbound pots peer) Trunk Inter-working with Voice broadcasting equipment Gatekeeper and internal direct call application number translation, plar
57
AddPac Technology
www.addpac.com
Gatekeeper 80.80.80.1
PSTN
82-2-123-4567
82-2-123-4568
58
AddPac Technology
www.addpac.com
www.addpac.com
dial-peer voice 1000 voip destination-pattern ..T session target ras dtmf-relay h245-alphanumeric ! ! Gateway configuration. ! gateway h323-id addpac gkip 80.80.80.1 1719 128 register ! ! Clear down tone ! voip-interface ether0.0 !
www.addpac.com
82-2-987-6543 2000
Eth0.0 : 20.20.20.20
PSTN
82-2-123-4567 1000
82-2-123-4568 1001
61 www.addpac.com
AddPac Technology
router-B ! version 5.67 ! hostname router-B ! interface ether0.0 ip address 20.20.20.20 255.255.255.0 ! interface ether1.0 no ip address ! snmp name AP2110 ! route 0.0.0.0 0.0.0.0 20.20.20.1 ! ! VoIP configuration. 62 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
www.addpac.com
www.addpac.com
www.addpac.com
dial-peer voice 1001 voip destination-pattern 100. session target 10.10.10.10 dtmf-relay h245-alphanumeric ! ! Gateway configuration. ! gateway h323-id addpac-gw2 gkip 90.90.90.1 1719 128 register ! ! Clear down tone ! voip-interface ether0.0
www.addpac.com
2000
67
AddPac Technology
www.addpac.com
www.addpac.com
www.addpac.com
voice-port 1/0 connection plar 2000 ! voice-port 1/1 connection plar 2001 ! voice-port 1/2 ! voice-port 1/3 ! ! Pots peer configuration. ! dial-peer voice 0 pots destination-pattern 1000 port 1/0 !
AddPac Technology
voice-port 1/0 connection plar 1000 ! voice-port 1/1 connection plar 1001 ! voice-port 1/2 ! voice-port 1/3 ! ! Pots peer configuration. ! dial-peer voice 0 pots destination-pattern 2000 port 1/0 ! 70 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
dial-peer voice 1 pots destination-pattern 2001 port 1/1 ! Voip peer configuration. ! dial-peer voice 1000 voip destination-pattern 100. session target 10.10.10.1 dtmf-relay h245-alphanumeric ! ! Gateway configuration. ! gateway h323-id voip.20.20.20.20 ! ! Clear down tone ! voip-interface ether0.0 71 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
7-4. direct call connection using FXS or FXO interface (plar) :Example
Call Scenario Hook off(200 or 201) -> digit 100 or 101 -> Ringing(1000 or 1001) -> hook off(1000 or 1001) -> Conversation 1000 Eth0.0 : 10.10.10.10 Internet 2001 101 Eth0.0 : 20.20.20.10 2000 100
PBX
200
1001
Call Scenario Hook off(1000 or 1001) -> digit 200 or 201 -> Ringing(200 or 201) -> hook off(200 or 201) -> Conversation
201
Requirement Although #100, #101 users are locating remote site, using just like directly to inside Line #100, #101 of PBX 72
AddPac Technology
www.addpac.com
7-4. direct call connection using FXS or FXO interface (plar) :Example
Same as 7-3
blank
73
AddPac Technology
www.addpac.com
74
AddPac Technology
www.addpac.com
www.addpac.com
dial-peer voice 1000 voip destination-pattern ..T session target ras translate-outgoing called-number 0 dtmf-relay h245-alphanumeric ! ! Gateway configuration. ! gateway h323-id addpac gkip 80.80.80.1 1719 128 register ! ! Translation Rule configuration. ! translation-rule 0 rule 0 1 02 76 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
100
001. Internet
101
Requirement #100 phone users are restricted to using 700 service #101 phone users are allowed to using 700 service All user are restricted to dialing number starting with 001
77
AddPac Technology
www.addpac.com
7-6. Inhibit specific number outgoing call number translation application (2/4)
! version 5.67 ! ! ! interface ether0.0 ip address 10.10.10.10 255.255.255.0 ! interface ether1.0 no ip address ! snmp name AP2110 ! route 0.0.0.0 0.0.0.0 10.10.10.1 ! ! ! ! VoIP configuration.
AddPac Technology
! ! Voice service voip configuration. ! voice service voip fax protocol t38 redundancy 0 fax rate 14400 h323 call start fast security permit-FXO ! ! ! Voice port configuration. ! voice-port 0/0 translate-incoming called-number 0 ! voice-port 0/1 translate-incoming called-number 1 ! 78 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
7-6. Inhibit specific number outgoing call number translation application (3/4)
voice-port 0/2 ! voice-port 0/3 ! voice-port 1/0 ! voice-port 1/1 ! voice-port 1/2 ! voice-port 1/3 ! ! ! Pots peer configuration. ! dial-peer voice 0 pots destination-pattern 8221234567 port 0/0
AddPac Technology
! dial-peer voice 1 pots destination-pattern 8221234568 port 0/1 ! ! ! Voip peer configuration. ! dial-peer voice 1000 voip destination-pattern ..T session target ras dtmf-relay h245-alphanumeric ! dial-peer voice 2000 voip destination-pattern ### dtmf-relay h245-alphanumeric shutdown ! 79 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
7-6. Inhibit specific number outgoing call number translation application (4/4)
! ! Gateway configuration. ! gateway h323-id addpac-gw gkip 90.90.90.1 1719 128 register ! ! ! Translation Rule configuration. ! translation-rule 0 rule 0 rule 1 ! translation-rule 1 rule 0 ! 80
AddPac Technology
00[1-2] 700
### ###
00[1-2]
###
www.addpac.com
Internet 100
If VoIP Interface is available and VoIP call processing with Gatekeeper is normal, VoIP Service is possible via Internet. If VoIP Interface is down or call processing with Gatekeeper is abnormal, otherwise VoIP Service is impossible via Internet, VoIP Gateway provides PSTN connection service using PSTN backup Interface.
81
AddPac Technology
www.addpac.com
! ! Voice service voip configuration. ! voice service voip fax protocol t38 redundancy 0 fax rate 14400 h323 call start fast security permit-FXO ! ! ! Voice port configuration. ! voice-port 0/0 ! voice-port 0/1 ! voice-port 0/2 ! 82 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
dial-peer voice 5 pots destination-pattern 8221234568 port 1/1 ! dial-peer voice 10 pots destination-pattern ..T port 0/0 preference 1 ! dial-peer voice 11 pots destination-pattern ..T port 0/1 preference 2 Huntstop ! ! ! Voip peer configuration. ! 83 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
www.addpac.com
Internet
100 568-3848 568-3849 101
PSTN
Out-going call If VoIP Interface is available and VoIP call processing with Gatekeeper is normal, VoIP Service is possible via Internet. If VoIP Interface is down or call processing with Gatekeeper is abnormal, otherwise VoIP Service is impossible via Internet, VoIP Gateway provides PSTN connection service using PSTN backup Interface. For example, 100 Phone user can use the PSTN line number 568-3848, 101 Phone user can use the PSTN line number 568-3849. In-coming call From outside, if call to 568-3848, 100 Phone is ringing, if call to 568-3849, 101 Phone is ringing.
Requirement
85
AddPac Technology
www.addpac.com
www.addpac.com
www.addpac.com
blank
www.addpac.com
Trunk-initiate
Amplifier
Speaker Mic
89
AddPac Technology
www.addpac.com
router-B ! version 5.67 ! hostname router-B ! ! interface ether0.0 ip address 20.20.20.20 255.255.255.0 ! interface ether1.0 no ip address ! snmp name AP2110 ! route 0.0.0.0 0.0.0.0 20.20.20.1 ! ! 90 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
! VoIP configuration. ! ! Voice service voip configuration. ! voice service voip fax protocol t38 redundancy 0 fax rate 14400 h323 call start fast security permit-FXO ! ! ! Voice port configuration. ! voice-port 0/0 connection trunk-initiate 1000 ! voice-port 0/1 connection trunk-initiate 1001 91 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
voice-port 0/2 ! voice-port 0/3 ! voice-port 1/0 ! voice-port 1/1 ! voice-port 1/2 ! voice-port 1/3 ! ! ! Pots peer configuration. ! dial-peer voice 0 pots destination-pattern 2000 port 0/0 92 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
dial-peer voice 1 pots destination-pattern 2001 port 0/1 ! ! ! Voip peer configuration. ! dial-peer voice 1000 voip destination-pattern 100. session target 10.10.10.10 dtmf-relay h245-alphanumeric ! ! ! Gateway configuration. ! gateway h323-id voip.20.20.20.20 ! 100 93 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
7-10. Gatekeeper and internal direct call application number translation, plar (1/7)
AP2520-A Eth0.0 10.10.10.10 IP Network AP2520-B Eth0.0 20.20.20.20
VoIP Gateway Gatekeeper 80.80.80.1 PSTN Network 82-2-987-6543 200 82-2-987-6542 201
PBX
94
AddPac Technology
www.addpac.com
7-10. Gatekeeper and internal direct call application number translation, plar (2/7)
router-A ! version 5.67 ! hostname router-A ! ! interface ether0.0 ip address 10.10.10.10 255.255.255.0 ! interface ether1.0 no ip address ! snmp name AP2520 ! route 0.0.0.0 0.0.0.0 10.10.10.1 ! !
AddPac Technology
router-B ! version 5.67 ! hostname router-B ! ! interface ether0.0 ip address 20.20.20.20 255.255.255.0 ! interface ether1.0 no ip address ! snmp name AP2520 ! route 0.0.0.0 0.0.0.0 20.20.20.1 ! ! www.addpac.com 95
May. 2002, VoIP Network Product Training R1.0
7-10. Gatekeeper and internal direct call application number translation, plar (3/7)
! VoIP configuration. ! ! ! Voice service voip configuration. ! voice service voip fax protocol t38 redundancy 0 fax rate 14400 h323 call start fast security permit-FXO ! ! ! Voice port configuration. ! voice-port 0/0 ! voice-port 0/1 !
AddPac Technology
! VoIP configuration. ! ! ! Voice service voip configuration. ! voice service voip fax protocol t38 redundancy 0 fax rate 14400 h323 call start fast security permit-FXO ! ! ! Voice port configuration. ! voice-port 0/0 ! voice-port 0/1 ! 96 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
7-10. Gatekeeper and Internal direct call application number translation, plar (4/7)
voice-port 0/3 ! voice-port 1/0 connection plar 111200 ! voice-port 1/1 connection plar 111201 ! voice-port 1/2 ! voice-port 1/3 ! ! ! Pots peer configuration. ! dial-peer voice 0 pots destination-pattern 8221234567 port 0/0
AddPac Technology
voice-port 0/3 ! voice-port 1/0 translate-incoming called-number 0 ! voice-port 1/1 translate-incoming called-number 1 ! voice-port 1/2 ! voice-port 1/3 ! ! ! Pots peer configuration. ! dial-peer voice 0 pots destination-pattern 8229876543 port 0/0 97 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
7-10. Gatekeeper and Internal direct call application number translation, plar (5/7)
dial-peer voice 1 pots destination-pattern 8221234568 port 0/1 ! dial-peer voice 4 pots destination-pattern 000200 port 1/0 ! dial-peer voice 5 pots destination-pattern 000201 port 1/1 ! ! ! Voip peer configuration. ! dial-peer voice 1000 voip destination-pattern ..T session target ras
AddPac Technology
dial-peer voice 1 pots destination-pattern 8229876542 port 0/1 ! dial-peer voice 4 pots destination-pattern 111200 port 1/0 ! dial-peer voice 5 pots destination-pattern 111201 port 1/1 ! ! ! Voip peer configuration. ! dial-peer voice 1000 voip destination-pattern ..T session target ras 98 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
7-10. Gatekeeper and Internal direct call application number translation, plar (6/7)
dtmf-relay h245-alphanumeric ! dial-peer voice 1001 voip destination-pattern 111... session target 20.20.20.1 dtmf-relay h245-alphanumeric ! ! ! ! ! ! Gateway configuration. ! gateway h323-id addpac-gw1 gkip 80.80.80.1 1719 128 register !
AddPac Technology
dtmf-relay h245-alphanumeric ! dial-peer voice 1001 voip destination-pattern 000... session target 10.10.10.10 dtmf-relay h245-alphanumeric ! ! ! ! ! ! Gateway configuration. ! gateway h323-id addpac-gw2 gkip 80.80.80.1 1719 128 register ! 99 www.addpac.com
May. 2002, VoIP Network Product Training R1.0
7-10. Gatekeeper and Internal direct call application number translation, plar (7/7)
! ! Clear down tone ! ! voip-interface ether0.0 ! ! translation-rule 1 rule 0 rule 1 ! ! ! ! Clear down tone ! voip-interface ether0.0 ! 100
AddPac Technology
... 9
000201%01%02%03 0002019
www.addpac.com