You are on page 1of 6

Seminar 44

V0IP (Voice over Internet Protocol)


Firstly PSTN (Public Switch Telephone Network) was developed for the voice
transmission of data. nd the PSTN is very e!pensive solution for the voice
transmission of lon" distance.
For e!ample
PT#$ in Pakistan
So %nternet is a solution for the transmission of user data. FTP& 'TTP& or S(TP etc
Now we are usin" internet for the transmission of )oice by convertin" analo" voice
si"nal into di"ital si"nal and send on the internet.
*e send voice by puttin" it on the internet protocol and send it to the internet it is
called )oice +ver %P.
,omain Name www.corvit.com ,NS server converts -4../.01.02
Telephone No. ... sever converts ./......
VOIP Hardware
F3S (Forei"n 4!chan"e Station)
F3S is a card which is used for the voice transmission over internet
%t is a module and plu" on the module router (above 1-// series).
%t is an analo" voice interface.
%t has two 56742 ports for the telephone cables.
F3S is tone "eneratin" device.
#odin" and ,ecodin"
The conversion of nalo" si"nals into ,i"ital Si"nals and ,i"ital to nalo" is done by
the #odec.
. 8.9.. #odec :sed by PSTN
0 8.90; #odec :sed by )o%P
)o%P is usin" better #odec than the PSTN how let us see.
%nternet #loud
$ahore
+ffice
New <ork
+ffice
Telephone Telephone
No ... No 000
S/=/
S/=/
4/ 4/
./......
./.....0
nalo" Si"nals
F3S F3S
nalo" Si"nals
,i"ital Si"nals
.=.=.
.=.=.
8.9..
,escribes the -47kbps P#( voice codin" techni>ue. %n 8.9..& encoded voice is
already in the correct format for di"ital voice delivery in the PSTN or throu"h
P?3s. ,escribed in the %T:7T standard in its 87series recommendations
8.90;
,escribes #4$P compression where voice is coded into @7kbps streams. There are
two variations of this standard (8.90; and 8.90; nne! ) that differ mainly in
computational comple!ityA both provide speech >uality similar to 107kbps
,P#(. ,escribed in the %T:7T standard in its 87series recommendations.
P#( (Pulse #ode (odulation)
The process of P#( (Pulse #ode (odulation) will be happened between the routers
PSTN is usin" the codec in all over the world is 8.9..
Configuration on the Router
%n the above topolo"y there are two remote sides and we have to confi"ure a setup
of )oice over %P between both sides.
First of all we will perform two types of confi"urations on both the 5outers.
At Lahore Router we have to Tell it about 111 and 222
For ... #all send it out from port .=.=. it is called P+TS for 5outer
For 000 #all send it on the %P address ./.....0 it is called )o%P

