Professional Documents
Culture Documents
Lance Parr
Lead Systems Administrator
VoIP Laboratory Manager
Texas A&M University
College Station, Texas
What is VoIP?
Circuit Packet
Call Setup Database / H.323 & SIP
SS 7 Overlay
Communications Dedicated Shared
Channel
Addressing NANP IPv4 & IPv6
H.323
• Terminal
– An endpoint that supports 2-way streaming
with another H.323 terminal or gateway
– Originates and terminates calls
– Includes videoconferencing stations, hard
phones, & soft phones
Call Setup using H.225 RAS
• Registration, Admission and Status (RAS),
is responsible for registration, admission,
and disengaging procedures between H.323
Gatekeeper and Gateway.
• Discovery: GRQ, GCF, GCR
– Unicast Discovery using UDP port 1718.
Endpoint knows GK IP & register directly
– Multicast using UPD multicast address
224.0.1.41 – non static, less admin overhead
Call Setup using H.225 RAS
• Registration by terminals, Gateways &
MCUs using H.323 ID or E.164 address
– RRQ Registration Request
– RCF Registration Confirm
– RRJ Registration Reject
– URQ Un-registration Request
– URF Un-registration Confirm
– URJ Un-registration Confirm
H.323 – H.225 RAS Messages
• Request in Progress
– RIP
• Bandwidth change
– BRQ, BCF, BRJ
• Resource Availability
– RAI (Indicator)
– RAC (Confirm)
H.323 – H.225 RAS Messages
• Gatekeeper Discovery
– GRQ, CCF, GRJ
• Terminal/Gateway Registration
– RRQ, RCF, RRJ
• Terminal/Gateway Registration
– URQ, UCF, URJ
• Disengage
– DRQ, DCF, DRJ
H.323 – H.225 RAS Messages
• Status Queries
– IRQ – info request
– IRR – info request response
– IACK – info request ACK
– INACK - info request NACK
H.323 – Q.931 Messages
• Alerting
– Called user has been alerted, (phone is ringing)
• Call Proceeding
– Call has been established, no more call establishment
information will be accepted
• Connect
– Acceptance of call by called party
• Setup
– Indicates H.323 party wants to setup a connection to
called party
H.323 – Q.931 Messages
• Release Complete
– H.225 (Q.931) call has been released, signaling
channel is now open
• Status
– Sent when unknown call signaling message or a
status inquiry message is received
• Status Inquiry
– Requests a call’s status
H.323 – H.245
• Establishes logical channels for transmission of
H.323 data
• Negotiates:
– channel usage
– master/slave configuration
– flow control
– Codec used
• H.245 ports
– 1024-5000 TCP in Cisco implementation
H.323 – H.245 Messages
• Master/Slave Determination
– Determines which terminal will be master which will be
slave in the call
• Terminal Capability Set
– Contains information on a terminal’s ability to send and
receive multimedia streams
• Open Logical Channel
– Opens logical channel for transport of multimedia data
• Close Logic Channel
– Closes the logical channel between two endpoints
H.323 – H.245 Messages
• Request Mode
– Receive terminal requests type of transportation
from a transmit terminal
– Types of Modes:
• Video
• Audio
• Data
• Encryption
H.323 – H.245 Messages
4. LCF
1. ARQ 2. RIP 7. ARQ 8. ACF
5. ACF
6. Q.931 Call Setup
VoIP PBX 8. Q.931Call Proceed VoIP PBX
H.245
RTP
IP Phone IP Phone
Gatekeeper Peering and
Redundancy
Codec ITU G.711
• G.711 is the international standard for encoding
telephone audio on a 64 kbps channel. It is a pulse
code modulation (PCM) scheme operating at a 8
kHz sample rate, with 8 bits per sample, fully
meeting ITU-T recommendations. The module is
designed and tested on the TI TMS320C54x
platform but can be ported to other DSP and RISC
platforms, as well as MS Windows.
• Features:
• API functions for initialization, encoding
and decoding of speech data
• Supports Multi-channel operation
• The tradeoffs:
– How much do you need (quality)?
– How much can you afford?
– How much coding delay can you tolerate?
– Do you have special needs?
Issues with VoIP
• Firewalls
• NAT
• QoS
• Network Testing
VoIP Issues – Firewalls
• Packet loss
• Latency
• Jitter
QoS issues
• Prioritize by Application
• Prioritize by Address - many applications
• Create separate VLANs