Sunteți pe pagina 1din 64

CCNA VOICE

CASE STUDY
MICHEAL COLE SABRINA JIA LIU CURTIS LIBEY

CCNA VOICE CASE STUDY

Contents
ICONS KEY 4

OBJECTIVES PHASE I CONVERGENCE-TECHNOLOGIES COMPANY HQ PHASE II - CONVERGENCE-TECHNOLOGIES COMPANY BRANCH OFFICE PHASE III CONNECTIVITY BETWEEN OFFICES

5 6 7 8

PHASE I MAIN OFFICE PHASE I CHECK LIST IP ADDRESSING SCHEME and PORT ALLOCATION HQ SWITCH CONFIGURATION CREATING THE CONNECTION BETWEEN THE ROUTER AND THE SWITCH CONFIGURING DHCP CREATING A TFTP SERVER ON THE ROUTER CONFIGURE TELEPHONY SERVICE CREATING IP PHONE DIRECTORY ASSIGNING EPHONES CONNECTING THE ANALOGUE PHONE CONNECTIVITY TESTS

9 12-13 11 12 14 15 16 16 17 18 18 19

Page - 1 - of 64

CONTENTS continued

PHASE II BRANCH OFFICE PHASE II CHECKLIST IP ADDRESSING SCHEME AND PORT ALLOCATION Branch SWITCH CONFIGURATION DHCP FOR IP PHONES AND WORKSTATIONS IP PHONES DHCP CONFIGURATION SOFTPHONE WORKSTATIONS DHCP CONFIGURATION CREATING A TFTP SERVER ON THE ROUTER TELEPHONY SERVICE CONFIGURE VLAN INTERFACES ON ROUTER CONFIGURING ROUTER PORTS FOR IP PHONES CREATING IP PHONE DIRECTORY ASSIGNING EPHONES CONNECTING THE ANALOGUE PHONE CONNECT THE ROUTER TO THE SWITCH SIP CONFIGURATION CONFIGURING DIAL PEER ON BRANCH ROUTER ACTIVATING SIP ON THE INTERFACE CONFIGURING SIP AUTHENTICATION CONFIGURING WORKSTATIONS FOR PBX AND SOFTPHONES CONFIGURE STATIC IP ADDRESS FOR PBX INSTALLATION AND SET UP OF PBX INSTALLATION AND SETUP FOR PBX SOFTPHONES USE 3CX PBX TO SETUP CONNECTION BETWEEN 3CX SOFTPHONES AND CISCO IP PHONES

20 21 22 23 24 24 24 25 25 26 27 28 28 29 29 29 29 30 30 31 31 32 37 - 38 39 - 43

Page - 2 - of 64

CONTENTS continued

PHASE III CONNECTING SITE IP ADDRESSING SCHEME AND PORT ALLOCATION BRANCH OFFICE ROUTER CONFIGURATION HQ OFFICE ROUTER CONFIGURATION SIP CONFIGURATION CONFIGURING DIAL PEER CONFIGURE SIP AUTHENTICATION FOR COMMUNICATION WITH BRANCH OFFICE PBX

44 45 46 46 47 47 47

PHASE IV EXTRA IP PHONE FEATURES CONFIGURATION CONFIGURE INTERCOM BETWEEN SECRETARY AND BOSS PHONES CREATE SYSTEM LOG MESSAGE CONFIGURE AND USE CALL PARK CONFIGURE GUI AND IOS INTERMEDIATE ADMINSTRATION SETUP ON HQ ROUTER CONFIGURE BOSS PHONE TRANSLATE RULE USE GUI TO CONFIGURE FOR THE CUSTOMER ADMINISTRATOR

48 49 49 50 50 51 52 - 54

Appendix HQ DALLAS ROUTER CONFIGUREATION SAN DIEGO ROUTER CONFIGUREATION

55 56 - 59 60 - 62

Page - 3 - of 64

ICONS KEY

Icon

Description

Cisco IP Phone

Analogue Phone

PC Workstation

PC with PBX installed

PC with Softphone installed

Cisco Router with CME installed Cisco Switch

Page - 4 - of 64

OBJECTIVES

HQ PHASE I

PHASE - III

BRANCH PHASE II

PSTN

The Convergence-Technologies Company has decided to upgrade its phone system to Voice Over IP. You have decided to achieve this in 3 Stages. Phase I Convergence-Technologies Company HQ Phase II Convergence-Technologies Company Branch Office Phase III Connection of Convergence-Technologies Company HQ and Convergence-Technologies Company Branch Office Page - 5 - of 64

PHASE I CONVERGENCE-TECHNOLOGIES COMPANY HQ

PSTN

