voip dev conf 2004-08-04 page 1 n e v e r s t o p t h i n k i n g. infineon voip developers...

34
VoIP Dev Conf 2004-08-04 Page 1 N e v e r s t o p t h i n k i n g . I n f i n e o n VoIP Developers Conference - Aug 4, 2004 Developing VoIP Devices Sina Jafroodi VoIP CPE Applications Specialist Infineon Technologies [email protected]

Upload: britney-harris

Post on 01-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

VoIP Dev Conf2004-08-04

Page 1N e v e r s t o p t h i n k i n g .In

fin

eon

VoIP Developers Conference - Aug 4, 2004

Developing VoIP DevicesDeveloping VoIP Devices

Sina JafroodiVoIP CPE Applications SpecialistInfineon [email protected]

VoIP Dev Conf2004-08-04

Page 2

Agenda

A view of the “Technology Lifestyle of the 21st Century”

– Network migration to ethernet

– VoIP topologies & Practical Examples

Some Basic Design Considerations

– Scalability of VoIP solutions

– Software Features

– Development Considerations

Designing & Verifying Quality in VoIP Systems

VoIP Dev Conf2004-08-04

Page 3

Internet

One Box Handles Everything!

ResidentialGateway

Entertainment:"Family watches Videos"

Kids:"Fun and Homework"

Home Office:"Mother is doing home-banking"

Enabling the Technology Lifestyle of the 21st Century:Access Solutions for Future Family Communications Portal

Communication ProcessorBroadband DSLSwitchingVoice ProcessingWLANSecurity....

Communication ProcessorBroadband DSLSwitchingVoice ProcessingWLANSecurity....

VoIP Dev Conf2004-08-04

Page 4

End-to-End Multi Service ADSL Solution

Central Office

Integrated POTS and data

platform (IPVD)

Internet

Voice Gateway

DSLAMCopper

Multi-service Home Gateway

802.1

1

VoIP Dev Conf2004-08-04

Page 5

End-to-End Ethernet over VDSL+ IP Telephony Solution

FO feed

FTTB

Multi-service Home Gateway

EoVDSL Switch

802.1

1

VoIP Dev Conf2004-08-04

Page 6

Next Generation Networks:‘’… IP - The ultimate protocol’’

IPIP

NetworkNetwork

Access

Concentrator

Media Gateway Controller

- Soft switch -

PSTN

Network

SS7

Network

Signaling Gateway

Media Gateway

POTS/ISDN

DSLIP Phone

IAD

Infrastructure GW

Subscriber Side GW

VoIP Dev Conf2004-08-04

Page 7

How the Ethernet Migration Will Take Place:‘’… IP will enter the DSLAM’’

Initiatives from carriers with less legacy equipment, ILECs investing in upgrades, deployments in new operating regions, CLEC in foreign countries, SoftSwitch capability

Adoption of Protocols that enable more reliable delivery of services (MPLS, Diff Serv and IP v6, IPSec etc.)

Legacy ATM networks will remain at the core

Schedule - Next 1 to 3 years

Ethernet

Network

DSLAMDSLAM Ethernet

over SDH

Ethernet

over xDSL

CPE driven Core drivenIP functionality

required!!

VoIP Dev Conf2004-08-04

Page 8

So What It’s All About?‘’… Broadband@Home’’

In what room do you want me to put

it?

VoIP Dev Conf2004-08-04

Page 9

VoIP Transitions from Core to Edge

VoIP was initially deployed in gateways in network core

– Large DSP farms

– Transparent to user, e.g. Class 4 Tandem GW

SOC integration has brought VoIP to the edge & “In The Door”

– VoIP in the network edge Next-generation DLC

VoIP-enabled DSLAM

– VoIP in the user’s premises SoC (system-on-chip) designs

Enterprise, ROBO, SOHO, residential

– Desktop

– PocketPCs & PDAs

– 802.11 wireless devices

– Softphones

VoIP Dev Conf2004-08-04

Page 10

TDM SwitchAnalogModem

Linecards

Linecards

analog

analog

TDM

TDM

Circuit Switched Networks

VoIP Dev Conf2004-08-04

Page 11

Packet Switched Networks

DSLAM / MSAPATA, IAD,

