Transcript Slide 1

United Networking
VoIP H323
VoIP H323 basics , Fax management / H323, statistics
v1.0 2008
www.oneaccess-net.com
[email protected]
17 July, 2015
Copyright © OneAccess Networks – All rights reserved
VoIP
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

VoIP Typical Architecture
Media
Gateway
PSTN
SS7/ISUP
H.323
Voice
Gateway
ONE 400
ISDN T0/T2
IP
Softswitch
Gatekeeper
H.323
Voice
Gateway
ONE 200
ISDN S0 or FXS
2
VoIP Basics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g



H.323 v4
H.323 Annex D for FAX (T38)
H.225: Call signalling channel



RTP/RTCP:


Q931: Call signalling
RAS: Registration, Admission, Status (with gatekeeper)
media streams packetization and synchronisation
H.245: Call control channel
(capabilities, master/slave, logical channels)

G.7XX: audio compression algorithms
3
VoIP Basics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

H.323 Protocol Architecture
Q.931
Terminal Control and Management
AV App
Data App
Conference Manager
G.7XX
Terminal to
Gatekeeper
H.26X
Signaling
RTP
RTCP
T.125
H.225.0
Call
Signaling
H.245
T.124
(RAS)
TPKT
T.123
Unreliable Transport (UDP)
Reliable Transport (TCP)
Network Layer (IP)
Link Layer
Physical Layer
4
VoIP Basics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

H.323 Protocol Overview
Registration
Admission
SETUP
H.323
Terminal
Registration
Gatekeeper
RAS
(UDP)
H.323
Terminal
SETUP
CONNECT
CONNECT
Q.931
(TCP)
(H245 Address)
H.245 Messages
Open Logical Channels
(RTCP address)
H.245
(TCP)
(RTCP & RTP addresses)
(RTCP address)
(RTCP & RTP addresses)
RTP stream
RTP stream
RTCP stream
Media
(UDP)
5
VoIP Interoperability
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

ONEx00 (Voice gateway) interworking with:
 IP phones
 Softphone on PC (Netmeeting, Openphone,…)
 Interactive Voice Response server (IVR)
 Multi Conference Unit (MCU)
 Gatekeeper / Softswitch
 Nortel CS2K, Cirpack, Italtel, Sonus,
Netcentrex,…

Media Gateway
6
VoIP: Support of H323 Gatekeepers
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Use of a gatekeeper: parameters for registration
 Gatekeeper identifier
 Gatekeeper IP address
 H.323 identifier (alias)
 Gateway prefix

Alternate gatekeepers for backup
 Pre-defined list (static mode)
 List defined by the gatekeeper (dynamic mode)
7
VoIP: Dialing Modes
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Dialling: In-bloc
ISDN terminal
ONE200/400
Gatekeeper
Remote End
SETUP
SETUP ACK
INFO Digit 3
INFO Digit 0
INFO Digit 2
CALL PROCEEDING
ARQ N° 302
SETUP N° 302
ALERT
CONNECT
ACF
SETUP N° 302
ALERT
CONNECT
SETUP ACK
CALL PROCEEDING
ALERT
CONNECT
8
VoIP: Dialing modes
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Dialing: Overlap
ISDN terminal
ONE200/400
Gatekeeper
Remote End
SETUP
SETUP ACK
INFO Digit 3
INFO Digit 0
INFO Digit 2
ARQ N° 302
ACF
SETUP N° 302
INFO Digit 1
INFO Digit 7
INFO Digit 9
INFO Digit 1
INFO Digit 7
INFO Digit 9
CALL PROCEED.
ALERT
CONNECT
SETUP N° 302
SETUP ACK
INFO Digit 1
INFO Digit 7
INFO Digit 9
CALL PROCEED.
ALERT
CONNECT
CALL PROCEEDING
ALERT
CONNECT
9
VoIP: FAX/Modem processing
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Fax / Modem processing
 Three types of devices are supported:





G3 FAX (up to V17 – 14400 bps)
Super G3 FAX (V34): processed as a Modem
Modem (up to V90)
The ONE200/400 detects the type of communication:
voice, G3 FAX, Modem/SG3 Fax , (analysis of the FAX
answer tone)
Requirements:


For Modem / SG3 FAX, the coder must be G.711 and the echo
canceller must be disabled , SG3toG3 facility is also available to
force the SG3 FAX in G3 mode
For G3 FAX: the Non Linear Processor is disabled. Transport in
G.711 coding mode or FAX Relay T38
10
VoIP: FAX/Modem Processing
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

In-band processing
The coder used is G.711 Selected for all the calls or for specific
subscriber numbers only (routing table)
 Echo canceller automatically disabled in case of Modem
 NLP automatically disabled in case of G3 Fax


FAX / Modem pass-through
Direct switchover to G.711 coder upon fax and/or modem detection
(called side only). ( oneway G729 to G711 fallback) or H245 request
mode or TCS null or NSE RTP packets (Cisco)
 Echo canceller automatically disabled in case of Modem
 NLP automatically disabled in case of G3 Fax


FAX Relay T38
V27 ter (4800 bps) and V29 (9600 bps)
 T.30 messages analysis
 Transparent transport for data (UDP) with optional redundancy
 SG3toG3 fallback / allows to use same bandwidth for G3 and SG3
FAX

11
VoIP: DTMF Processing
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

DTMF processing

Transparent mode


In band transmission (RTP frames carrying the DTMF tone
indication instead of voice)