Set up the above network layout Assign IP Addresses to the Network Assign the phone number 2050 onto the BOSS phone. (The phone connected to the PC workstation) Assign the Secretary a phone with phone number 2001 Automatically assign any other phones a phone number from 2002 to 2003 Assign the phone number 2100 number to the analogue phone Ensure connectivity between all phones and all PC workstations

Page - 6 - of 64

PHASE II - CONVERGENCE-TECHNOLOGIES COMPANY BRANCH OFFICE

PSTN

Set up the above network layout Assign IP Addresses to the Network Assign the two IP Phones the numbers 4001 and 4002 Assign the analogue phone the number 4100 Install and configure a SIP PBX onto the PBX Workstation Install softphones onto the PBX Workstation and the other workstations in the office Ensure connectivity between all phones and softphones

Page - 7 - of 64

PHASE III CONNECTIVITY BETWEEN OFFICES

PSTN

Connect the two office using a serial link Ensure connectivity between the two offices

Page - 8 - of 64

PHASE I

MAIN OFFICE

Page - 9 - of 64

PHASE 1 CHECK LIST

COMPLETED
IP ADDRESSING SCHEME PORT ALLOCATION PHONE NUMBER PLAN TRUNK CONFIGURATION SWITCH VLAN CONFIGURATION CONFIGURATION PORT ALLOCATIONS TRUNK CONFIGURATION DHCP CONFIGURATION TFTP CONFIGURATION ROUTER TELEPHONY SERVICES CONFIGURATION CONFIGURATION CREATE EPHONE DIRECTORY ASSIGN EPHONES DIAL PEER FOR ANALOGUE PHONE

IP PHONES

CLEAR IP PHONES

Page - 10 - of 64

IP ADDRESSING SCHEME and PORT ALLOCATION

COMPANYA will be using the 10.2.0.0 network. The company will need 3 separate vlans, a management vlan, a data vlan for data packets to be sent across the network and a voice vlan for voice packets to be sent across the network.
VLAN Management Data Voice Network Address 10.2.0.0 10.20.0.0 10.25.0.0 Broadcast Address 10.2.255.255 10.20.255.255 10.25.255.255 Subnet Mask 255.255.255.0 255.255.255.0 255.255.255.0

WORKSTATION

2100 SECRETARY 2001

2050

BOSS PHONE

BOSS WORKSTATION

2002

2003

Page - 11 - of 64

HQ SWITCH CONFIGURATION

hostname HQ-Switch !! vlan internal allocation policy ascending ! interface FastEthernet0/1 switchport trunk encapsulation dot1q switchport trunk native vlan 20 switchport mode trunk spanning-tree portfast ! interface FastEthernet0/2 switchport trunk encapsulation dot1q switchport trunk native vlan 20 switchport mode trunk spanning-tree portfast ! interface FastEthernet0/3 switchport trunk encapsulation dot1q switchport mode trunk switchport voice vlan 25 spanning-tree portfast ! interface FastEthernet0/4 switchport trunk encapsulation dot1q switchport trunk native vlan 20 switchport mode trunk switchport voice vlan 25 spanning-tree portfast ! interface FastEthernet0/5 switchport trunk encapsulation dot1q switchport trunk native vlan 20 switchport mode trunk switchport voice vlan 25 spanning-tree portfast

Page - 12 - of 64

interface FastEthernet0/6 switchport trunk encapsulation dot1q switchport trunk native vlan 20 switchport mode trunk switchport voice vlan 25 spanning-tree portfast ! interface FastEthernet0/7 switchport trunk encapsulation dot1q switchport trunk native vlan 20 switchport mode trunk ! interface FastEthernet0/8 switchport trunk encapsulation dot1q switchport trunk native vlan 20 switchport mode trunk

Page - 13 - of 64

CREATING THE CONNECTION BETWEEN THE ROUTER AND THE SWITCH

As there are 3 different VLANS that are needed to move between the router and the switch a trunk is needed. We will be using three sub-interfaces to achieve this.

configure terminal interface FastEthernet0/0 description TRUNK TO HQ SWITCH no shutdown interface FastEthernet0/0.2 description MANAGEMENT VLAN SUBINTERFACE encapsulation dot1Q 2 ip address 10.2.0.1 255.255.255.0 interface FastEthernet0/0.20 description DATA VLAN SUBINTERFACE encapsulation dot1Q 20 native ip address 10.20.0.1 255.255.255.0 interface FastEthernet0/0.25 description VOICE VLAN SUBINTERFACE encapsulation dot1Q 25 ip address 10.25.0.1 255.255.255.0 exit

Page - 14 - of 64

CONFIGURING DHCP
To allow for the easy addition of new IP Phones and Workstations to the network it has been decided that DHCP will be used. The router will be used as the DHCP server and will be used to allocate the ip addresses to the VOICE Vlan and the DATA Vlan. The first ten IP Addresses will be excluded from the dhcp pools of both of these Vlans to allow for the additions of other network devices in the future