Home Gateway

packets

packets

DLC/MSAP

analog

CO

TDM

Class 4 Tandem Gateway/Softswitch

DSLAM / MSAPIAD / DSL modem

PacketNetwork

IP phone

VoIP Dev Conf2004-08-04

Page 12

ATA & Cordless IP Phones

Ethernet

Analog Phone

Analog Telephone Adapter (ATA) Cordless

IP Telephone

VoIP Dev Conf2004-08-04

Page 13

VINETIC• POTS Termination• BORSCHT Functions• GR-303• Voice Codecs• Packet Processing (RTP/RTCP)

ADSL: Integrated Voice & Data (IVD) Line Termination at CO/DLCCO/DLC

Geminax-S MAX(1-ch BB-SLIC)

SLIC

VINETIC - VIP / M / C / S (4-ch)

CODEC

DSPCODEC

CODEC

CODEC

VoiceVoice

Packets

TDM

GEMINAX-L2MAX (2-ch)

LD

GEMINAX-A0MAX

(4/8-ch)

GEMINAX-DMAX (8-ch)

D/A

A/DDSP

DATADATAIVD Control BUS

One Chipset for ...One Chipset for ...

• Voice onlyVoice only

• Data onlyData only

• Integrated Voice & DataIntegrated Voice & Data

GEMINAX • Line Termination• ADSL• ADSL2/2+

VoIP Dev Conf2004-08-04

Page 14

Few Considerations

Per Line Provisioning Capability

– Voice, Data, Voice and Data

– Single solution to address POTS, VoIP, Data Requirements

Scalability of Solution

– “Design Reuse” based on uniform Architecture

Clean Functional Delineation

– Voice on the “DSP”

– Data Plane on “Host Controller”

Signalling & Voice Transmission Standards

– Legacy, VoIP

VoIP Dev Conf2004-08-04

Page 15

Scalability Problem : Home VoIP Gateway with 2 ports

2 P

OT

S li

nes

Ethernet / USB

xDSL, E1/T1

Cable, WirelessUplink

ChipsetUplink

Chipset

SLICSLIC

SLICSLICCodecCodec

CommunicationsProcessor

CommunicationsProcessor

DSP

VoIP Dev Conf2004-08-04

Page 16

Scalability Problem : SOHO VoIP Gateway with 8 ports

Ethernet / USB

xDSL, E1/T1

Cable, WirelessUplink

ChipsetUplink

Chipset

SLICSLIC

SLICSLIC

SLICSLIC

SLICSLIC

CodecCodec

CommunicationsProcessor

CommunicationsProcessor

SLICSLIC

SLICSLIC

SLICSLIC

SLICSLIC

CodecCodec

DSP

DSP

Problem : 2 different DSP’s !!

VoIP Dev Conf2004-08-04

Page 17

Solution for Scalability : 4 - N ports

Ethernet / USB

xDSL, E1/T1

Cable, WirelessUplink

ChipsetUplink

Chipset

CommunicationsProcessor

CommunicationsProcessor

4 P

OT

S li

nes

SLICSLIC

SLICSLIC

SLICSLIC

SLICSLIC

CodecCodec

DSP

4 P

OT

S li

nes

SLICSLIC

SLICSLIC

SLICSLIC

SLICSLIC

CodecCodec

DSP

VoIP Dev Conf2004-08-04

Page 18

VoIP Call Flow Via VINETIC

Voice Processing

RTP/RTCP Packet processing

Jitter Buffer Management and

Line-side Play out

UDPIP

JitterBuffer

P layout-Unit

DecompressionG.7xx

BFMCNG

R T P IPToneDTMFGen.

Caller-ID

+

EchoCancel-

lation

8k H z s am plesto D /A

-

ToneDTMFDetect

CompressionG.7xx

VAD

PacketizationRTP

8k H z s am plesf rom A/D UDPIP

IPR T P

Events

Events

Host Controller completes the RTP/RTCP packet Transmission

Connection Management

Signaling and Network connection protocols (SIP/MGCP/TCP/UDP/IP)

VoIP Dev Conf2004-08-04

Page 19

Fax over Packet (a.k.a. "Fax Relay", T.38)

Host

Controller