If G.711 coder used (Voice is not compressed, DTMF signal is
transported as a voice signal)
RFC2833 ( dedicated RTP packets with specific packet type )
H.245




Use of H.245 message ( out of band transmission )
Alphanumeric format : DTMF code. Configurable level & duration
Signal format : DTMF code + duration & level are transmitted
Detection, Suppression, Regeneration
12
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Configuration diagram (1)
H.323 Gateway
Voice-port
Physical Port
Voice Routing
Dial-peer
Voice POTS
Dial-peer
Voice Voip
Interface BRI/PRI
VoIP coder
profile
13
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Configuration diagram (2)







1 - Physical voice ports
2 - Interface if BRI or PRI
3 - Dial-peer voice POTS
4 - Dial-peer voip
5 - VoiP coder profile
6 - Voice routing
7 - H323-gateway
14
Voice Port Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

1 - Physical voice ports (1/3)

BRI (2 or 4 or 8 ports) or FXS (4 or 8 ports)
CLI# configure terminal
CLI(configure)# voice-port 5/0
CLI(voice-port)# exit
CLI(configure)# voice-port 5/1
CLI(voice-port)# exit
. . .
CLI(configure)# voice-port 5/7
CLI(voice-port)# exit

PRI
one200>conf t
one200(configure)>voice-port 5/0
one200(voice-port)>exit
15
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

1 - Physical voice ports (2/3)
one200(voice-port)> ?
analog-aoc-type
aoc-d-service
aoc-e-service
call-hold
call-waiting
caller-id
cas-conf
clock-source
coder-law
dialing-timer
echo-cancellation
echo-cancellation-le
echo-disable
end-of-dialing-timer
exit
force-clir
initial-ring
...
-
-
Analog AOC type (FXS port only)
method for AOC-D behaviour
method for AOC-E behaviour
Set VOIP call hold
Set VOIP call waiting
Set VOIP caller id
Configuration of cas signal analysis
Synchro source options (global over voice ports)
Set coder law
Set maximum time-out for receiving 1st digit (in sec)
Set echo cancellation
Set echo-cancellation-length
For echo cancellation
Modem:remove echo on 2100Hz phase reversal detection
Voicemodem: modem + reactivate echo
when voice is back again
Digit timeout (in sec) to consider a call as complete
Exit intermediate mode
Set caller line identity request
Initial ring tone in ms for caller-id
16
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

1 - Physical voice ports (3/3)
...
input-gain
inter-digit
isdn-release-tone
isdn-ringback-tone
max-ringing
metering
no
output-gain
power-source-one
pulse-dial
ring
shutdown
sig-conf
signal-analysis
sntp-time
tone
tone-level
user-metering
user-ring
user-tone
without-loss-signal
<cr>
-
Set input gain
Set VOIP DTMF inter-digit duration (in sec)
set isdn-release-tone localy and force PI
set isdn-ringback-tone localy and force PI
Maximum time for ringing before off_hook detection
metering choice
no
Set output gain
Set Power source 1 for all BRI voice-ports
Select country to validate pulse dial
Select country to define current ring
Shutdown for voice-port
Configuration of signal analysis
Set signal transparency
SNTP date/time inserted when ie is absent
Select a country to validate tone
Set level tone
User metering pulse profile
Modify the userdefined ring
Select the type of userdefined tone to modify:
dial, network-failure, congestion, busy, callback
- Set without loss signal
17
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

2 - Interfaces (1/4)
 FXS: No configuration
 BRI
one200(configure)>interface bri 5/0
one200(config-if)> ?
exit
- exit
isdn
- Set isdn level
no
- no
shutdown
- shutdown

PRI
one200(configure)>interface pri 5/0
one200(config-if)> ?
exit
- Exit intermediate mode
framing
- Set type of frames
isdn
- Set isdn level
linecode
- Select line physical code
no
- no
physical-interface
- Select the type of interface : E1 or T1
shutdown
- Shutdown for the PRI interface
18
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

2 - Interfaces (2/4)
 BRI
one200(isdn)> ?
application-interfac
exit
facility
k-window
layer1-emulation
layer2-emulation
life-line-hold
max
modulo-window
n200-counter
n202-counter
no
operator
protocol-emulation
static-tei
t200-timer
...
t310-timer
tei-negotiation
<cr>
one200(isdn)>
-
Set the application interface name
Exit to root node
facility message is transmit
Set the value of k window
Set the layer 1 emulation type
Set the layer 2 emulation type
Life line hold for line 0 on ISDN Voice Board
max
Set the modulo window value
Set the value of N200 counter
Set the value of N202 counter
no
Set the operator name
Set the type of protocol emulation
Set the value of static tei
Set the value of T200 timer
- Set the value of T310 timer --> can be set to 100 for GSM calls
- Set the tei negociation mode
19
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

2 - Interfaces (3/4)
 BRI: Example with ISDN phone
one200(configure)>interface bri 5/0
one200(conf-if)> isdn
one200(isdn)> protocol-emulation isdn-nt
one200(isdn)> exit
one200(conf-if)> no shutdown
one200(conf-if)> execute
one200(conf-if)> exit

BRI: Example with PBX
one200(configure)> interface bri 5/0
one200(conf-if)> isdn
one200(isdn)> tei-negotiation static
one200(isdn)> protocol-emulation isdn-nt
one200(isdn)> exit
one200(conf-if)> no shutdown
one200(conf-if)> execute
one200(conf-if)> exit
20
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

2 - Interfaces (4/4)
 PRI