DHCP CONFIGURATION DATA Vlan COMPANY_A Router configure terminal ip dhcp pool DATA network 10.20.0.0 255.255.255.0 default-router 10.20.0.1 exit ip dhcp excluded-address 10.20.0.1 10.20.0.10 exit

VOICE Vlan - COMPANY_A Router configure terminal ip dhcp pool VOICE network 10.25.0.0 255.255.255.0 option 150 ip 10.25.0.1 default-router 10.25.0.1 exit ip dhcp excluded-address 10.25.0.1 10.25.0.10 exit

Page - 15 - of 64

CREATING A TFTP SERVER ON THE ROUTER


A TFTP Server is needed on the router for the IP Phones to be able to download the firmware that they need to operate. The IP Address of the TFTP Server is the actual router. All of the firmware files are located here.

configure terminal tftp-server flash:P00303020214.bin tftp-server flash:P00308000400.bin tftp-server flash:P00308000400.loads tftp-server flash:P00308000400.sb2 tftp-server flash:P00308000400.sbn tftp-server flash:P00405000700.bin tftp-server flash:P00405000700.bin exit

CONFIGURE TELEPHONY SERVICE


Telephony service contains the information that the IP Phones will need to be able to access the firmware files that they need as well as defining the amount of IP Phones and IP Phone directories that will be allowed on the network.

configure terminal telephony-service ip source-address 10.25.0.1 port 2000 load 7960-7940 P00308000400 create cnf-files max-ephones 8 max-dn 15 exit

Page - 16 - of 64

CREATING IP PHONE DIRECTORY


The Ephone Directory allows you to create directory numbers that will be used for the IP Phones. You can also use labels which will show up on the screen of the IP Phones to show which phone it is.

configure terminal ephone-dn 1 dual-line number 2050 label BOSS 2050 name BOSS PHONE ephone-dn 2 dual-line number 2001 label SECRETARY PHONE 2001 name SECRETARY ephone-dn 3 dual-line number 2002 label OFFICE PHONE 2002 name OFFICE 1 ephone-dn 3 dual-line number 2003 label OFFICE PHONE 2003 name OFFICE 2

Page - 17 - of 64

ASSIGNING EPHONES

There is two ways in which we can assign the IP Phones to the Directory Numbers that we created. The first is to manually assign the phone to a directory number using the phones MAC-Address. Then using the button command we can assign a directory number to the phone.

ephone 1 description BOSS PHONE mac-address 0017.957D.E613 type 7940 button 1:1 ephone 2 description SECRETARY mac-address 0017.957B.CF25 type 7940 button 1:2 exit

The second way to assign the IP Phones to the directory number is by using the auto assign command to allow each new IP Phone to automatically get a number from the ephone directory numbers that we previously assigned.

telephony-service auto assign 3 to 4 type 7940 Dial peer for analogue phone

CONNECTING THE ANALOGUE PHONE


For the Analogue phone to connect to the network we need to create a dial peer with the phones number and the FXS port number that the phone is connected to. dial-peer voice 1 pots destination-pattern 2100 port 0/2/0 Page - 18 - of 64

CONNECTIVITY TESTS

Phone connectivity

Destination Phone Number 2050 2001 2002 2003 2100

2050 2001 2002 2003 2100

PC CONNECTIVITY PING TESTS


Ping test from Boss PC 10.20.0.11 to management PC 10.20.0.12. C:\Users\Administrator>ping 10.20.0.12 Pinging 10.20.0.12 with 32 bytes of data: Reply from 10.20.0.12: bytes=32 time<1ms TTL=64 Reply from 10.20.0.12: bytes=32 time<1ms TTL=64 Reply from 10.20.0.12: bytes=32 time<1ms TTL=64 Reply from 10.20.0.12: bytes=32 time<1ms TTL=64 Ping statistics for 10.20.0.12: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms Ping test from Management PC 10.20.0.12 to Boss PC 10.20.0.11 C:\Users\Administrator>ping 10.20.0.11 Pinging 10.20.0.11 with 32 bytes of data: Reply from 10.20.0.11: bytes=32 time<1ms TTL=64 Reply from 10.20.0.11: bytes=32 time<1ms TTL=64 Reply from 10.20.0.11: bytes=32 time<1ms TTL=64 Reply from 10.20.0.11: bytes=32 time<1ms TTL=64 Ping statistics for 10.20.0.11: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms

Source Phone Number

Page - 19 - of 64

PHASE II

BRANCH OFFICE

Page - 20 - of 64

PHASE II CHECKLIST

COMPLETED IP ADDRESSING SCHEME PORT ALLOCATION PHONE NUMBER PLAN SWITCH CONFIGURATION TRUNK CONFIGURATION VLAN CONFIGURATION PORT ALLOCATIONS