Host

ControllerVinetic-4VIP

Vinetic-4VIP

Packet

Network::

Fax data pump

• V.21, V.27ter, V.29, V.17, V.33• CED detection/generation• CNG detection/generation

Fax relay

• Session Control Procedures• Real Time Fax Relay (T.38)

Infineon provides a complete system solution :• Complete firmware for VINETIC (fax data pump)• Complete software source code for Controller (fax relay) with API to interface to the Data Pump

No development effort for Infineon‘s customer

VoIP Dev Conf2004-08-04

Page 20

Designing & Verifying Quality in VoIP Systems

VoIP enables

– Host of new services

– Tremendous deployment and operational cost efficiencies

… but

Customer expectations are based on

– Extensive set of specifications (e.g. Telcordia, ITU, etc.)

– Century-old legacy of carrier class service

– Carrier class service in enterprise applications (PBX)

This section identifies specific tests, and associated procedures and results, that can be used to validate an implementation and ensure that design expectations have been met.

VoIP Dev Conf2004-08-04

Page 21

Specification Summary

SubsystemImplementation Specification(s)

Test Specification(s)

Echo Cancellation

G.168-2002 G.168-2002

Vocoder G.7xx, iLBC-nb -wb, Per ITU-T and Relevant Standards

Tone Detection EIA-464, Q.23EIA-464, Q.24

Telcordia TR-TSY-000763

Latency, Jitter Per system budget Design Specific

PacketizationATMF-0045

IETF RFC 2543, 1889

DSL Forum TR-049

Interoperability

Voice Quality Varies Per Vendor P.862 (PESQ)

VoIP Dev Conf2004-08-04

Page 22

Test Set-up & Considerations

Tests are per G.168-2002

– Some tests require explicit control of EC sub-functions E.g., NLP or VAD/CNG Inhibit

Packet-specific considerations:

– Latency & vocoder impacts if included in EC tail

Extensive test & analysis gear is required

– Leverage Manufacturer’s Cest Capabilities & Compliance Report

– Verify selected characteristics at system level tail length

disable function

ECHO

CANC

VoIP Dev Conf2004-08-04

Page 23

Conformance CriteriaECH

O

CANC

Subsystem Echo Canceller

Specification ITU-T G.168-2002

Test Conditions

Standalone: EC algorithm is fully tested and characterized in Infineon’s lab.

In System: Necessary EC controls and interfaces must be provided to permit testing per G.168. No compression, transcoding, packet loss, or other impairments between EC and echo source.

Pass Criteria Per G.168-2002 Section 6.4.2

Notes Complete test report available from Infineon upon request.

VoIP Dev Conf2004-08-04

Page 24

Test Set-up & Considerations

Use Standard Voice Quality Tests to verify Performance

– PESQ (ITU P.862) used to evaluate performance w/ packet loss and other network impairments

Test Set-up:

– Test a single Encoder/Decoder pair (one-way)

– Ignore latency

– Ensure no packet loss

– Commercial MOS test system

Ideally, one should test

– End-to-end hardware interoperating CO/Home GW

– In loopback configuration (same firmware at both ends)

– Results should be identical

– Proves interoperability

VOCO

DER

VoIP Dev Conf2004-08-04

Page 25

Conformance Criteria

VOCO

DER

Subsystem Vocoder

SpecificationAlgorithms: ITU-T G.711, G.723.1, G.726, G.729A

Voice Quality Test: ITU-T P.862

Artificial Voice: Per ITU-T P.800

Test Conditions

Single encoder/decoder pair

No packet loss

No transcoding (other than to/from G.711)

Zero gain/loss

Standard speed

Constant bit rate (no silence suppression)

Pass Criteria

G.711: PSQM < 0.6

G.723.1: PSQM < 1.8

G.726: PSQM < 1.6 (32Kbps)

G.728: PSQM < 1.6

G.729A: PSQM < 1.6

Notes Use PESQ and not PSQM

VoIP Dev Conf2004-08-04

Page 26

Conformance Criteria

TONE D

ET

Subsystem Tone Detection

Specification EIA 464, ITU Q.23

Test Conditions

Tone detector directly interfaced to audio source (without intervening compression, packet loss, or other impairments)