one200(isdn)> ?
application-interfac
exit
facility
k-window
layer2-emulation
max
n200-counter
no
operator
protocol-emulation
t200-timer
t203-timer
t301-timer
t302-timer
t303-timer
t304-timer
t305-timer
t306-timer
t308-timer
t309-timer
t310-timer
t313-timer
-
Set the
Exit to
message
Set the
Set the
max
Set the
no
Set the
Set the
Set the
Set the
Set the
Set the
Set the
Set the
Set the
Set the
Set the
Set the
Set the
Set the
application interface name
root node
facility is transmit
value of k window
layer 2 emulation type
value of N200 counter
operator name
type of protocol emulation
value of T200 timer
value of T203 timer
value of T301 timer
value of T302 timer
value of T303 timer
value of T304 timer
value of T305 timer
value of T306 timer
value of T308 timer
value of T309 timer
value of T310 timer
value of T313 timer
21
Logical Local Voice Port
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

3 - Internal Local Voice Port (POTS)
CLI(configure)# dial-peer voice pots <id>
CLI(pots)# pots-group <port>
CLI(pots)# port 5/<port>
CLI(pots)# no shutdown
CLI(pots)# exit
One Dial-peer voice POTS must be configured for each
physical voice port.
It binds a physical port to a pots-group. Several physical ports
can be bound to the same pots-group.
Calls are then routed to pots-group.
22
Logical Local Voice Port
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g
- For an outgoing Voip call, user part of From header field is
based on 6C IE (calling party number) for BRI interface.
For FXS port, that information must be added at the dialpeer voice pots adding “insert-calling-number”.
That will be used also for 40x challenge on Invite method (to
resolve user and its digest username and password.
CLI(configure)# dial-peer voice pots <id>
CLI(pots)# pots-group <id>
CLI(pots)# port 5/<port>
CLI(pots)# insert-calling-number <E164 number>
CLI(pots)# no shutdown
CLI(pots)# exit
23
Logical Local Voice Port
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

3 – Local Voice Port optional parameters
one200(configure)> dial-peer voice pots 0
one200(pots)> ?
bearer-cap
- Payload category
direct-call
- Set direct call number
exit
- Exit intermediate mode
implicit-routing
- Sets implicit routing to specified
pots group or voip dial peer
insert-calling-numbe - Set VOIP insert calling number
no
- no
port
- Links local suscriber and voice port
pots-group
- Set VOIP pots group
priority
- Set priority
service
- to provide a service by the voice pots.
shutdown
- Shutdown for dial peer POTS
suppress-calling-num - Set VOIP suppresion of the calling number
<cr>
one200(pots)>
24
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

4 - Dial-peer VoIP (1/2)
one200(configure)> dial-peer voice voip 0
one200(voip)> ?
aoc-format
- Set VOIP remote AOC coding format
call-media-independa - Set VOIP call media independant
dtmf-relay
- Set VOIP dtmf relay
exit
- Exit from command node
fast-connect
- Set VOIP fast connect
fax-relay
- Set VOIP fax relay
force-rec-inband
- Force reception of inband in Alert
gatekeeper
- Set VOIP gatekeeper
gw-ip-address
- Set VOIP gateway
h245-tunnel
- Set VOIP H245 tunnel
implicit-routing
- Set implicit routing
jitter
- Set VOIP jitter
jitter-compensation - Set VOIP jitter comp
max-conn
- Set VOIP maximum call allowed
modem-passthrough
- Set VOIP modem passthrough
NdiInsourceAddress
- Force NDI in H323 sourceAddress
no
- no
shutdown
- Shutdown voip dial peer
silence-detection
- Set VOIP silence detection
t38-redundancy
- Set VOIP T38 redundancy
voip-coder-profile
- Set VOIP coder profile
25
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

4 - Dial-peer VoIP (2/2)
one200(configure)>dial-peer voice voip 0
one200(voip)>fast-connect
one200(voip)>gatekeeper mandatory
one200(voip)>voip-coder-profile 0
one200(voip)>no shutdown
one200(voip)>exit
26
Codec Profiles 1/2
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

5 - The following coders are supported:

G.711 A law (64Kbps)

G.711 law (64Kbps)

G.729A (8 Kbps, no silence suppression)

G.729AB (8 kbps, optional silence suppression)
CLI(configure)# voip-coder-profile 0
CLI(voip-coder)# codec ?
<pref-index> - Codec preference index: 0..8
CLI(voip-coder)# codec 0 ?
<coder>
- Coder type: g729ab | g711a | g711u
CLI(voip-coder)# codec 0 g729ab ?
<timestamp>
- Timestamp value: 10..90 depending on the coder
<cr>
one200(voip-coder)# codec 0 g729ab 30
one200(voip-coder)# codec 1 g711a 20
one200(voip-coder)# exit
27
Codec Profiles 2/2
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g
one200>show running
...
voip-coder-profile 0
codec 0 g729ab 30
codec 1 g711a 20
exit
voip-coder-profile 1
codec 0 g711a 20
exit
28
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

6 - VoIP Routing table (1/10)
one200(configure)>voice-routing
one200(voice-route)> ?
display-routes
- Show voice routing table
exit
- Exit from command node
insert
- Insert VOIP voice route
move
- Move VOIP voice route
no
- no
route
- Set VOIP voice route
test-route
- Test voice routing table
<cr>
one200(voice-route)>
29
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

6 - VoIP Routing table (2/10)
one200(voice-route)>route 1
one200(conf-voice-route)> ?
dial-peer
- Set route dial peer
exit
- Exit from command node
force-bearer-cap
- Set force bearer capability fields
force-clir
- Set caller line identity request
force-numplan
- Set origin/destination numplan
insert-calling
- Set route calling insertion
insert-prefix
- Set route prefix insertion
insert-suffix
- Set route suffix insertion
no
- no
prefix
- Set route prefix(prefix [number-type][length][timer]
[overlap])
prefix-type
- Set route direction and type of call
startup-file
- Set restart equipment with the file name.
suppress-prefix
- Set route prefix suppression
translate
- Set route number translate
wildcard
- Set wildcard value for prefix
<cr>
30
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

6 - VoIP Routing table (3/10)
one200(configure)>voice-routing
one200(voice-route)>route 1
one200(conf-voice-route)>dial-peer pots-group 0 alias
one200(conf-voice-route)>prefix-type outgoing called last
one200(conf-voice-route)>prefix 110 length 3
one200(conf-voice-route)>exit
one200(voice-route)>route 2
one200(conf-voice-route)>dial-peer voip 0
one200(conf-voice-route)>prefix-type outgoing called last
one200(conf-voice-route)>prefix 11X length 3
one200(conf-voice-route)>exit
one200(voice-route)>exit
one200(configure)>exit
one200(voice-route)>display-routes
1 - 110 all length 3 / pots 0 / outgoing
2 – 11X all length 3 / voip 0 / outgoing
one200(voice-route)>
- called
- called
- last
- last
31
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

6 - VoIP Routing table (4/10)
one200>show running-config
...
voice-routing
route 1
dial-peer pots-group 0
prefix 110 length 3
prefix-type outgoing called last
exit
route 2
dial-peer voip 0
prefix 11X length 3
prefix-type outgoing called last
exit
exit
...
32
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

6 - VoIP Routing table (5/10)
1234
Pots-group 0
12011234
VoIP 0
route 1
dial-peer pots-group 0
prefix 120A. length 4
suppress-prefix 4 called
wildcard A 0123
exit
33
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

6 - VoIP Routing table (6/10)
Pots-group 0
VoIP 1
Incoming
Table
986902739
VoIP 2
Pots-group 4
986911111
route 14
dial-peer voip 1
prefix 986902739 length 9
prefix-type incoming called
exit
route 15
dial-peer voip 2
prefix . length 0
prefix-type incoming called
exit
34
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

6 - VoIP Routing table (7/10)
ing : 019869027391111
ed : 12345678
ing : 019869027352222
ed : 12345678
Incoming
Table
ing : 986902739
ed : 120012345678
Outgoing
Table
ing : 986902735
ed : 12345678
Pots-group 0
35
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

6 - VoIP Routing table (8/10)
route 2
dial-peer pots-group 0
translate .98690273A. 98690273A calling
prefix . length 0
prefix-type incoming calling next
exit
route 3
dial-peer pots-group 0 alias
insert-prefix 1200 called
prefix 986902739 length 9
prefix-type incoming calling
exit
alias added to register the number 1200 in the RAS
36
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

6 - VoIP Routing table (9/10)
ing : 986902739
ed : 120012345678
ing : 019869027391111
ed : 12345678
Incoming
Table
ing : 986902739
ed : 120012345678
Outgoing
Table
Voip 1
ing : 019869027352222
ed : 12345678
ing : 986902735
ed : 12345678
Voip 0
Pots-group 0
ing : 986902735
ed : 12345678
37
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

6 - VoIP Routing table (10/10)
route 4
dial-peer voip 1
prefix 1200. length 4
prefix-type outgoing called last
exit
route 5
dial-peer voip 0
prefix . length 0
prefix-type outgoing called last
exit
38
Voice routing table testing
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g
One_Training(voice-route)>display-route
1 - . all length 10 / pots 0 / incoming - called - last
/ +prefix-calling 0
10 - . all timer / voip 0 / outgoing - called - last
20 - . all length 9 / pots 0 / outgoing - called - last
/ -prefix-called 1
One_Training(voice-route)>
One_Training> configure terminal
One_Training(configure)>voice-routing
One_Training(voice-route)>test-route 0141877422 260402020 from-voip 0
--> test_route : Calling=0141877422 Called=260402020
Route match : Calling=0141877422 Called=60402020
Incoming Routes =
Outgoing Routes = 20,
Incoming call from voip id:0 Send towards Isdn on local port: 5/0
One_Training(voice-route)>
One_Training(voice-route)>
One_Training(voice-route)>test-route 260402020 0141877422 from-pots 0
--> test_route : Calling=260402020 Called=0141877422
Route match : Calling=0260402020 Called=0141877422
Incoming Routes = 1,
Outgoing Routes = 10,
Outgoing call from local port: 5/0 -> Send towards H323 on voip id:0
One_Training(voice-route)>
39
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

7 - H.323 Gateway (1/6)
 Global parameters for H.323 gateway (gatekeeper, RTP
ports, timeouts,…)

Must be shutdown to modify parameters
one200(configure)>h323-gateway
one200(h323gw)>
40
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

7 - H.323 Gateway (2/6)
one200(h323gw)> ?
alt-gatekeeper
- Set H323 gateway - alternative gatekeeper
altgk-list
- Set H323 gateway - alternative gatekeeper list
altgk-mode
- Set H323 gateway - alternate gatekeeper mode
altgk-timeout
- The timeout, in seconds, to check Primary gatekeeper
status when registered to an alternate gatekeeper.
bandwidth-control
- Set H323 gateway - bandwidth control
call-test
- Set H323 gateway - set call testing when gateway is ready.
callsig-port
- Set H323 gateway - H225/Q931 listening TCP port
email-id
- Set H323 email identifier for the gateway
exit
- Exit from command node
gatekeeper
- Set H323 gateway - main gatekeeper parameters
gw-address
- Set H323 gateway - gateway address mode
gw-interface
- Output Interface category for H323 GW - default
fastethernet 0
gw-interface-bw-ctrl - Set H323 gateway - gw interface bandwidth control
gw-prefix
- Set H323 gateway – prefix
h235-authentication - Set H235 authentication
h245-response-timeou - Set H323 gateway - timeout used for H245 protocol
41
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

7 - H.323 Gateway (3/6)
h323-id
- Set H323 identifier for the gateway
max-bandwidth
- Set H323 gateway - maximum bandwidth allowed
no
- no
payload-64k-unrestricted - Set H323 gateway - payload for 64k unrestricted
polling
- Set H323 gateway
q931-connection-timeout - Set H323 gateway (timeout for receiving CONNECT
message)
q931-response-timeout
- Set H323 gateway (timeout for the response to a
SETUP message)
ras-bandwidth-control - Set H323 gateway - bandwith control by gatekeeper
ras-full-rrq
- Set H323 gateway - timeout used to send ras full
registration
ras-intrusive-voiceport - Set H323 gateway - register/unregister on voiceport condition
ras-keepalive-timeout - Set H323 gateway - keepalive timeout used for RAS
ras-max-retries
- Set H323 gateway - max retries for RAS protocol
ras-multicast
- Set H323 gateway (multicast address and port for
gatekeeper discover)
ras-port
- Set H323 gateway - UDP port used for RAS protocol
42
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

7 - H.323 Gateway (4/6)
ras-response-timeout - Set H323 gateway - timeout used for RAS protocol
ras-timetolive
- Set H323 gateway - timetolive used for RAS protocol
register
- Register gateway
resource
- Set H323 gateway - Set h323 resource parameters
rtp-dscp
RTP packet)
- Set H323 gateway (DSCP field value for transmitted
rtp-port-range
- Set H323 gateway - UDP port range used for RTP
rtp-uplink-analysis
- Enable or disable the rtp jitter analysis
set-portability
- Set H323 portability
shutdown
- shutdown
sig-dscp
- Set H323 gateway (DSCP field value for transmitted
signalling packet)
snmp-sysdescr-hw-ident - add hw ident to sysdescr
43
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

7 - H.323 Gateway (5/6)
...
start-h245-discarded - Set H323 gateway - facility start h245 is discarded
tcp-keepalive
- Set H323 gateway - tcp keepalive option (default)
unregister
- Unregister gateway
<cr>
44
VoIP Configuration
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

7 - H.323 Gateway (6/6)
one200(config)>
one200(h323gw)>
one200(h323gw)>
one200(h323gw)>
one200(h323gw)>
one200(h323gw)>
h323-gateway
gw-interface fastethernet 0/0
gatekeeper id training address 192.168.1.1
h323-id GW1
max-bandwidth 600000
no shutdown
45
VoIP Statistics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

BRI statistics
CLI# show voice voice-port bri index 0
voice port
protocol descriptor
current state
config state
layer 1 status
attached vmoabri dial peer
number of voice communication
bri Tx frames on D channel
bri Rx frames on D channel
5/0
BRI_NT
activated
up
activated
0
0
40
41
Outgoing calls
Outgoing calls failures
Physical Interface down
Cause Class 0 (normal event)
Cause Class 1 (normal event)
Normal Cause (16)
: 2
User busy (17)
: 3
No answer (18)
: 0
Cause Class 2 (unavailable ressources)
Cause Class 3 (unavailable service)
Cause Class 4 (service not provided)
Cause Class 5 (invalid message)
Cause Class 6 (protocol error)
Cause Class 7 (interworking)
:
:
:
:
:
102
5
0
0
5
:
:
:
:
:
:
0
0
0
0
0
0
Incoming calls
Incoming calls failures
Remote failure
Unknown number
DSP unavailable
Not specified
:
:
:
:
:
:
54
7
0
5
0
2
46
VoIP Statistics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

PRI statistics
CLI# show voice voice-port pri index 0
voice port
physical type
protocol descriptor
current state
config state
layer 1 status
number of voice communications
pri AIS occurence
pri RDI occurence
5/0
E1
E1_PRI
activated
up
deactivated
0
0
0
Outgoing calls
Outgoing calls failures
Physical Interface down
Cause Class 0 (normal event)
Cause Class 1 (normal event)
Normal Cause (16)
: 0
User busy (17)
: 3
No answer (18)
: 0
Cause Class 2 (unavailable ressources)
Cause Class 3 (unavailable service)
Cause Class 4 (service not provided)
Cause Class 5 (invalid message)
Cause Class 6 (protocol error)
Cause Class 7 (interworking)
:
:
:
:
:
67
3
0
0
3
:
:
:
:
:
:
0
0
0
0
0
0
Incoming calls
Incoming calls failures
Remote failure
Unknown number
DSP unavailable
Not specified
:
:
:
:
:
:
23
2
2
0
0
0
47
VoIP Statistics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

FXS statistics
CLI# show voice voice-port fxs index 0
voice port
current state
config state
attached vmoa fxs dial peer
voice communication
Outgoing calls
Outgoing calls failures
User busy
No answer
Incoming calls
Incoming calls failures
Remote failure
Unknown number
DSP unavailable
Not specified
5/0
on hook
up
0
no
:
:
:
:
:
:
:
:
:
:
32
3
2
1
6
0
0
0
0
0
48
VoIP Statistics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Dial-peer VoIP Statistics (1)
one200> show voice dial-peer voice voip type index <port id> [reset]
or
one200> show voice dial-peer voice voip type global[reset]
type may be :
-current : statistics on current calls
-outgoing : outgoing calls only
-incoming : incoming calls only
-user-plan : voice & fax only
-all (default) : all the statistics are provided
49
VoIP Statistics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Dial-peer VoIP Statistics (2): Outgoing Calls
Dial Peer
Current Calls
Outgoing Calls
Outgoing calls failures
RAS Call Failures
Gatekeeper Unavailable
Admission Rejects
H225/Q931 Call failures
Cause Class 0 (normal event)
Cause Class 1 (normal event)
Normal Cause (16)
User busy (17)
No answer (18)
Cause Class 2 (unavailable ressources)
Cause Class 3 (unavailable service)
Cause Class 4 (service not provided)
Cause Class 5 (invalid message)
Cause Class 6 (protocol error)
Cause Class 7 (interworking)
H245 Call failures
Incompatible capabilities
Protocol errors
Internal call failures
DSP unavailable
Max-bandwidth exceeded
Max-connection exceeded
Not specified
1
0
4
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
50
VoIP Statistics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Dial-peer VoIP Statistics (3): Incoming Calls
Incoming calls
Incoming calls failures
RAS Call failures
Gatekeeper Unavailable
Admission Rejects
Local Port Call failures
H245 Call failures
Incompatible capabilities
Protocol errors
Internal call failures
DSP unavailable
Unknown number
Channel / port unavailable
Max-bandwidth exceeded
Max-connection exceeded
Not specified
3
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
51
VoIP Statistics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Dial-peer VoIP Statistics (4): Voice and Fax
RTP statistics
Number of transmitted packets
Number of received packets
Number of transmitted bytes
Number of received bytes
Number of excessive jitter events
Number of lost packets
Number of invalid packets
Number of calls with frame error rate
total
<0.01<0.1<0.5<1<5>=5
3
0
0
2
1
Modem passthrough
Number of switching to modem mode
T38 FAX Calls
Number of outgoing fax
Number of incoming fax
Number of failures
Request Mode failure
Pre-message procedure failure
Page failure
Number of transmitted packets
Number of received packets
Number of transmitted bytes
Number of received bytes
Number of lost packets
1237
1234
101484
101098
3
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
52
VoIP Statistics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

H.323 Gateway Statistics
CLI# show voice h323-gateway
Registration state
Gatekeeper identifier
Gatekeeper address
Registration requests
Registration failures
No response
Invalid IP address
Duplicate alias
Invalid terminal type
Ressource unavailable
Invalid alias
Security denial
Undefined reason
Admission requests
Admission rejects
Called party not registered
Invalid permission
Request denied
Caller not registered
Resource unavailable
Security denial
Invalid Endpoint Ident.
Incomplete address
Not specified
Undefined reason
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
registered
training
192.168.1.1
67
1
1
0
0
0
0
0
0
0
1345
4
4
0
0
0
0
0
0
0
0
0
53
VoIP Statistics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Events
vxTarget>event
filter
manager
no
recover
vxTarget>event
add
remove
vxTarget>event
ALL
GEN
VOATM
VOIP
vxTarget>event
<subfam>
<fam2>
vxTarget>event
-
Add/remove events filters
Add a SNMP manager
No
Recover events from memory
filter
- Add an event filter
- Remove a events filter from the table
filter add vox
- All families from vox group
- GEN
- VOATM
- VOIP
filter add vox voip
- <ALL | ControlPlan | UserPlan>
- <GEN | VOATM>
filter add vox voip all show
54
VoIP Statistics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Voice call history, active calls

Gives statistics on the current voice calls and the last 100 calls
vxTarget>show voice voip-call any ind 1
1 - Call from remote voip: 0, to local port: 5/1 call-id: 4 active
calling : 110, called : 111
setup time: 01/02/00 04h58m31s
01/02/00 04h58m31s
RTP Source ip :192.168.1.110 rtp:16384 /Dest ip :192.168.1.111 rtp:16386 (active)
Play time (voice) : 00h00m39s
Tx Coder : G729 / 20 ms ; Rx Coder : G729
RTP Packets RX / TX : 1988 / 1989
RTP Packet lost&discarded RX / TX (RTCP reported) : 0 / 395307
Number of Excessive Jitter events : 3
55
VoIP Statistics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

RTP sessions history

Gives complete statistics about the 200 last RTP sessions
CLI> show voice rtpcall full any ind 2
2 - 01/04/01 00h47m24s RTP 192.168.1.1:16384 – 192.168.1.111:16386
Play time (voice) : 00h00m46s
Tx Coder : G729 / 20 ms ; Rx Coder : G729
VAD enabled local / remote : no / no
ERL
ACOM
: 15 dB
: 32 dB
RTP Packets received (DSP / Uplink) : 2337 / 2337
lost : 0
out of sequence : 0
invalid : 0
RTP Packets transmitted (DSP / Uplink) : 2338 / 2338
lost (RTCP reported) : 0
Jitter parameter : 100 ms
Number of Excessive Jitter events : 1
56
VoIP Statistics
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

RTP sessions history (continue)
Excessive Jitter events :
2|
1| *
---------------------------------------0 30"
1'
2'
4'
8' 12' >16'
Jitter received (uplink) :
Max delay : 93 ms
Delays (ms)
>50 >100 >150
Nb of occur.
2
0
0
Interarrival max jitter : 9 ms
Jitter received (DSP) :
Max delay : 93 ms
Delays (ms)
>50 >100 >150
Nb of occur.
2
0
0
Interarrival max jitter : 9 ms
>200
0
>300
0
>200
0
>300
0
>200
0
>300
0
Frames with a delay >50 ms :
2|
1| *
*
---------------------------------------0 30"
1'
2'
4'
8' 12' >16'
Jitter transmitted (uplink) :
Max delay : 6 ms
Delays (ms)
>50 >100 >150
Nb of occur.
0
0
0
Interarrival max jitter : 1 ms
(RTCP reported) : 2 ms
57
VoIP: Internal Call Generator
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g



Possibility to generate and / or terminate one or several VoIP calls
Two services: RTP loopback or BERT testing
Use of virtual and routable dial-peer pots
dial-peer voice pots 4
service bert2047 both 3
pots-group 0
exit
voip-call 1
pots 4
called 0198723000
calling 3000
bearer data
duration 180
timeout 10
exit
One200> start identifier 1
58
VoIP: ISDN capture
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Possibility to capture the signalling traffic over
ISDN BRI & PRI interfaces: layer 1 to 3

For VoIP side: use of the IP capture possibilities
CLI>conf t
CLI>logging buffered debug
CLI>exit
CLI>debug isdn all layer 1to3
00:07:21.271
00:07:21.271
00:07:21.271
00:07:21.271
00:07:21.271
00:07:21.272
00:07:21.343
00:07:21.343
00:07:21.343
00:07:21.343
00:07:21.343
00:07:21.343
line:5/0 L1 frame sent.
line:5/0 L2 tx UI P/F=0 NR=4 NS=2 C/R=1.
hex: 02 ff 03
line:5/0 L3 tx SETUP callref:8.
hex1: 08 01 08 05 04 03 80 90 a3 18 01 89 70 04 a1 31
hex2: 31 31 a1
line:5/0 L1 frame received.
line:5/0 L2 rx SABME P/F=1 C/R=0.
hex: 00 01 7f
line:5/0 L1 frame sent.
line:5/0 L2 tx UA P/F=1 NR=4 NS=2 C/R=0.
hex: 00 01 73
59
VoIP debug
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

VoIP H323 signaling messages can be displayed for
debug.
One_training>debug h323
One_training>
One_training>00:06:10.516 H.323 rx TCP-H.225 Msg=Setup IP=86.43.21.7:1882 callref=9203.
00:06:10.542 Info vox voip controlplan 3 Incoming call on voip id: 0, calling: 90851745010, called:
1000610000, call-id: 1.
00:06:10.543 Info vox voip controlplan 3 Outgoing call on local port: 5/0, calling: 90851745010, called:
7383, call-id: 1.
00:06:10.717 Info vox voip controlplan 3 Alert received, call-id: 1.s
00:06:10.731 Info vox voip userplan 3 VoIP RTP thransmission started, coder: G729, call- id: 1.
00:06:10.709 H.323 tx TCP-H.225 Msg=CallProceeding IP=86.43.21.7:1882 callref=41971.
00:06:10.717 H.323 tx TCP-H.225 Msg=Alerting
IP=86.43.21.7:1882 callref=41971.
00:06:10.766 H.323 rx TCP-H.225 Msg=Facility
IP=86.43.21.7:1882 callref=9203.
00:06:10.783 H.323 tx TCP-H.225 Msg=Facility
IP=86.43.21.7:1882 callref=41971.
00:06:10.784 H.323 rx TCP-H.225 Msg=Facility
IP=86.43.21.7:1882 callref=9203.
00:06:10.802 H.323 tx TCP-H.225 Msg=Facility
IP=86.43.21.7:1882 callref=41971.
00:06:10.808 H.323 tx TCP-H.225 Msg=Facility
IP=86.43.21.7:1882 callref=41971.
00:06:10.816 H.323 rx TCP-H.225 Msg=Facility
IP=86.43.21.7:1882 callref=9203.
00:06:17.954 Info vox voip controlplan 3 Call connected, call-id: 1.
00:06:17.962 H.323 tx TCP-H.225 Msg=Connect
IP=86.43.21.7:1882 callref=41971.
00:06:18.010 Info vox voip userplan 3 VoIP RTP reception started, coder: G729, call-id: 1.
60
Call factory over IP
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

For debug, a SETUP can be sent on VoIP.
One_training>auto-call
<called>
- called number: up to 21 characters <0..9, #, *>
One_training>auto-call 0141877422
<calling>
- calling number: up to 21 characters <0..9, #, *>
<pots-number>
- pots: 0..29
<bearer>
- bearer capability < voice | data | voiceband >
overlap
- units in milliseconds: 0..2000 <0 means no overlap used>
<cr>
One_training>auto-call 0141877422 2408882005
17:50:17.677 Info vox factory test 1 call-id: 4, ident: auto-call, CALL IN PROGRESS Calling=2408882
005 Called=0141877422.
one100_interopBW>17:50:17.678 Info vox voip controlplan 3 Incoming call on local pots: 0, calling:
2408882005, called: 0141877422, call-id: 4.
17:50:17.710 Info vox voip controlplan 3 Outgoing call on voip id: 0, calling: 2408882005, called:
0141877422, call-id: 4.
17:50:27.660 Info vox factory test 1 call-id: 4, ident: auto-call, CALL FAILED cause=no codec.
17:50:27.661 Info vox factory test 1 call-id: 4, ident: auto-call, CALL FAILED on pots cause=[Normal call
clearing].
61
Auto call to ISDN
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

For debug, a ‘SETUP’ can be sent on a ISDN local port.
One_training>isdn test call 85841 ( data call/unrestricted )
02:27:34.914 line:5/0 L1 event received PH_AR State:F3.
02:27:34.923 line:5/0 L1 event received EV_LOST_FRAMING State:F4.
02:27:34.923 line:5/0 L1 event received EV_INFO_2 State:F5.
02:27:34.925 line:5/0 L1 event received EV_INFO_4_8(PH_AI) State:F6.
02:27:34.925 line:5/0 L1 event received MPH_AI State:F7.
02:27:34.925 line:5/0 L1 frame sent.
02:27:34.925 line:5/0 L2 tx SABME P/F=1 C/R=0.
02:27:34.925
hex: 00 83 7f
02:27:34.938 line:5/0 L1 frame received.
02:27:34.938 line:5/0 L2 rx UA P/F=1 C/R=0.
02:27:34.939
hex: 00 83 73
02:27:34.939 line:5/0 L1 frame sent.
02:27:34.940 line:5/0 L2 tx INFO P=0 NR=0 NS=0 C/R=0.
02:27:34.940
hex: 00 83 00 00
02:27:34.940 line:5/0 L3 tx SETUP callref:4.
02:27:34.940
hex1: 08 01 04 05 04 02 88 90 18 01 83 70 06 81 38 35
02:27:34.940
hex2: 38 34 31 a1
02:27:34.940 Called Number : 85841
62
Fax relay T38 debug
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Fax T38 processing and traces: display of the T30 messages
One_training>trace filter add vox up ifp 2 show
01:42:38.100 Info vox voip controlplan 3 Outgoing call on voip id: 0, calling: 110,
called: 111, call-id: 29.
01:42:40.397 Info vox voip controlplan 3 Alert in band received, call-id: 29.
01:42:40.917 Info vox voip userplan 3 VoIP RTP transmission started, coder: G729, call-id: 29.
01:42:40.997 Info vox voip userplan 3 VoIP RTP reception started, coder: G729, call-id: 29.
01:42:52.444 Info vox voip controlplan 3 Call connected, call-id: 29.
01:42:57.537 Info vox voip userplan 3 VoIP RTP transmission stopped, coder: G729, call-id: 29.
01:42:57.537 Info vox voip userplan 3 VoIP RTP reception stopped, coder: G729, call-id: 29.
01:42:57.665 Info vox voip userplan 3 Fax T38 starting call-id: 29 .
01:43:04.825 VOX.up.ifp.2 ------ NSF / CSI / DIS ------>
01:43:07.717 VOX.up.ifp.2 <-------- TSI / DCS ---------01:43:07.837 VOX.up.ifp.2 <------- TCF (v29_9600) -------01:43:11.814 Info vox voip userplan 1 T38 Pre-message procedure OK, call-id: 29.
01:43:11.814 VOX.up.ifp.2 ------------ CFR ------------>
01:43:12.437 Info vox voip userplan 1 T38 Transmitting page 1, call-id: 29.
01:43:12.437 VOX.up.ifp.2 <------ PAGE (v29_9600) -------01:51:10.502 VOX.up.ifp.2 <--------- PPS-EOP ----------01:51:13.599 Info vox voip userplan 1 T38 page 1 OK, call-id: 29.
01:51:13.599 VOX.up.ifp.2 ------------ MCF ------------>
01:51:15.282 VOX.up.ifp.2 <----------- DCN ------------01:51:15.846 Info vox voip controlplan 3 Call Disconnection received on local port: 5/2,
cause: (16)[Normal call clearing], call-id: 29.
63
Modem / fax passthrough event
U nn iitte ed d N eNt e
w tow
r koi rnkgi n g

Example of event in case of modem/fax call.
One_training>event filter add vox all show
00:11:21.485 Info vox voip controlplan 3 Incoming call on voip id: 0, calling: 111,
called: 110, call-id: 3.
00:11:21.486 Info vox voip controlplan 3 Outgoing call on local port: 5/0, calling: 111,
called: 110, call-id:3.
00:11:21.550 Info vox voip controlplan 3 Alert received, call-id: 3.
00:11:21.631 Info vox voip controlplan 3 Call connected, call-id: 3.
00:11:25.142 Info vox voip userplan 1 Fax/Modem Passthrough starting call-id: 3.
00:11:25.142 Info vox voip userplan 3 RTP new transmission coder: G711 A Law, call-id: 3.
00:11:25.341 Info vox voip userplan 3 RTP new reception coder: G711 A Law, call-id: 3.
00:12:23.533 Info vox voip controlplan 3 Call Disconnection received on local port: 5/1,
cause: (16)[Normal call clearing], call-id: 3.
00:12:23.552 Info vox voip userplan 3 VoIP RTP transmission stopped, coder: G711 A Law, call-id: 3.
00:12:23.552 Info vox voip userplan 3 VoIP RTP reception stopped, coder: G711 A Law, call-id: 3.
64