DHCP CONFIGURATION IP PHONES DHCP CONFIGURATION SOFTPHONE WORKSTATIONS DHCP CONFIGURATION Creating a TFTP SERVER ON THE ROUTER TELEPHONY SERVICE CONFIGURE VLAN INTERFACES ON ROUTER CONFIGURING ROUTER PORTS FOR IP PHONES CREATING IP PHONE DIRECTORY ASSIGNING EPHONES CONNECTING THE ANALOGUE PHONE CONNECT THE ROUTER TO THE SWITCH SIP CONFIGURATION CONFIGURING DIAL PEER on Brach router ACTIVATING SIP ON THE INTERFACE CONFIGURING SIP AUTHENTICATION

ROUTER CONFIGURATION

3CX SOFT PHONES AND SOFT PBX CONFIGURATIOIN

CONFIGURE STATIC IP ADDRESS FOR PBX INSTALLATION AND SET UP OF PBX INSTALLATION AND SETUP FOR PBX SOFTPHONES USE 3CX PBX TO SETUP CONNECTION BETWEEN 3CX SOFTPHONES AND CISCO IP PHONES

Page - 21 - of 64

IP ADDRESSING SCHEME AND PORT ALLOCATION

COMPANYA will be using the 10.3.0.0 network for its soft phone workstations. COMPANYA will be using the 10.4.0.0 network for its IP Phone network The company will need 3 separate vlans, a management vlan, a data vlan for data packets to be sent across the network and a voice vlan for voice packets to be sent across the network. VLAN Management Data Voice Network Address 10.4.0.0 10.40.0.0 10.45.0.0 Broadcast Address 10.4.255.255 10.40.255.255 10.45.255.255 Subnet Mask 255.255.255.0 255.255.255.0 255.255.255.0

IP PHONES 4100 VLAN MAN VOICE NETWORK ADDRESS 10.4.0.0 10.45.0.0

4001 Fsx 0/1 Fa 0/0/0

PSTN

Fa 0/0/1 Fa 0/0 4002

Fa 0/11 Fa 0/14 Fa 0/13 WORKSTATION IP NETWORK 10.3.0.0 / 24

Fa 0/12

10.3.0.99 / 24

Page - 22 - of 64

Branch SWITCH CONFIGURATION


hostname Branch-Switch interface FastEthernet0/12 description switchport mode access spanning-tree portfast interface FastEthernet0/13 description switchport mode access spanning-tree portfast interface FastEthernet0/14 description switchport mode access spanning-tree portfast

Page - 23 - of 64

DHCP FOR IP PHONES AND WORKSTATIONS


DHCP will be needed for the IP Phones and for the workstations that will have the softphones installed on them. **NOTE** The PBX SERVER will have a static IP Address assigned to it for easier configuration, (10.3.0.99 / 24).

IP PHONES DHCP CONFIGURATION


configure terminal ip dhcp excluded-address 10.45.0.1 10.45.0.10 ip dhcp pool VOICE network 10.45.0.0 255.255.255.0 option 150 ip 10.45.0.1 default-router 10.45.0.1 exit

SOFTPHONE WORKSTATIONS DHCP CONFIGURATION


configure terminal ip dhcp excluded-address 10.3.0.1 10.3.0.10 ip dhcp excluded-address 10.3.0.99 ip dhcp pool WORKSTATIONS network 10.3.0.0 255.255.255.0 default-router 10.3.0.1 exit

Page - 24 - of 64

CREATING A TFTP SERVER ON THE ROUTER


As shown in Phase I, a TFTP Server is needed on the router for the IP Phones to be able to download the firmware that they need to operate. The IP Address of the TFTP Server is the actual router. All of the firmware files are located here. configure terminal tftp-server flash:P00303020214.bin tftp-server flash:P00308000400.bin tftp-server flash:P00308000400.loads tftp-server flash:P00308000400.sb2 tftp-server flash:P00308000400.sbn tftp-server flash:P00405000700.bin tftp-server flash:P00405000700.bin exit

TELEPHONY SERVICE
As shown in Phase I, telephony service contains the information that the IP Phones will need to be able to access the firmware files that they need as well as defining the amount of IP Phones and IP Phone directories that will be allowed on the network.

configure terminal telephony-service ip source-address 10.45.0.1 port 2000 load 7960-7940 P00308000400 create cnf-files max-ephones 8 max-dn 15 exit

Page - 25 - of 64

CONFIGURE VLAN INTERFACES ON ROUTER

As the Phones will not have Workstations connected to them a data Vlan is not needed, only an MANAGEMENT Vlan and a VOICE Vlan will be used for the IP Phones.

configure terminal interface Vlan4 description MANAGEMENT VLAN ip address 10.4.0.1 255.255.255.0 no shutdown interface Vlan45 description VOICE VLAN ip address 10.45.0.1 255.255.255.0 no shutdown exit