Pass Criteria

Detection: Per EIA 464 Section 7.1.5, ITU Q.24

Talk-off: No more than 100 detections in Telcordia Standard Speech Tape TR-TSY-000763

Notes Must Meet all Country Specific Variations

VoIP Dev Conf2004-08-04

Page 27

Test Set-up & Considerations

Measure end-to-end round-trip

– Use “initiator” to run test with “responder” that echoes signal

Difficult to isolate individual delay elements

– Provide internal instrumentation where feasible

– Construct loop-backs to eliminate selected network elements

– Measure incremental changes associated with: Invocation of alternative vocoders

Changes in jitter buffer size, packet interval, line speed

Design criteria is met when:

– End-to-end delay meets specification

– Individual budget elements have been verified

LATENCY

VoIP Dev Conf2004-08-04

Page 28

Conformance Criteria

LATENCY

Subsystem End-to-end System Delay

Specification Per System Latency Budget

Test ConditionsContributions of individual elements calculated using loopback and other instrumentation techniques.

Pass Criteria (individual elements)

Infineon Echo Canceller:

Forward direction: < 500 microseconds

Reverse direction: < 500 microseconds

Infineon Encoders:

G.711: < 250 microseconds

G.723.1: < 40 milliseconds (30ms frame size)

G.726: < 500 microseconds

G.728: < 2 milliseconds

G.729A: < 16 milliseconds (10ms frame size)

Infineon Decoders:

G.711: < 250 microseconds

G.723.1: < 1 millisecond

G.726: < 500 microseconds

G.728: < 1 millisecond

G.729A: < 1 millisecond

VoIP Dev Conf2004-08-04

Page 29

Test Set-up & Considerations

Conformance to applicable specification, e.g.:

– ATMF-0045

– IETF SIP, RTP/RTCP, etc.

Proving Conformance

– No definitive test specifications exist

– Snoop traffic and confirm via inspection

– Perform interoperability tests w/ “known-good” systems

Endurance / Load testing

– Scaling issues primarily rest w/ system designer

– Some tools available

PACKET

VoIP Dev Conf2004-08-04

Page 30

Conformance Criteria

PACKET

Subsystem ATM AAL-2 Packetization VoIP Packetization

SpecificationATM Forum VMOA-0145

DSL Forum Technical Report TR-049IETF RFC’s 2543, 1889, 2833

Test Conditions

CP-IWF (IAD) interoperating with CO-IWF (Gateway) using Channel Associated Signaling to deliver analog loop-start Plain Old Telephone Service (POTS).

SIP/RTP Endpoint interoperating with VoIP gateway and SIP server (specifications TBD).

Pass Criteria Per DSL Forum TR-049

Notes

VoIP Dev Conf2004-08-04

Page 31

Test Set-up & Considerations

Use PESQ (ITU P.862) to measure speech quality

Ensure network is:

– Properly configured

– Equipped with mechanism(s) to force selective packet loss

– Instrumented to measure loss

Control other attributes:

– Encoding algorithm

– Delay and jitter

PKT LOSS

VoIP Dev Conf2004-08-04

Page 32

Conformance Criteria

PKT LOSS

Subsystem Packet Loss Tolerance

SpecificationITU-T G.728, G.729

ITU-T P.862

Test Conditions

Random packet loss not to exceed 10% (1 packet in 10)

End-to-end packet network delay of 50 milliseconds or less

Adequate jitter buffer (no overflow or underflow)

Packet size of 20ms or less

Pass Criteria

Voice quality per P.862:

G.711: XX

G.723.1 :XX

G.726: XX

G.728: XX

G.729A: XX

Additionally:

For G.728: Conformance to Annex I per Appendix I

Notes

VoIP Dev Conf2004-08-04

Page 33

Summary

Voice-over-Packet technology introduces new considerations into voice system testing

Each identified area should be assessed

Requirements should be carefully identified and documented

Conformance criteria & test methodologies have been established

System-level parameters must be managed and monitored

Infineon technology will provide the best possible foundation for meeting customer expectations

VoIP Dev Conf2004-08-04

Page 34

We createSemiconductor Solutions,enabling the Technology Lifestyle of the Individual in the 21st Century.