Sunday, January 7, 2018

VOIP on packet tracer

Voice over IP (VOIP) on packet tracer

Voice over IP (VoIP, or voice over Internet Protocol) commonly refers to the communication protocols, technologies, methodologies, and transmission techniques involved in the delivery of voice communications and multimedia sessions over Internet Protocol (IP) networks, such as the Internet. Other terms commonly associated with VoIP are IP telephony,Internet telephony, voice over broadband (VoBB), broadband telephony, IP communications, and broadband phone.
Internet telephony refers to communications services —voice, fax, SMS, and/or voice-messaging applications— that are transported via the Internet, rather than the public switched telephone network (PSTN). The steps involved in originating a VoIP telephone call are signaling and media channel setup, digitization of the analog voice signal, encoding, packetization, and transmission as Internet Protocol (IP) packets over a packet-switched network. On the receiving side, similar steps (usually in the reverse order) such as reception of the IP packets, decoding of the packets and digital-to-analog conversion reproduce the original voice stream. Even though IP telephony and VoIP are used interchangeably, IP telephony refers to all use of IP protocols for voice communication by digital telephony systems, while VoIP is one technology used by IP telephony to transport phone calls

Let us apply it on packet tracer.

This IP Phone is displayed below. And when we try to go to any other mode its give us error and ask us to switch it on first.

For that, go to Physical mode and put the power adapter (in the bottom right corner) into the phone as shown in figure.

Now, we have inserted the antenna into IP phone. Repeat it for other phones as well.

Now, we see that interface of IP phone is UP.


Now, go to router and assign IP address.


We will have to set DHCP server on router to assign IP addresses to IP phones.

We will have to give an additional command for voip.
Router(dhcp-config)#option 150 ip

Now, let us apply commands to the router for voip. You might have noticed we took 2811 series router because it facilitates the following commands.



Now, we will go to the switch and make the interfaces support voip as follows.


After that, we will have to assign phone number to our IP phone by applying following commands.



Now, we can see that in GUI mode of Phone, we have a phone number available.


This means that we can call from one phone to the other. Lets do that.


And when we pick up the reciever, it says that we are connected :) .


Commands on Router for VOIP

Router(config)#ip dhcp pool voice

Router(dhcp-config)#option 150 ip


Router(config-telephony)#max-dn 5

Router(config-telephony)#max-ephones 5

Router(config-telephony)#ip source-address port 2000

Router(config-telephony)#auto assign 1 to 9

Router(config)#ephone-dn 1
%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up

Router(config-ephone-dn)#number 12345

%IPPHONE-6-REGISTER: ephone-1 IP: Socket:2 DeviceType:Phone has registered.
Router(config)#ephone-dn 2

%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up

Router(config-ephone-dn)#number 123
Router(config)#ephone-dn 3
%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up

Router(config-ephone-dn)#number 11111

Commands on Switch for VOIP
Switch(config)#interface range fastEthernet 0/1 - fastEthernet 0/10
Switch(config-if-range)#switchport mode access

Switch(config-if-range)#switchport voice vlan 1

No comments:

Post a Comment

TicTic v2.2 - Android media app for creating and sharing short videos

Facebook Twitter Tiktik – Android app for creating and sharing short videos. The customizable social video application to build ...

Popular Posts