Page - 26 - of 64

CONFIGURING ROUTER PORTS FOR IP PHONES


The IP Phones will directly connected to the Router in the branch office as they do not have a Power Over Ethernet switch

configure terminal interface FastEthernet0/0/0 description IP PHONE switchport trunk native vlan 40 switchport mode trunk switchport voice vlan 45 no shutdown interface FastEthernet0/0/1 description IP PHONE switchport trunk native vlan 40 switchport mode trunk switchport voice vlan 45 no shutdown exit

Page - 27 - of 64

CREATING IP PHONE DIRECTORY


As shown in Phase I, the ephone directory is needed to create directory numbers that will be used for the IP Phones. We will also use labels which will show up on the screen of the IP Phones to show which phone it is. configure terminal ephone-dn 1 dual-line number 4001 name BRANCH EPHONE 1 label BRANCH OFFICE 1 4001 ephone-dn 2 dual-line name BRANCH EPHONE 2 label BRANCH OFFICE 2 4002 number 4002 ephone-dn 3 dual-line name SPARE EPHONE NUMBER number 4003 ephone-dn 4 dual-line name SPARE EPHONE NUMBER number 4004 exit

ASSIGNING EPHONES

As shown in Phase I, there are two ways in which we can assign the IP Phones to the Directory Numbers that we created. We will be manually assigning the phone to a directory number using the phones MAC-Address. Then using the button command we can assign a directory number to the phone. configure terminal ephone 1 mac-address 0017.957D.D32F button 1:1 type 7940 ephone 2 mac-address 0017.9538.3CB0 type 7940 button 1:2 exit Page - 28 - of 64

CONNECTING THE ANALOGUE PHONE


For the Analogue phone to connect to the network we need to create a dial peer with the phones number and the FXS port number that the phone is connected to configure terminal dial-peer voice 1 pots destination-pattern 4100 port 0/2/0 exit

CONNECT THE ROUTER TO THE SWITCH


Unlike Phase I we are not sending multiple Vlans to the switch, therefore we only to assign an IP address and open the interface.

configure terminal interface FastEthernet0/0 description >>> PBX SWITCH ip address 10.3.0.1 255.255.255.0 no shutdown

SIP CONFIGURATION
The Cisco CME router uses Skinny Protocol. The PBX we are using uses the SIP protocol. For the PBX to communicate with the CME router we need to do three things. Configure a dial peer which defines the destination pattern for the 3000 numbering plan we will be using on the soft phones, as well as changing the protocol to sip and defining the codec. We have to activate sip on the interface we are connected to. And the last thing we need to do is set up authentication on the router so that it can connect with the PBX.

CONFIGURING DIAL PEER ON BRANCH ROUTER


As well as setting the protocol to sip in the dial peer we will also be adding the analogue phone. configure terminal dial-peer voice 3000 voip destination-pattern 3... session protocol sipv2 session target ipv4:10.3.0.99 codec g711ulaw exit

Page - 29 - of 64

ACTIVATING SIP ON THE INTERFACE

configure terminal voice service voip sip bind control source-interface FastEthernet0/0 bind media source-interface FastEthernet0/0 exit exit

CONFIGURING SIP AUTHENTICATION

For easy documentation we are using the router name (SANDIEGO) as the username and password. configure terminal sip-ua authentication username SANDIEGO_SIP password SANDIEGO_SIP sip-server ipv4:10.3.0.99 exit

Page - 30 - of 64

CONFIGURING WORKSTATIONS FOR PBX AND SOFTPHONES

CONFIGURE STATIC IP ADDRESS FOR PBX

1) On your PBX PC go to Start -> Control Panel -> Network and Internet -> Network Connections-> Local Area Connection. Right mouse click on the Local Area Connection and select Properties

2) Scroll down and click the Internet Protocol Version 4 (TCP/IPv4) and then click Properties

3) Click Use the following IP address: Put your PBX ip address: 10.0.3.99 Subnet mask :255.255.255.0 Default gateway: 10.0.3.1 Then click OK

Page - 31 - of 64

INSTALLATION AND SET UP OF PBX

1) At a putdown menu select English as you language and then click Next.

2) From the dropdown list select 10.3.0.99 as your Default Local IP Address and then click Next.

Page - 32 - of 64

3) Leave blank in Public IP and click Next

4) Click Create New PBX button and then click Next

5) Select 4 Digits for your internal extension numbers and then click Next.

Page - 33 - of 64

6) For the Voice Mail Settings: Enter the name of your SMTP server and the senders E-mail address and then click Next

7) Administrator Login and Password: Enter the Username and Password, and then click Next.

8) Click Add to open the Add User Extension window. Enter Extension Number, User First and User Last name and Authentication ID and Authentication Password, finally Select Interface and click Add.

