Top Banner
Voice over WLAN
36

Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Jan 18, 2018

Download

Documents

Cordelia Payne

Challenges in VoIP 1.Delay 1.Absolute delay 2.Jitter 2.Packet loss 1.Less than 5% can be tolerated 3.Bandwidth 1.Wire bound : no problem 2.Wireless : always limitation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Voice over WLAN

Page 2: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Voice over IP

WAN

VoIP GatewayVoIP Gateway

PBX PBXPSTN

Page 3: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Challenges in VoIP1. Delay

1. Absolute delay2. Jitter

2. Packet loss1. Less than 5% can be tolerated

3. Bandwidth1. Wire bound : no problem2. Wireless : always limitation

Page 4: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Voice over Internet

Separate signaling and transport

Page 5: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Transport

1. Sampling1. Speech 4KHz->sampling 8kHz2. 8bit-> 64kbps per voice channel

Page 6: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

TransportEqualizationEcho cancellation

line echoacoustic echo

Encoding bit rateG71164 G726-32 32G729ab 8G729e 12G728 16

Page 7: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

TransportDigit Relay

Send tonesDetect key strokes

Voice activity detectionDetect silence periods

Channel codingTCP is not used -> unsecure channelFEC is used

PacketizationCoded voice packet form a RTP packet typical

period= 20 msTone detection

The receiver detects tones (diling tones, fax,modem)

Page 8: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

MGCP Call SetupRG Calling RG CalledCMS

12345678910 11

121314 15

161718

Page 9: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 1RQNT 1000 aaln/[email protected] 1.0N: [email protected]: 2427X: 1234abR: hd(N)S:

Comments:When you see the event asked for in R send them to Ca@the callagent.com, UDP port 2427X: Use the following requiest ID in your responseR: Look for hook-detect event. Notify me right awayS: don’t play any signal

Page 10: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 2200 1000 OK

Comments:Positive ack

Page 11: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 3NTFY 2000 aaln/[email protected] 1.0N: [email protected]: 2427X: 1234abO: hdComments:User picks up the phoneO: is indicating the event

Page 12: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 4200 2000 OK

Comments:Positive Ack

Page 13: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 5RQNT 1001 aaln/[email protected] 1.0N: [email protected]: 2427X: 1234abR: hu(N),[0-9] (D)S:dlD: (XXXXXXXX/0T/00T)

Comments:The CMS is instructing the RG what to do nextR: Look for hook-up event. Notify me right away or dialled digits [0-9] accumulate according to DS: Play dial toneD: Match digits any 9 digits or 0 and short time-out or 00 and short time-out

Page 14: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 6200 1001 OK

Comments:

Page 15: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 7NTFY 2001 aaln/[email protected] MGCP 1.0N: [email protected]: 2427X: 1234abO: 3,0,1,5,5,5,1,2,1,2,

Comments:The user dials

Page 16: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 8200 2001 OK

Comments:

Page 17: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 9CRCX 1002 aaln/[email protected] MGCP 1.0L: p:20, a:PCMU, s:off, e:onC: abcde1234M: recvonlyX: 1234abR: hu(N), hf(N)S:

Comments:Use packetization period 20 ms, use the PCMU codec (G711 mu-law); nor silence detection; do echo cancellation.C: use this string as call identityM: prepare to receive but don’t send anything yetX,R,S: look for hang-up or hook flash event and report, don’t play any signal

Page 18: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 7NTFY 2001 aaln/[email protected] MGCP 1.0N: [email protected]: 2427X: 1234abO: 3,0,1,5,5,5,1,2,1,2,

Comments:The user dials

Page 19: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 9RQNT 1000 aaln/[email protected] 1.0N: [email protected]: 2427X: 1234abR: hd(N)S:

Comments:When you see the event asked for in R send them to Ca@the callagent.com, UDP port 2427X: Use the following requiest ID in your responseR: Look for hook-detect event. Notify me right awayS: don’t play any signal

Page 20: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 10200 2002 OKI: abcd1234v=-0O=-25678 753849 IN IP4 192.164.3.11s=-C=IN IP4 192.168.3.11T=0 0M= audio 30000 RTP/AVP 0

Comments:RG acknowledges that a media connection is set upc= is the address where the called party shall send its mediam= is the UDP port to be used for media

Page 21: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 11CRCX 1003 aaln/[email protected] 1.0L: p:20, a: PCMU, s:off, e:onC: abcde1234M: sendrecvX: 1234abR: hd(N)S:rgv=-0O=-25678 753849 IN IP4 192.164.3.11s=-C=IN IP4 192.168.3.11T=0 0M= audio 30000 RTP/AVP 0

Comments:Set-up of the connection to called party sideLook for off-hook event Ring signalNote the SDP from the calling party

Page 22: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 12200 1003 OKI: def1234v=-0o=-1111 23245 IN IP4 192.168.3.12s=-c=IN IP4 192.168.3.12t=0 0m= audio 40000 RTP/AVP 0

Comments:

Page 23: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 13MDCX 1004 aaln/[email protected] MGCP 1.0I: abcd1234M: recvonlyX: 1234aeR: hu(N), hf(N)S:rtv=-0o=-1111 23245 IN IP4 192.168.3.12 s=-c=IN IP4 192.168.3.11t=0 0m= audio 40000 RTP/AVP 0

Comments:The CMS knows that the called party is ready and alerts the callerHe plays the ring tone, Gives the media session description to the callerHook on and hook flash shall be reported I: is the call identifier

Page 24: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 14200 1004 OK

Comments:

Page 25: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 15NTFY 5001 aaln/[email protected] MGCP 1.0N: [email protected]: 2427X: 1234abO: hd

Comments:The called party picks upThis is reported to the CMS

Page 26: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 16200 5001 OK

Comments:

Page 27: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 17MDCX 1005 aaln/[email protected] MGCP 1.0I: abcd1234M: sendrecvX: 1234aeR: hu(N), hf(N)S:

Comments:The CMS tells the caller to stop playing the ring tone (s and to enable bidirectional media

Page 28: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Message 18200 1005 OK

Comments:Now the caller acks the message and the call is set up.

Page 29: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Wireless Local Area Network

Page 30: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

The Physical layer

MAC Layer

PHY Layer

PLCP Sub layer

PMD Sub layer

Page 31: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Direct Sequence Spread Spectrum – DSSS

•Physical Layer Convergence Procedure PLCP•PLCP protocol data unit

PLCPpreamble

PLCPheader MPDU

Sync128 bits

SDF16 bit F3Ah

Signal8 bit

Service Length16 bit µs

CRC16 bit

Page 32: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Architecture

ScramblingBand spreading

Modulo-2adder

TransmitMask Filter

DBPSKDQPSK

Modulator

PPDU

11 bitBarker word

De-spread correlator

DBPSKDQPSK

De-modulatorDe-scrambling

Clock recoveryClock

PPDU

Page 33: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

802.11 MAC frame structure

Page 34: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

General format

FrameControl

Duration/ID

Address1

Address2

Address3

SequenceControl

Address4

MAC Header Frame Body FCS

Page 35: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Frame ControlLength 16 bits

Protocolversion Type Subtype To

DSFromDS

MoreFrags Retry Power

Mgt WEP Other

2 2 4 1 1 1 1 1

MoreData

1 1 1

Page 36: Voice over WLAN. Voice over IP WAN VoIP Gateway PBX PSTN.

Frame types

Information for updating NAV

FrameControl

Duration/ID

Address1

Address2

Address3

SequenceControl

Address4