Ccna Voip Case Study_cme to 3cx_smc Team

  • Upload
    shejee1

  • View
    224

  • Download
    0

Embed Size (px)

Citation preview

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    1/64

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    2/64

    Page - 1 - of64

    Contents

    ICONS KEY 4

    OBJECTIVES 5

    PHASE I CONVERGENCE-TECHNOLOGIES COMPANY HQ 6

    PHASE II - CONVERGENCE-TECHNOLOGIES COMPANY BRANCH OFFICE 7

    PHASE IIICONNECTIVITY BETWEEN OFFICES 8

    PHASE I MAIN OFFICE 9

    PHASE I CHECK LIST 12-13

    IP ADDRESSING SCHEME and PORT ALLOCATION 11

    HQ SWITCH CONFIGURATION 12

    CREATING THE CONNECTION BETWEEN THE ROUTER AND THE SWITCH 14

    CONFIGURING DHCP 15

    CREATING A TFTP SERVER ON THE ROUTER 16

    CONFIGURE TELEPHONY SERVICE 16

    CREATING IP PHONE DIRECTORY 17

    ASSIGNING EPHONES 18

    CONNECTING THE ANALOGUE PHONE 18

    CONNECTIVITY TESTS 19

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    3/64

    Page - 2 - of64

    CONTENTS continued

    PHASE II BRANCH OFFICE 20

    PHASE II CHECKLIST 21

    IP ADDRESSING SCHEME AND PORT ALLOCATION 22

    Branch SWITCH CONFIGURATION 23

    DHCP FOR IP PHONES AND WORKSTATIONS 24

    IP PHONES DHCP CONFIGURATION 24

    SOFTPHONE WORKSTATIONS DHCP CONFIGURATION 24

    CREATING A TFTP SERVER ON THE ROUTER 25

    TELEPHONY SERVICE 25

    CONFIGURE VLAN INTERFACES ON ROUTER 26

    CONFIGURING ROUTER PORTS FOR IP PHONES 27

    CREATING IP PHONE DIRECTORY 28

    ASSIGNING EPHONES 28

    CONNECTING THE ANALOGUE PHONE 29

    CONNECT THE ROUTER TO THE SWITCH 29

    SIP CONFIGURATION 29

    CONFIGURING DIAL PEER ON BRANCH ROUTER 29

    ACTIVATING SIP ON THE INTERFACE 30

    CONFIGURING SIP AUTHENTICATION 30

    CONFIGURING WORKSTATIONS FOR PBX AND SOFTPHONES 31

    CONFIGURE STATIC IP ADDRESS FOR PBX 31

    INSTALLATION AND SET UP OF PBX 32

    INSTALLATION AND SETUP FOR PBX SOFTPHONES 37 - 38

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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    4/64

    Page - 3 - of64

    CONTENTS continued

    PHASE III CONNECTING SITE 44

    IP ADDRESSING SCHEME AND PORT ALLOCATION 45

    BRANCH OFFICE ROUTER CONFIGURATION 46

    HQ OFFICE ROUTER CONFIGURATION 46

    SIP CONFIGURATION 47

    CONFIGURING DIAL PEER 47

    CONFIGURE SIP AUTHENTICATION FOR COMMUNICATION WITH BRANCH OFFICE PBX 47

    PHASE IV EXTRA IP PHONE FEATURES CONFIGURATION 48

    CONFIGURE INTERCOM BETWEEN SECRETARY AND BOSS PHONES 49

    CREATE SYSTEM LOG MESSAGE 49

    CONFIGURE AND USE CALL PARK 50

    CONFIGURE GUI AND IOS INTERMEDIATE ADMINSTRATION SETUP ON HQ ROUTER 50

    CONFIGURE BOSS PHONE TRANSLATE RULE 51

    USE GUI TO CONFIGURE FOR THE CUSTOMER ADMINISTRATOR 52 - 54

    Appendix 55

    HQ DALLAS ROUTER CONFIGUREATION 56 - 59

    SAN DIEGO ROUTER CONFIGUREATION 60 - 62

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    5/64

    Page - 4 - of64

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    6/64

    Page - 5 - of64

    OBJECTIVES

    PSTN

    HQ PHASE I

    BRANCH

    PHASE IIPHASE - III

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    7/64

    Page - 6 - of64

    PHASE ICONVERGENCE-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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    8/64

    Page - 7 - of64

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    9/64

    Page - 8 - of64

    PHASE IIICONNECTIVITY BETWEEN OFFICES

    PSTN

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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    10/64

    Page - 9 - of64

    PHASE I

    MAIN OFFICE

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    11/64

    Page - 10 - of64

    PHASE 1 CHECK LIST

    COMPLETEDIP ADDRESSING SCHEME

    PORT ALLOCATION

    PHONE NUMBER PLAN

    SWITCH

    CONFIGURATION

    TRUNK CONFIGURATION

    VLAN CONFIGURATION

    PORT ALLOCATIONS

    ROUTER

    CONFIGURATION

    TRUNK CONFIGURATION

    DHCP CONFIGURATION

    TFTP CONFIGURATION

    TELEPHONY SERVICES

    CONFIGURATION

    CREATE EPHONE DIRECTORY

    ASSIGN EPHONES

    DIAL PEER FOR ANALOGUE PHONE

    IP PHONES CLEAR IP PHONES

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    12/64

    Page - 11 - of64

    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 Network Address Broadcast Address Subnet Mask

    Management 10.2.0.0 10.2.255.255 255.255.255.0

    Data 10.20.0.0 10.20.255.255 255.255.255.0

    Voice 10.25.0.0 10.25.255.255 255.255.255.0

    2050

    2001

    2002 2003

    BOSS PHONE

    SECRETARY

    2100

    BOSS

    WORKSTATION

    WORKSTATION

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    13/64

    Page - 12 - of64

    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 dot1qswitchport trunk native vlan 20

    switchport mode trunk

    switchport voice vlan 25

    spanning-tree portfast

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    14/64

    Page - 13 - of64

    interface FastEthernet0/6

    switchport trunk encapsulation dot1q

    switchport trunk native vlan 20

    switchport mode trunkswitchport 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 dot1qswitchport trunk native vlan 20

    switchport mode trunk

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    15/64

    Page - 14 - of64

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    16/64

    Page - 15 - of64

    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 VlanCOMPANY_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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    17/64

    Page - 16 - of64

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    18/64

    Page - 17 - of64

    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 2001label 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 2003label OFFICE PHONE 2003

    name OFFICE 2

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    19/64

    Page - 18 - of64

    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 commandto 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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    20/64

    Page - 19 - of64

    CONNECTIVITY TESTS

    Phone connectivity

    Destination Phone

    Number

    2050

    2001

    2002

    2003

    2100

    SourcePhone

    Number

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    21/64

    Page - 20 - of64

    PHASE II

    BRANCH

    OFFICE

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    22/64

    Page - 21 - of64

    PHASE II CHECKLIST

    COMPLETED

    IP ADDRESSING SCHEME PORT ALLOCATION

    PHONE NUMBER PLAN

    SWITCH

    CONFIGURATION

    TRUNK CONFIGURATION

    VLAN CONFIGURATION

    PORT ALLOCATIONS

    ROUTER

    CONFIGURATION

    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

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    23/64

    Page - 22 - of64

    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 Network Address Broadcast Address Subnet Mask

    Management 10.4.0.0 10.4.255.255 255.255.255.0

    Data 10.40.0.0 10.40.255.255 255.255.255.0Voice 10.45.0.0 10.45.255.255 255.255.255.0

    PSTNFa 0/0

    Fa 0/0/0

    Fa 0/0/1

    Fsx 0/1

    Fa 0/11

    Fa 0/12 Fa 0/13

    Fa 0/14

    IP PHONES

    VLAN NETWORK ADDRESS

    MAN 10.4.0.0

    VOICE 10.45.0.0

    10.3.0.99 / 24

    WORKSTATION IP NETWORK

    10.3.0.0 / 24

    4001

    4002

    4100

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    24/64

    Page - 23 - of64

    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/14description

    switchport mode access

    spanning-tree portfast

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    25/64

    Page - 24 - of64

    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.0option 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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    26/64

    Page - 25 - of64

    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.bintftp-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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    27/64

    Page - 26 - of64

    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 VLANip address 10.45.0.1 255.255.255.0

    no shutdown

    exit

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    28/64

    Page - 27 - of64

    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 PHONEswitchport trunk native vlan 40

    switchport mode trunk

    switchport voice vlan 45

    no shutdown

    exit

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    29/64

    Page - 28 - of64

    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 4002ephone-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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    30/64

    Page - 29 - of64

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    31/64

    Page - 30 - of64

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    32/64

    Page - 31 - of64

    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 ProtocolVersion 4 (TCP/IPv4) andthen 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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    33/64

    Page - 32 - of64

    INSTALLATION AND SET UP OF PBX

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

    2) From the dropdown list select 10.3.0.99 asyour Default Local IP Address and then

    click Next.

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    34/64

    Page - 33 - of64

    3) Leave blank in Public IP and click Next

    4) Click Create New PBX button and thenclick Next

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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    35/64

    Page - 34 - of64

    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 Extensionwindow.

    Enter Extension Number, User First and

    User Lastname and Authentication ID and

    AuthenticationPassword, finally Select

    Interface and click Add.

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    36/64

    Page - 35 - of64

    9) Operator Extension:Select the Operator Extension: 3000

    Voice mail extension: 9999

    Click Next

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

    11)Wait for 3CX Wizard creates configurationdatabase.

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    37/64

    Page - 36 - of64

    12)Finish window for Create ConfigurationDatabase and click Next.

    13)Online Registration form. Skip it and clickNext

    14)Initial Setup for 3CX completed.

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    38/64

    Page - 37 - of64

    INSTALLATION AND SETUP FOR PBX SOFTPHONES

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

    2) Under Active, click New account thenclick Edit

    3) This is Account Setting Window.

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    39/64

    Page - 38 - of64

    4) Set a new account for John Smith, givethis 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 appearson the Accounts.

    6) John Smith appears on the 3CX IPPhone.

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    40/64

    Page - 39 - of64

    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.

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    41/64

    Page - 40 - of64

    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.

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    42/64

    Page - 41 - of64

    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 4for 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.

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    43/64

    Page - 42 - of64

    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.

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    44/64

    Page - 43 - of64

    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.

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    45/64

    Page - 44 - of64

    PHASE III

    CONNECTING

    SITES

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    46/64

    Page - 45 - of64

    IP ADDRESSING SCHEME AND PORT ALLOCATION

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

    PSTN

    172.16.0.1 / 24

    172.16.0.2 / 24

    Serial 0/3/0

    Serial 0/3/0

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    47/64

    Page - 46 - of64

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    48/64

    Page - 47 - of64

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    49/64

    Page - 48 - of64

    PHASE IV

    BONUS

    FEATURES

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    50/64

    Page - 49 - of64

    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 one-

    way 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 6660intercom 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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    51/64

    Page - 50 - of64

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    52/64

    Page - 51 - of64

    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 terminaltranslation-rule 1

    Rule 0 2677 2050

    ephone-dn 2 dual-line

    translate called 1

    ephone-dn 4

    translate called 1

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    53/64

    Page - 52 - of64

    USE GUI TO CONFIGURE FOR THE CUSTOMER ADMINISTRATOR

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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    54/64

    Page - 53 - of64

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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    55/64

    Page - 54 - of64

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

    and select OK

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    56/64

    Page - 55 - of64

    APPENDIX

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    57/64

    Page - 56 - of64

    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.1default-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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    58/64

    Page - 57 - of64

    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-uaauthentication 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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    59/64

    Page - 58 - of64

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    60/64

    Page - 59 - of64

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    61/64

    Page - 60 - of64

    COMPLETE SAN DIEGO ROUTER CONFIGUREATION

    hostname SANDIEGO

    !

    ip dhcp excluded-address 10.45.0.1 10.45.0.10ip 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/0description >>> 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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    62/64

    Page - 61 - of64

    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

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    63/64

    Page - 62 - of64

    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 7940button 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 4exec-timeout 0 0

    password cisco

    no login

    !

    scheduler allocate 20000 1000

    !

    end

  • 8/2/2019 Ccna Voip Case Study_cme to 3cx_smc Team

    64/64