Page - 34 - of 64

9) Operator Extension: Select the Operator Extension: 3000 Voice mail extension: 9999 Click Next

10) There is no VoIP provider to select. Click Skip >> to go on.

11) Wait for 3CX Wizard creates configuration database.

Page - 35 - of 64

12) Finish window for Create Configuration Database and click Next.

13) Online Registration form. Skip it and click Next

14) Initial Setup for 3CX completed.

Page - 36 - of 64

INSTALLATION AND SETUP FOR PBX SOFTPHONES

1) On the right up corner of 3CX IP Phone, double click New account.

2) Under Active, click New account then click Edit

3) This is Account Setting Window.

Page - 37 - of 64

4) Set a new account for John Smith, give this phone extension number: 3000 and Password, Specify the IP of your PBX/SIP server: 10.30.0.99. Click OK.

5) New account with John Smith appears on the Accounts.

6) John Smith appears on the 3CX IP Phone.

Page - 38 - of 64

USE 3CX PBX TO SETUP CONNECTION BETWEEN 3CX SOFTPHONES AND CISCO IP PHONES

STEP 1: SETUP SIP Trunk


Click Add VOIP Provider Wizard. Select Generic SIP Trunk and type a Name for the connecting system.

Page - 39 - of 64

Enter IP address of the router interface for SIP server and outbound proxy, click Next.

Enter a number for the remote PBX, its authentication credentials and 10 simultaneous calls.

Page - 40 - of 64

Review information where incoming call will be sent and click Next.

Edit the Outbound Call Rule: enter 4 for Calls to numbers starting with (Prefix) and enter 4 for Calls to Numbers with a length of. Then in Route 1 San Diego CME, change the Strip Digits drop-down to 0 and click Finish.

Page - 41 - of 64

STEP 2: Edit SIP trunk parameters for Codec


In the left-hand Explorer window, expand VOIP Provider and select San Diego CME and then cleck the Advanced tab. Remove the undesirable codecs, leaving only G.711ulaw. Click Apply.

Page - 42 - of 64

STEP 3: Edit SIP trunk parameters for DID


Click the Create DID tool. In the window that open, enter a DID/DDI Name, SAN DIEGO and a DID/DDI number /mask, 3000. Then select San Diego CME from the Available ports window and click Apply.

Page - 43 - of 64

PHASE III

CONNECTING SITES

Page - 44 - of 64

IP ADDRESSING SCHEME AND PORT ALLOCATION

COMPANYA will be using the 172.16.0.0/24 network for the inter office connection.

Serial 0/3/0 172.16.0.1 / 24

PSTN

Serial 0/3/0 172.16.0.2 / 24

Page - 45 - of 64

BRANCH OFFICE ROUTER CONFIGURATION

BASIC CONNECTIVITY
configure terminal interface Serial0/3/0 description CONNECTION TO HQ ROUTER ip address 172.16.0.1 255.255.255.0 clock rate 64000 no shutdown exit

DIAL PEER FOR MAIN OFFICE


configure terminal dial-peer voice 2000 voip destination-pattern 2... session target ipv4:172.16.0.1 exit

HQ OFFICE ROUTER CONFIGURATION

BASIC CONNECTIVITY
configure terminal interface Serial0/3/0 description CONNECTION TO BRANCH ROUTER ip address 172.16.0.2 255.255.255.0 clock rate 64000 no shutdown exit

Page - 46 - of 64

SIP CONFIGURATION

As in Phase II the Main Office Cisco CME router uses Skinny Protocol. The PBX we are using uses the SIP protocol. For the PBX to communicate with the CME router we need to do three things. Configure a dial peer which defines the destination pattern for the 2000 numbering, as well as changing the protocol to sip and defining the codec. We have to activate sip on the interface we are connected to. And the last thing we need to do is set up authentication on the router so that it can connect with the PBX.

CONFIGURING DIAL PEER

configure terminal dial-peer voice 2000 voip destination-pattern 2... session protocol sipv2 session target ipv4:10.3.0.99 codec g711ulaw exit

CONFIGURE SIP AUTHENTICATION FOR COMMUNICATION WITH BRANCH OFFICE PBX

configure terminal sip-ua authentication username DALLAS_SIP password DALLAS_SIP sip-server ipv4:10.3.0.99 exit

Page - 47 - of 64

PHASE IV

BONUS FEATURES

Page - 48 - of 64

CONFIGURE INTERCOM BETWEEN SECRETARY AND BOSS PHONES


