Sponsored Links
 

Get Latest Jobs Via Email

V0IP Voice over Internet Protocol Lesson No:35

1346842273_435706491_1-Pictures-of--Learn-CCNA-in-five-days-one-to-one-fast-trackFirstly PSTN (Public Switch Telephone Network) was developed for the voice transmission of data. And the PSTN is very expensive solution for the voice transmission of long distance.

Sponsored Links

For example

PTCL in Pakistan

So Internet is a solution for the transmission of user data. FTP, HTTP, or SMTP etc

Now we are using internet for the transmission of Voice by converting analog voice signal into digital signal and send on the internet.

We send voice by putting it on the internet protocol and send it to the internet it is called Voice Over IP.

35 (1)Click On Image Get Full View

Domain Name   www.corvit.com         DNS server converts           64.10.23.25

Telephone No.   111                                sever converts                    10.1.1.1

VOIP Hardware

FXS (Foreign Exchange Station)

FXS is a card which is used for the voice transmission over internet

It is a module and plug on the module router (above 3600 series).

It is an analog voice interface.

It has two RJ-45 ports for the telephone cables.

FXS is tone generating device.

Coding and Decoding

The conversion of Analog signals into Digital Signals and Digital to Analog is done by the Codec.

1       G.711         Codec Used by PSTN

2       G.729         Codec Used by VoIP

VoIP is using better Codec than the PSTN how let us see.

G.711

Describes the 64-kbps PCM voice coding technique. In G.711, encoded voice is already in the correct format for digital voice delivery in the PSTN or through PBXs. Described in the ITU-T standard in its G-series recommendations

G.729

Describes CELP compression where voice is coded into 8-kbps streams. There are two variations of this standard (G.729 and G.729 Annex A) that differ mainly in computational complexity; both provide speech quality similar to 32-kbps ADPCM. Described in the ITU-T standard in its G-series recommendations.

PCM (Pulse Code Modulation)

The process of PCM (Pulse Code Modulation) will be happened between the routers

PSTN is using the codec in all over the world is G.711

Configuration on the Router

35 (2)

Click On Image Get Full View

In the above topology there are two remote sides and we have to configure a setup of Voice over IP between both sides.

First of all we will perform two types of configurations on both the Routers.

At Lahore Router we have to Tell it about 111 and 222

For 111 Call send it out from port 1/1/1             è      it is called POTS for Router A

For 222 Call send it on the IP address 10.1.1.2  è      it is called VoIP

Similarly

At New York Router we have to Tell it about 222 and 111 

For 222 Call send it out from the port 1/1/1      è      it is called POTS for Router B

For 111 Call send it on the IP address 10.1.1.1  è      It is called VoIP

What is POTS?

POTS stand for Plain Old Telephone Services

Dial peer connected via a traditional telephony network. POTS peers point to a particular voice port on a voice network device.

35 (3)

What is VOIP?

VOIP stands for Voice over Internet Protocol

The capability to carry normal telephony-style voice over an IP-based internet with POTS-like functionality, reliability, and voice quality. VoIP enables a router to carry voice traffic (for exam

ple, telephone calls and faxes) over an IP network. In VoIP, the DSP segments the voice signal into frames, which then are coupled in groups of two and stored in voice packets. These voice packets are transported using IP in compliance with ITU-T specification H.323.

35 (4)Click On Image Get Full View

 

For Lahore Router A

 1       Dial Peer for VOIP 222 (Telephone Number of New York Router) is

Destination Pattern

2        Dial Peer for POTS 111 (Telephone Number of Lahore Router) is

Destination Pattern

3       IPV4 10.1.1.2 (IP address of serial interface of New York Router) is

Session Target

4       Port for 111 is 1/1/1 which is Port of FXS Module

Router A

Step 1   (Dial Peer for VOIP)

35 (5)

Click On Image Get Full View

Step 2   (Dial Peer for POTS)

35 (6)

Click On Image Get Full View

Router B

Step 1   (Dial Peer for VOIP)

35 (7)

Click On Image Get Full View

Step 2   (Dial Peer for POTS)

35 (8)

Click On Image Get Full View

Router A

35 (9)

Click On Image Get Full View

Router B

35 (10)

Click On Image Get Full View

RouterA>

RouterA>enable

RouterA#

RouterA#configure terminal

RouterA(config)#

RouterA(config)#dial-peer-voice 1 voip

RouterA(config-dial-peer)#

RouterA(config-dial-peer)#destination pattern 222

RouterA(config-dial-peer)#

RouterA(config-dial-peer)#session target ipv4: 10.1.1.2

RouterA(config-dial-peer)#

RouterA(config-dial-peer)#end

RouterA(config)#

RouterA(config)#dial-peer-voice 2 pots

RouterA(config-dial-peer)#

RouterA(config-dial-peer)#destination pattern 111

RouterA(config-dial-peer)#

RouterA(config-dial-peer)#port 1/1/1

RouterA(config-dial-peer)#

RouterA(config-dial-peer)#end

RouterA#

RouterA

Router B

Share This Job !
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkedin
Share On Pinterest
Share On Reddit
Share On Stumbleupon
Contact us


Get Latest Jobs Via Email

Submit Your Cv
submitCv

Close