Similarly
At New York Router we have to Tell it about 222 and 111
For 000 #all send it out from the port .=.=. it is called P+TS for 5outer ?
For ... #all send it on the %P address ./...... %t is called )o%P
%nternet #loud
$ahore
+ffice
New <ork
+ffice
Telephone No 000
S/=/
S/=/
4/ 4/
./......
./.....0
nalo" Si"nals
F3S F3S
nalo" Si"nals
,i"ital Si"nals
.=.=.
.=.=.
Telephone No ...
*hat is P+TSB
P+TS stand for Plain +ld Telephone Services
,ial peer connected via a traditional telephony network. P+TS peers point to a
particular voice port on a voice network device.
*hat is )+%PB
)+%P stands for )oice over %nternet Protocol
The capability to carry normal telephony7style voice over an %P7based internet with
P+TS7like functionality& reliability& and voice >uality. )o%P enables a router to carry
voice traffic (for e!ample& telephone calls and fa!es) over an %P network. %n )o%P&
the ,SP se"ments the voice si"nal into frames& which then are coupled in "roups of
two and stored in voice packets. These voice packets are transported usin" %P in
compliance with %T:7T specification '.101.
For $ahore 5outer
. ,ial Peer for )+%P 000 (Telephone Number of New <ork 5outer) is
,estination Pattern
0 ,ial Peer for P+TS ... (Telephone Number of $ahore 5outer) is
,estination Pattern
1 %P)4 ./.....0 (%P address of serial interface of New <ork 5outer) is
Session Tar"et
4 Port for ... is .=.=. which is Port of F3S (odule
$ahore
+ffice
4/
F3S
.=.=.
Telephone No ... #all from ... to
5outer is called P+TS
$ahore
+ffice
New <ork
+ffice
S/=/
S/=/
4/ 4/
./......
./.....0
nalo" Si"nals
F3S F3S
nalo" Si"nals
,i"ital Si"nals
.=.=.
.=.=.
#all from ... to 000 is called )+%P
Telephone No
...
Telephone No
000
%nternet #loud
5outer
Step . (,ial Peer for )+%P)
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)#eit
routerA(config)#
Step 0 (,ial Peer for P+TS)
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#
If we have to assign any
telephone number (111, 222 or
123 etc.) to any router then in
Global Config o!e we have to
configure a "ial #eer for each
$umber.
1 is any number for 222
If there is another number 333
or 111 etc then we configure for
each number a !ifferent number
Destination Pattern
%s we have to !ial 222 (&outer
' in $ew (or)) from *ahore
(&outer %) there for we will
configure !estination pattern
number 222 at *ahore (&outer
%)
VoIP Dial Peer Mode
Global Config Mode
Privileged Mode
Global Config Mode
POTS Dial Peer Mode
Session Target
1+.1.1.2 is ,ession -arget for
111 an! as we are using I#
.ersion / so we shoul! have
to mansion it the .ersion of
I#.
Port Number of FXS
Card
10101 is the #ort $o of 12, to
which the -elephone
Connector is connecte!.
5outer ?
Step . (,ial Peer for )+%P)
router">
router">enable
router"#
router"#configure terminal
router"(config)#
router"(config)#dial-peer-voice 2 voip
router"(config-dial-peer)#
router"(config-dial-peer)#destination pattern 111
router"(config-dial-peer)#
router"(config-dial-peer)#session target ipv4: 10.1.1.1
router"(config-dial-peer)#
router"(config-dial-peer)#eit
router"(config)#
Step 0 (,ial Peer for P+TS)
router"(config)#
router"(config)#dial-peer-voice 1 pots
router"(config-dial-peer)#
router"(config-dial-peer)#destination-pattern 222
router"(config-dial-peer)#
router"(config-dial-peer)#port 1!1!1
router"(config-dial-peer)#
router"(config-dial-peer)#end
router"#
If we have to assign any
telephone number (111, 222 or
123 etc.) to any router then in
Global Config o!e we have to
configure a "ial #eer for each
$umber.
2 is any number for 111
If there is another number 333
or 222 etc then we configure for
each number a !ifferent number
Destination Pattern
%s we have to !ial 111 (&outer
% in *ahore) from $ew (or)
(&outer ') there for we will
configure !estination pattern
number 111 at $ew (or)
(&outer ')
VoIP Dial Peer Mode
Global Config Mode
Privileged Mode
Global Config Mode
POTS Dial Peer Mode
Session Target
1+.1.1.1 is ,ession -arget for
222 an!, as we are using I#
.ersion / so we shoul! have
to mansion it the .ersion of
I#.
Port Number of FXS
Card
10101 is the #ort $o of 12, to
which the -elephone
Connector is connecte!.
5outer
5outer ?
router">
router">enable
router"#
router"#configure terminal
router"(config)#
router"(config)#dial-peer-voice 2 voip
router"(config-dial-peer)#
router"(config-dial-peer)#destination pattern 111
router"(config-dial-peer)#
router"(config-dial-peer)#session target ipv4: 10.1.1.1
router"(config-dial-peer)#
router"(config-dial-peer)#eit
router"(config)#
router"(config)#dial-peer-voice 1 pots
router"(config-dial-peer)#
router"(config-dial-peer)#destination pattern 222
router"(config-dial-peer)#
router"(config-dial-peer)#port 1!1!1
router"(config-dial-peer)#
router"(config-dial-peer)#end
router"#
router"#eit
router>
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#eit
routerA>
#outerA>
#outerA>enable
#outerA#
#outerA#configure terminal
#outerA(config)#
#outerA(config)#dial-peer-voice 1 voip
#outerA(config-dial-peer)#
#outerA(config-dial-peer)#destination pattern 222
#outerA(config-dial-peer)#
#outerA(config-dial-peer)#session target ipv4: 10.1.1.2
#outerA(config-dial-peer)#
#outerA(config-dial-peer)#end
#outerA(config)#
#outerA(config)#dial-peer-voice 2 pots
#outerA(config-dial-peer)#
#outerA(config-dial-peer)#destination pattern 111
#outerA(config-dial-peer)#
#outerA(config-dial-peer)#port 1!1!1
#outerA(config-dial-peer)#
#outerA(config-dial-peer)#end
#outerA#
#outerA

You might also like