Intercom feature allow you to create a pair of ephone-dns that are dedicated to being used by this feature. Then, the two phones can speed-dial each other and have an intercom. This provides a oneway voice path from the person who started the call to the recipient. A beep is sounded when the call is auto-answered to alert the recipient of the incoming call. configure terminal ephone-dn 5 number 6666 label intercom 6666 intercom 6660 ephone-dn 6 number 6660 label intercom 6660 intercom 6666 ephone 1 button 2:5 reset ephone 2 button 2:6 reset Notes: button 2: 5 means to assign second button (feature) at ephone 1 to ephone directory 5 button 2: 6 means to assign second button (feature) at ephone 2 to ephone directory 6

CREATE SYSTEM LOG MESSAGE System log message will display on the button screen of Cisco IP Phones.
configure terminal telephony-service system message Convergence IT Company HQ

Page - 49 - of 64

CONFIGURE AND USE CALL PARK Call Park feature allow you to put a call on hold at one telephone and pick up the call from another telephone. The call is transferred to an extension number that is used for call parking. ephone-dn 11 number 2800 park-slot timeout 10 limit 3

note: we create call park number 2800 and set a reminder after 10 seconds and to terminate the call after three reminders.

CONFIGURE GUI AND IOS INTERMEDIATE ADMINSTRATION SETUP ON HQ ROUTER


We will use web-based GUI instead of the router CLI for Cisco IP Phone for easier administration configuration. configure terminal ip http server ip http path flash:/CME_GUI ip http authentication local telephony-service web admin system name webadmin password cisco dn-webedit time-webedit exit

Page - 50 - of 64

CONFIGURE BOSS PHONE TRANSLATE RULE


Translation rule allow you to use a user friendly phone number to reach the companys phone, in this case we create translation rule for Boss phone, user could dial (BOSS 2677) to reach Boss phone 2050. configure terminal translation-rule 1 Rule 0 2677 2050 ephone-dn 2 dual-line translate called 1 ephone-dn 4 translate called 1

Page - 51 - of 64

USE GUI TO CONFIGURE FOR THE CUSTOMER ADMINISTRATOR

Step 1: http://10.20.0.1/ccme.html

Page - 52 - of 64

Step 2: From the Configure menu, select System Parameters.

Page - 53 - of 64

Step 3: in the Admin User Type box, select Customer and set your password and click change button and select OK

Page - 54 - of 64

APPENDIX

Page - 55 - of 64

Appendix
COMPLETE HQ DALLAS ROUTER CONFIGURATION
hostname DALLAS ! ip dhcp excluded-address 10.20.0.1 10.20.0.10 ip dhcp excluded-address 10.25.0.1 10.25.0.10 ! ip dhcp pool DATA network 10.20.0.0 255.255.255.0 default-router 10.20.0.1 ! ip dhcp pool VOICE network 10.25.0.0 255.255.255.0 option 150 ip 10.25.0.1 default-router 10.25.0.1 ! voice service voip sip bind control source-interface Serial0/3/0 bind media source-interface Serial0/3/0 ! translation-rule 1 Rule 0 2677 2050 ! interface FastEthernet0/0 description TRUNK TO HQ SWITCH no shutdown ! interface FastEthernet0/0.2 description MANAGEMENT VLAN SUBINTERFACE encapsulation dot1Q 2 ip address 10.2.0.1 255.255.255.0 no shutdown ! interface FastEthernet0/0.20 description DATA VLAN SUBINTERFACE encapsulation dot1Q 20 native ip address 10.20.0.1 255.255.255.0 no shutdown ! interface FastEthernet0/0.25 description VOICE VLAN SUBINTERFACE encapsulation dot1Q 25

Page - 56 - of 64

ip address 10.25.0.1 255.255.255.0 no shutdown ! interface Serial0/3/0 description CONNECTION TO SAN DIEGO ROUTER ip address 172.16.0.1 255.255.255.0 clock rate 125000 no shutdown ! ip route 0.0.0.0 0.0.0.0 Serial0/3/0 ! ip http server ip http authentication local no ip http secure-server ip http path flash:/CME_GUI ! tftp-server flash:P00303020214.bin tftp-server flash:P00308000400.bin tftp-server flash:P00308000400.loads tftp-server flash:P00308000400.sb2 tftp-server flash:P00308000400.sbn tftp-server flash:P00405000700.bin ! dial-peer voice 1 pots destination-pattern 2100 port 0/2/0 ! dial-peer voice 4000 voip destination-pattern 4... session target ipv4:172.16.0.2 ! dial-peer voice 3000 voip destination-pattern 3... session protocol sipv2 session target ipv4:10.3.0.99 codec g711ulaw ! sip-ua authentication username DALLAS_SIP password DALLAS_SIP sip-server ipv4:10.3.0.99 ! telephony-service load 7960-7940 P00308000400 max-ephones 8 max-dn 15

Page - 57 - of 64

