Ccnavoice
Ccnavoice
Ccnavoice
CCNA Voice
Abdul Jaseem VP
CCNA VOICE Guide 1.0 (43 Pages)
Warning!
Reproduction or copying exact content from this guide strictly prohibited.
1
CCNA VOICE
3
CCNA VOICE
4
CCNA VOICE
When handset picked up (off-hook) connects the 48V circuit that draws
current from the device (Router, PSTN, etc.) & indicates the change in status
Router or PSTN provide dial-tone to the end device
User dial the number and destination Rings
Destination off hook, (Router, PSTN) bridge 2 calls each other
(Glare issue: when user dial & other used off-hook same time)
Understanding PSTN
When phone system was originally created, individual phones were wired
together to allow communication. If you wanted to connect more than one
person you need multiple cables and ports. PSTN eliminates this difficulty.
Public Switched Telephone Network, PSTN is a huge voice network having dial
plan to all over the world.
PSTN is a network of networks, which connects multiple telecom providers
together in to a massive worldwide network.
All the telecom service provides in the world communicate together via a
common protocol called SS7 (Signaling System 7)
5
CCNA VOICE
When user makes a call, the first CO performs an SS7 lookup to locate
the destination, once found SS7 responsible for call routing through the
voice network
Components of PSTN
Understanding PBX
Many organizations have thousands of phones internally, if they purchase
direct PSTN connections the cost would be huge! PBX (Private Branch Exchange)
eliminates this issue. PBX allows to internally manage in-house telephones.
It gives flexibility to internal users to make calls without using PSTN
resources (free internal extension to extension call)
External calls handled by Trunk lines.
PBX Components
Line Card: Provide connection between telephone and PBX
6
CCNA VOICE
Trunk Card: Provide connection from PBX to PSTN or to other PBX
Control Complex: Intelligence behind PBX system. Call Routing, setup etc.
PSTN Connections
--PSTN Numbering Plan (Country Code, Area Code, Site code, Subscriber
Number)
Why VoIP?
Convert analog voice signal to digital and then placing the binary values as
data packet with IP Addressing headers and finally sending over data network.
Reduced cost of communication: VoIP calls are absolutely free of cost
(internet or WAN charges are applicable)
Reduced cost of cabling: Single Ethernet cable carries voice & Data
Take your Phone with you (Mobility)
IP Soft Phone
Feature-rich communication: Voice, Data & Video combined together (E.g.: IVR)
Open Standard: PBX are basically proprietary locked. VoIP uses ICT/IP
standard
7
CCNA VOICE
Human ear : 20 – 20,000 Hz
Human Speech : 200 – 9,000 Hz
Telephone Channel : 300 – 3,400 Hz (Enough to convey mood of the caller)
Nyquist Theorum : 300 – 4,000 Hz (2x4000 = 8000 Samples per sec)
2. Quantization
Assigning values to sampled values.
A sample is a numeric value consumes a single byte (8 Bit) of information.
4. Compress (Optional)
Send a single sound sample and tell the remote device to continue playing that for
certain time. It reduces the bandwidth.
Codecs based on compression technique
Common compression: G.729 = 8 Kbps
8
CCNA VOICE
--CUCM Cluster
10
CCNA VOICE
Features of CUCM
11
CCNA VOICE
CUCM Installation
1. Setting Virtual Machine (Virtual Hardware)
Create New Virtual Machine → Typical Next → Select ISO → Credentials (Linux Root) →
VM Name, Location → 80 GB → Next → Customize Hardware (RAM 2GB, Bridge) → Finish
2. Installing CUCM
Media Check No → Agree → OK → Install → Proceed → Upgrade No → Windows data Import
No → Continue → Time Zone (Asia/ Culcutta) → Automatic Negotiation of NIC Yes →
Change MTU Size NO → Use DHCP NO (Host Name, IP, Mask, Gateway) → DNS NO →
Credential (Platform Administration) → Certificate Info → 1st Node YES → NTP (Real
time YES/ LAB NO) → Clock Info → Database Access Password (For DB replication,
Communication between nodes) → SMTP NO → Web Page Credentials → Platform
Configuration Complete OK
12
CCNA VOICE
5 Consoles in CUCM
1. Cisco Unified CM Administration: Core/ Day to day Administration
2. Cisco Unified Service Ability: For Services, Issues Debug
3. Cisco Unified OS Administration: Like an OS (Change IP, Ping, etc)
4. Cisco Unified Disaster Recovery: Backup & restore DB
5. Cisco Unified Reporting: Report, Status report, Call Duration, etc
14
CCNA VOICE
15
CCNA VOICE
IP standard provides network based time synchronization. It ensure same
time on all devices based on time different time zones. Time synchronization is
important for many functions to operate
CDP (Cisco Discovery Protocol):
Is a cisco proprietary L2 protocol provides network mapping information for
directly connected Cisco devices
DHCP (Dynamic Host Configuration Protocol):
DHCP is faster, easier, widely accepted method to distribute IP information to the
clients. It provide following information to the IP Phones
IP Address
Subnet Mask
Default Gateway
DNS Server
TFTP Server IP
DHCP can be provided by an existing DHCP server or Local router or CUCM itself
TFTP (Trivial File Transfer Protocol):
IP Phones utilize TFTP to download their configuration files, firmware images etc.
Normal TFTP server can’t fulfill IP Phones requirement, hence we must have CUCM
TFTP server. Server uses Port 67 and client uses port 68.
DORA Process in DHCP
Discover: Broadcast: Can somebody give me an address?
Sender 0.0.0.0 UDP 68, Receiver 255.255.255.255 UDP 67
Trying to discover whether there is any DHCP Server
Offer: Broadcast: I can give you 192.168.1.2, Mask, G/W, DNS, Lease Duration
Sender 192.168.1.1 UDP 67, Receiver 255.255.255.255 UDP 68
Request: Broadcast: I want to accept the offer, allow me to use 192.168.1.2 for
3600 seconds. Client takes the address offered by the Server pool
Sender 0.0.0.0:68, Receiver 255.255.255.255:67
ACK: Unicast to confirm the acceptance of provided IP info
PoE (Power Over Ethernet):
Provides DC power over Ethernet cabling. Helps less cabling efforts and cost saving
(Wiring, No Power supply needed)
DNS (Domain Name System)
16
CCNA VOICE
DNS provides IP to Domain mapping and vice versa. It is not critical to IP
Phones. ADNS server must be external to the CUCM Cluster; DNS is not a service that
CUCM can offer.
Voice Enabled
Switch
CUCM
IP: 142.100.69.10/16
User PC
IP: 142.100.69.5/16
17
CCNA VOICE
Cisco Unified CM Administration → System → DHCP → DHCP Server
Find → Add New
Host Server (Select) → Save
18
CCNA VOICE
19
CCNA VOICE
Line Template Name* <LINE_7960_SCCP_FINANCE_DEPARTMENT_PHONES>
→ Save
Related Links → Configure Device (7960_SCCP_FINANCE_DEPARTMENT_PHONES) → Go
→ Save
3. Creating Phone File Format
Bulk Administration → Phone → Phone File Format → Create File Format → Find →
Add New (or copy ‘Simple Phone Format’ then edit)
Format Name* <7960_SCCP_FINANCE_DEPARTMENT_PHONE_FILE_FORMAT>
Device Fields: Device Name, Description
Line Fields: Directory Number
IP Phone Service Maximums: Maximum Number of Lines: 1
→ Save
4. View File Format
Bulk Administration → Phone → Phone File Format → Add File Format →
Format File Name* <7960_SCCP_FINANCE_DEPARTMENT_PHONE_FILE_FORMAT>
Then click (View File Format) link, copy the content to a notepad file.
DEVICE NAME,DESCRIPTION,DIRECTORY NUMBER 1
Sample: (7960_SCCP_FINANCE_DEPARTMENT_PHONES_BAT.txt)
20
CCNA VOICE
Bulk Administration → Job Scheduler → Find → Click Job ID → Log File Name and
check the status
7. Insert Phones
Bulk Administration → Phones → Insert Phones →
File Name* <7960_SCCP_FINANCE_DEPARTMENT_PHONES_BAT.txt>
Phone Template Name* <7960_SCCP_FINANCE_DEPARTMENT_PHONES>
(Optional: Override Options)
Job Information
Job Description <7960_SCCP_FINANCE_DEPARTMENT_PHONES_INSERTING>
Run Immediately <Check>
→ Submit
Bulk Administration → Job Scheduler → Find → Click Job ID → Log File Name and check the
status
Go to Device → Phones to see registered Phones.
21
CCNA VOICE
Association Information
Select buttons
2. Speed Dial Settings
Speed Dial Settings
Number Label ASCII Label
1 1003 MANAGER MANAGER
→ Save → Close
Abbreviated Dial Settings
Number Label ASCII Label
2 1004 USER1 USER1
AbbrDial softkey is used to dial Abbreviated speed dial
4. Add a new SURL
5. Add a new BLF SD (Busy Lamp Field / Speed Dial)
Destination Directory Number Label Label ASCII
1001 <None> MANAGER MANAGER
→ Save → Close
6. Add a new BLF Directed Call Park (Busy Lamp Field/Directed Call Park Button Settings)
Directory Number:Partition Label Label ASCII
PARK1 PARK1
→ Save → Close
Softkey Template
Controls what Softkey button functions are available to the user (Redial, Hold,
Conference, Transfer, Park, Mobility etc.)
Device → Device Settings → Softkey Template → Find
Copy ‘Standard User’
Name* <SPECIAL_USER>
Description <FOR_SPECIAL_USERS>
Related Links: Configure Softkey Layout → GO
Select a call state to configure (ON HOOK, OFF HOOK, ON HOLD, CONNECTED, etc.) and assign
Required Softkeys.
→ Save
Device Pool
It provides a set of common configuration to a group of devices. Typically we are creating
one devoice pool per an area (but we can create more if needed).
System → Device Pool to see the existing device pool
The components of device pool is given below.
22
CCNA VOICE
NB: If we check Auto-registration Cisco Unified Communications Manager Group, all the Auto
Reg phones comes under this group
23
CCNA VOICE
3. Region:
It used to set bit rate for a call. Same region uses High Bit Rate Codec and region
to other region uses low bit rate codec. ( Same region call: G.711, Region to Other
region: G.729)
Configuration
System → Region → Find
Add New
Name* BANGALORE_REGION → Save
Modify Relationship to other Regions
BANGALORE_REGION G.711
→ Save
Add New
Name* CHENNAI_REGION → Save
Modify Relationship to other Regions
BANGALORE_REGION G.729
CHENNAI_REGION G.711
→ Save
Add New
Name* DELHI_REGION → Save
Modify Relationship to other Regions
BANGALORE_REGION G.729
CHENNAI_REGION G.729
DELHI_REGION G.711
→ Save
4. Location:
To set Bandwidth, defines maximum amount of band width used by calls from a
location. Each call is tracked and bandwidth used is deducted from the total of
that location. If bandwidth of the particular location exceeds the call may dropped
or routed to PSTN.
Configuration
System → Location → Find → Add New
5. SRST Reference
System → SRST → Find → Add New
24
CCNA VOICE
Name* <BANGALORE_GATEWAY_SRST>
Port* 2000
IP Address* <142.100.69.254>
→ Save
6. MGRL
7. Auto Registration CSS (Auto Call to Admin)
8. LRG
Configure Device Pool
System → Device Pool
Device Pool Settings
Device Pool Name* BANGALORE_DP
Cisco Unified Communications Manager Group* BANGALORE_GROUP1
Roaming Sensitive Settings
Date/Time Group* <BANGALORE_TIME_1>
Region* <BANGALORE_REGION>
SRST Reference* <BANGALORE_GATEWAY_SRST>
→ Save
Applying Device Pool to Phones
Device → Phone → Phone Configuration page → Device Pool <BANGALORE_DP>
→ Save
25
CCNA VOICE
26
CCNA VOICE
TCP Connection
TCP Response
SCCP Keep alive (30s)
SCCP Response
PRIMARY SERVER
SECONDARY SERVER
TERTIARY SERVER
6. PROPERTY NEGOTIATION
(IP, Port No:, Codec)
Key Protocols
SCCP (Signaling Protocols)
SIP (Signaling Protocols)
RTP
Call Flow
1. ‘A’ sends SCCP OFF HOOK signal to CUCM
2. CUCM sends DIAL TONE to ‘A’
27
CCNA VOICE
3. ‘A’ dials DIRECTORY NUMBER (DN) [Digit by Digit (SCCP) or En block (SIP)]
4. CUCM check DIAL PLAN (DN, Manipulation, Call Privilege, Call Coverage)
5. When match found CUCM send SCCP RING signal to ‘B’ and SCCP RING BACK signal to ‘A’
6. ‘B’ attended the call
7. Property negotiation (IP, Port No:, Codec)
8. Establish end to end RTP media streaming + RTCP
Maximum Number of Calls and Busy Trigger
Maximum Number of Calls: = Active calls + outgoing calls
Busy Trigger: = Active Calls + Incoming Calls
Maximum Number of Calls >= Busy Trigger
User Accounts
Why would we create End users?
• Next evolution of phone system (Like Skype)
• Soft Phones requires user logins (Call center setup)
• SIP Phone need user account
• User can manage their own phones (Reducing administrator load - Speed
Dial, Change Language)
• Extension mobility (Like Roaming Profile in Windows)
• Tracking (All international Phone calls report per user)
1. End User
End users are typically people who type User Name & Password in a login screen
(usually web page) to access some features or control.
• Associated with actual person
• For individual interactive login
• Used to assign user features and admin rights
• Create locally & Can be integrated with LDAP (Light Weight Directory
Access Protocol- Microsoft, Netscape, SUN, IPLANET)
2. Application User
Application user is typically applications which send authentication information to
read or write something on the system.
• Associated with an Application
• For non-interactive logins
• Used for application authorization
• Create locally, unable to integrate with LDAP
28
CCNA VOICE
29
CCNA VOICE
3. Roles assigned to Privileges
1. Creating Groups
User Management → User Group → Add New
Name : Read_Only_Administrator_Group
Add End User to the Group → Select User → Add Selected → Save
2. Creating Roles
User Management → Roles → Find → Copy/ Add New
Role Information: Application →
Cisco Call Manager Administration
Cisco Call Manager Service Ability, etc. → Next
Name : Read_Only_Administrator_Roles
3. Select Privileges according to our requirement
4. Assign Roles
User Management → User Group → Roles (!) → Assign Role to Group → Select Roles
(Read_Only_Administrator_Role)
Standard CCM Admin Users (To get the Web Page Access)
→ Add Selected → Save
30
CCNA VOICE
Transaction Type : Insert Users
Step 5. Insert Users
Bulk Administration → Users → Insert Users
LDAP
LDAP allows organizations to create single, centralized directory information
store. LDAP holds informations about User Account, Passwords, Privileges, etc.
Informations in LDAP available to other applications & softwares hence no need to
maintain separate directories. It simplifies user administration because only need
to store user information in a single place.
LDAP Sync: some user data is maintained in LDAP Server & replicated to CUCM.
General data obtained from LDAP will be read only. But some user attributes can be
edited from CUCM. User password is local to the CUCM only.
LDAP Sync: General info managed from LDAP server, Password managed from CUCM
LDAP Authentication: It redirects the password authentication from CUCM to LDAP
System. Centralized password system. It problem in LDAP authentication, when LDAP
server fails nobody can login.
LDAP Mechanism
1. All existing User account in CUCM database are deactivated (not deleted)
2. Accounts whose CUCM User ID exactly match with user ID in LDAP are
reactivated & its attributes updated from LDAP to CUCM
3. LDAP accounts are replicated to CUCM database
4. CUCM deactivated accounts will be deleted after 24 hours
31
CCNA VOICE
Action Center flag → Promote this server to a domain controller
Add a new forest → Domain name <smart.com> → Next
Directory Service Restore Mode (DSRM) <********Ciscovoice123>
→ Next → Next → Next → Next → Next → Install
2. ADDS Configurations
Server Manager → Tools → Active Directory Users and Computers
Right click on the domain name <SMART.COM> → New → Organizational Unit
Give a name <CUCM Users> → OK
Expand the OU and create users (Last Name is used for SYNC)
32
CCNA VOICE
LDAP Password <Ciscovoice123>
Confirm Password <Ciscovoice123>
LDAP User Search Base <ou= CUCM Users, dc=smart, dc=com>
Host Name or IP Address for Server LDAP Port
142.100.128.0 389
→ Save
1. Shared Line
Same Directory Number for many phones, all those phones will ring same time.
Cisco Unified CM Administration → Device → Phone → <Select Phone> → Line [2] - Add
a new DN
→ Directory Number* : 1111 → Save
NB: All the phones will be ringing simultaneously, when connected to one, others
will be in ‘Remote in Use’ mode. When the connected phone goes to ‘Hold’ others can
‘Unhold or Resume’ the call (Less Privacy)
33
CCNA VOICE
Create a Phone Button Template with ‘Privacy Button’ and apply to the
shared line phones.
Enable ‘Barge Soft Key’ while ‘Remote in Use’ state, or use ‘Standard Feature Soft
key template’
(Single Phone)
Device → Phone → <Select Phone>
Built In Bridge : On
Privacy : Off
Or (Cluster wide)
Cisco Unified CM Administration → System → Service Parameters
Server : <Select Server>
Service : Cisco Call Manager (Active)
3. Join Conference
This uses CUCM resources to perform conference.
Enable ‘Join’ soft key while connected state
Answer call → put on hold → Answer next call → Put on hold → Join button
3 call on hold press Join Button
4. Call Back
Monitor the availability of another user when he come back.
Add soft key ‘Call Back (CallBack)’ template while ‘on hook & ring out’ state.
Dial a Number + CallBack
5. Call Forward
All or some calls to be forwarded to a destination number by the User or
Administrator either at the phone itself or at CUCM User/Admin pages. During call
forward, the CSS in device & Line are ignored, hence Call Forward CSS must be
configured.
1. Forward All from the Phone
Set Call forward All (CFwdALL) all soft key while ‘On Hook’ state
34
CCNA VOICE
6. Transfer
Transferring is a kind of forwarding done after speaking between two parties.
1. Consulting Transfer
There will be a consulting between 2 parties before transferring. We have to press
the Transfer Softkey 2 times, one to start consulting and again to transfer call.
Also user can Press Transfer Softkey + DN + Transfer Softkey without consulting.
Enable ‘Transfer (Trnsfer)’ soft key while Connected state
2. Direct Transfer
Call 1 : Hold
Call 2 : Active
Select Held call the Press DirTrfr
DirTrfr : Call 1 & Call 2 get connected
Enable ‘Direct Transfer (DirTrfr)’ soft key while Connected state
7. Call Park
Allows user to temporarily attach a call to a Park Slot number. It is a special
kind of holding.
Call Routing → Call Park →
Call Park Number/Range : 222X
35
CCNA VOICE
Cisco Unified Communications Manager : CUCM-SUB01
Enable ‘Park’ soft key while connected state
9. Call Pickup
Ability to pick someone else ringing phone.
Define a soft key template while ‘on hook’ state consisting following keys
Pick Up (PickUp)
Group Pick Up (GPickUp)
Other Pickup (oPickup)
Create Pickup Groups
Eg. Group 1:
Call Routing → Call Pickup Group
Call Pickup Group Name : SALES_GROUP
Call Pickup Group Number : 1999
Description : SALES_GROUP_PICKUP_NUMBER
→ Save
Eg. Group 2:
Call Routing → Call Pickup Group
Call Pickup Group Name : PURCHASE_GROUP
Call Pickup Group Number : 2999
Description : PURCHASE_GROUP_PICKUP_NUMBER
→ Save
Associate Phones to Pickup Group
36
CCNA VOICE
Device → Phones 1 → Line → Call Forward and Call Pickup Settings →
Call Pickup Group : SALES_GROUP
37
CCNA VOICE
11. Services
Future topic
38
CCNA VOICE
39
CCNA VOICE
Perform Analysis
Analysis → Phones → Select Phone → Enter Dialed Digit → Analyze
Analysis → Trunks → Select Trunk → Calling Party Number, Called Party Number →
Analyze
CUCM Reporting
Cisco Unified Reporting tool pulls informations from a range of sources related to
troubleshooting and maintaining & system analysis of CUCM.
Cisco Unified Reporting → Go or
https://<IP_ADDRESS_OF_CUCM>/cucreports
40
CCNA VOICE
Cisco Unified Crevice Ability → Tools → Service Activation (PUBLISHER) →
Cisco CAR Web Service → Save
Then go to https://<IP_ADDRESS_OF_CUCM>/car
41
CCNA VOICE
It is a software installed on Administrators work station. It is available
to download from CUCM plugins menu itself.
Cisco Unified CM Administration → Applications → Plugins → Find → Cisco Unified
Real-Time Monitoring Tool – Windows → Download
Capabilities of RTMT
Monitor system health
Generate e-mail alerts for objects that fall below or exceed defined
threshold value
Collect, view different trace files
View Syslog messages
Configure & Monitor Performance counters
Gateway Activity (H.323, MGCP, FXO/FXS, T1/E1, SIP/IC Trunks) informations
Dependency Record
Step 1 Choose System > Enterprise Parameters.
Step 2 Scroll to the CCMAdmin Parameters area of the window.
Step 3 From the Enable Dependency Records drop-down list box, choose False.
A dialog box displays with a message about dependency records. Read the information
carefully before clicking OK.
Step 4 Click OK.
The field displays True.
Step 5 Click Update.
Step 6 Close the browser that you are using; then, reopen the browser. This
makes the parameter take affect for the entire system.
42
CCNA VOICE
DHCP: 142.100.64.0/24
CUCM: TFTP: 142.100.64.11/24
142.100.64.211/24
43