ip source-address 10.25.0.1 port 2000 auto assign 3 to 4 type 7940 system message CONVERGENCE IT COMPANY HQ create cnf-files version-stamp Jan 01 2002 00:00:00 max-conferences 8 gain -6 moh moh.wav multicast moh 239.1.1.55 port 2123 web admin system name webadmin password cisco dn-webedit time-webedit ! ephone-dn 1 dual-line number 2050 label BOSS 2050 name BOSS PHONE translate called 1 ! ephone-dn 2 dual-line number 2001 label SECRETARY PHONE 2001 name SECRETARY translate called 1 ! ephone-dn 3 dual-line number 2003 label OFFICE PHONE 2003 name OFFICE 2 ! ephone-dn 4 number 2004 label HQ OFFICE PHONE 2004 translate called 1 ! ephone-dn 5 number 6666 label intercom 6666 intercom 6660 ! ephone-dn 6 number 6660 label intercom 6660 intercom 6666 ! ephone-dn 11 number 2800

Page - 58 - of 64

park-slot timeout 10 limit 3 ! ephone 1 description BOSS PHONE mac-address 0014.6A33.4ABC type 7960 button 1:1 2:5 ! ephone 2 description SECRETARY mac-address 0017.957D.D29E type 7940 button 1:2 2:6 ! ephone 3 mac-address 0014.69E0.5A50 type 7940 button 1:3 ! ephone 4 mac-address 0014.6A62.D1DB type 7940 button 1:4 ! end

Page - 59 - of 64

COMPLETE SAN DIEGO ROUTER CONFIGUREATION


hostname SANDIEGO ! ip dhcp excluded-address 10.45.0.1 10.45.0.10 ip dhcp excluded-address 10.40.0.1 10.40.0.10 ip dhcp excluded-address 10.3.0.1 10.3.0.10 ! ip dhcp pool VOICE network 10.45.0.0 255.255.255.0 option 150 ip 10.45.0.1 default-router 10.45.0.1 ! ip dhcp pool DATA network 10.40.0.0 255.255.255.0 default-router 10.40.0.1 ! ip dhcp pool SOFTPBX network 10.3.0.0 255.255.255.0 default-router 10.3.0.1 ! voice service voip sip bind control source-interface FastEthernet0/0 bind media source-interface FastEthernet0/0 ! interface FastEthernet0/0 description >>> PBX SWITCH ip address 10.3.0.1 255.255.255.0 no shutdown ! interface FastEthernet0/0/0 switchport trunk native vlan 40 switchport mode trunk switchport voice vlan 45 no shutdown ! interface FastEthernet0/0/1 switchport trunk native vlan 40 switchport mode trunk switchport voice vlan 45 no shutdown ! interface Serial0/3/0 description CONNECTION TO DALLAS ROUTER

Page - 60 - of 64

ip address 172.16.0.2 255.255.255.0 no shutdown ! interface Vlan4 ip address 10.4.0.1 255.255.255.0 no shutdown ! interface Vlan40 ip address 10.40.0.1 255.255.255.0 no shutdown ! interface Vlan45 ip address 10.45.0.1 255.255.255.0 no shutdown ! ip forward-protocol nd ! ip http server no ip http secure-server ! tftp-server flash:P00303020214.bin tftp-server flash:P00308000400.bin tftp-server flash:P00308000400.loads tftp-server flash:P00308000400.sb2 tftp-server flash:P00308000400.sbn tftp-server flash:P00405000700.bin tftp-server flash:P00405000700.sbn ! dial-peer voice 3000 voip destination-pattern 3... session protocol sipv2 session target ipv4:10.3.0.99 codec g711ulaw ! dial-peer voice 2000 voip destination-pattern 2... session target ipv4:172.16.0.1 ! dial-peer voice 1 pots destination-pattern 4100 port 0/2/0 ! sip-ua authentication username SANDIEGO_SIP password SANDIEGO_SIP sip-server ipv4:10.3.0.99

Page - 61 - of 64

telephony-service load 7960-7940 P00308000400 max-ephones 4 max-dn 4 ip source-address 10.45.0.1 port 2000 create cnf-files version-stamp Jan 01 2002 00:00:00 max-conferences 8 gain -6 ! ephone-dn 1 dual-line number 4001 label BRANCH OFFICE 1 4001 name BRANCH EPHONE 1 ! ephone-dn 2 dual-line number 4002 label BRANCH OFFICE 1 4002 name BRANCH EPHONE 2 ! ephone-dn 3 dual-line number 4003 ! ephone-dn 4 dual-line number 4004 ! ephone 1 mac-address 0017.957D.D32F type 7940 button 1:1 ! ephone 2 mac-address 0017.9538.3CB0 type 7940 button 1:2 ! line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 exec-timeout 0 0 password cisco no login ! scheduler allocate 20000 1000 ! end

Page - 62 - of 64

Page - 63 - of 64

S-ar putea să vă placă și