CUCM, Media Resource Group, Uncategorized

Media Resource Groups

The Most Important Element in CUCM World is the Media Resource. it’s used in order to allow an administrator to allocate media resources to particular devices.
There are five types of media resources available in Cisco:
Annunciator, Conference Bridges, Media Termination Point, Transcoder and Music On Hold
Annunciator is uses Cisco media streaming application service to play prerecorded announcements

Conference Bridges Without Saying it explain it self and can be either software or hardware applications

Media Termination Point or MTP can be used to transcode G.711 a-law audio packets to G.711 mu-law packets and vice versa. CUCM Software MTP can only work for G711 codec, however IOS MTP can have multiple codes

Transcoder when two Phones using different codecs would not be able to communicate so here were the Transcoder Job Come
Such Case Like conferencing, CUE use only G.711 so if another Coded used you need Transcoder, UCCX Support G.711 or G.729 so in case you need Both you need a Transcoder. Forward and transfer Call in case of Different Codec Also you need a Transcoder.

Music on Hold is the Boring Music that everyone hear when someone put us in hold ;D

So here i will guide you on how to configure my 4 Most Charming Feature (MTP, Transcoder, Conference and MOH)

First We start by Configure the IOS Side
Allocating DSPs to a DSP Farm on Router
1

Then i Start to Configure the DSP-farm profiles for Each (MTP, Transcoder and Conference)
3

4

5
Note.Make Sure to Issue Command No Shut after Each Profile Configuration
After the profiles are set up i start by the SCCP Configuration
The routers use their Gigabit Ethernet 0/0 interface as the SCCP source interface, and the primary Cisco Unified Communication Manager should be 192.168.200.229 which my Publisher and for Better Practice it should be the Subscriber but i Only have one in  the Lap

2
Last thing in IOS I Configure the SCCP Group
associated the CUCM with priority
associated Each Media Profile and Register with a name that i will use later in the CUCM Registration

6

Now the CUCM Part first start with MTP
go to Media Resource – Media Termination point – Add New
Select Cisco IOS Enhanced Software Media termination point
put the Name in the IOS which (MAINMTP)
Select the Device pool
Save – Reset
7
Now the Transcoder
go to Media Resource – Transcoder – Add New
Choose Cisco IOS Enhanced Media Termination point
Choose Device Name Configured in IOS Whcih (MAINXCODER)
Select the Device Pool
Save – Reset8
and Last the Conference
go to Media Resource – Conference Bridge – Add New
Choose Cisco IOS Enhanced Conference Bridge
Choose Device Name Configured in IOS Whcih (MAINCFB)
Select the Device Pool, Location and Device Security Mode as Non Secure
Save – Reset9

Last But Not Least to Configure MOH
Add the Audio File
Media Resources – MOH Audio File Management – Upload File From Desktop
1
2
3Then Create an MOH Source
Go to Media Resources – Music On Hold Audio Sources – Add New
Choose Number and Select the Audio Source that you Just Upload
4
Last Thing is to Configure the MOH Server
Go to Media Resources – Music On Hold Server Audio Sources
Select the Device Pool, Location
Note.in Case of Multi Casting then you need to Check the Box for Enable Multi-cast Audio Sources on this MOH Server5
Now Assign the MOH to the Phones
7Finally we Done with the Resources, it’s Time to add them all Under one group
go to Media Resource – Media Resource Group – Add New
Name it in my Case i Name it (MainOffice)
Choose the Resource you Just Configured (MAINMTP, MAINXCODER, MAINCFB and MOH_2 (MOH))
Add them
Save
6
Note.Also be Aware in case of Multi casting you need to Check the Box Use Multi-cast for MOH Audio (If at least one multi-cast MOH resource is available)
Now Create an Media Resource List and add the Group to it
go to Media Resource – Media Resource Group List – Add New
Name it in my Case i Name it (MainOffice)
Choose the Media Resource Group I Just Configured
11
Finally Assign the Media Resource Group List to the Device pool 12
And Done
now you Allocated the Media Resource List i Configure for Each Member of this Device Pool

For Conference check this Link
For Music on Hold Video check this link

Standard
BAT, Uncategorized

Cisco Bulk Administration Tool (BAT)

I Call this : The Quick and dirty way

in earlier post i explain the Latest CUCM 10 feature SELF-Provisioning  were End user should input His Self-Service user ID to Provision a phone.
Today  I guide you through the most powerful tool of Cisco Unified Communications Manager mainly use to insert users, phones …etc.
BAT is an Old Feature for CUCM and usually use during big phone deployments.
please refer to Cisco Web for a complete guide on how to use bat.
i am here only to explain to you how to add Phones using BAT.

First Go to Bulk Administration – Upload/Download Files – Select bat.xlt and press Download Selected

1

Open the bat.xlt and Excel sheet will open then Choose to create File Format2

Adjust the File as you wish
MAC Address, Description, Directory Number, Line Description, Alerting Name …etc Then press bellow Magic Button (Create)3

it will ask you to overwrite the Excel file just press Yes4

Then Fill the Detail you need and Choose Export to BAT Format
and Save the File in your Desktop 5

Successfully Saved
6

Now Back to CUCM Bulk Administration – Upload/Download Files – and this time choose to Upload a new File
Choose  your BAT that you saved in Desktop and Select the transaction Type then Save.
it will be uploaded7

Now go to Bulk Administration – Phones – Phone Template -Create New one for the Specific Phone Model
8
Configure your Device pool, Phone button template …etc9

10
Then Configure the Directory line, Partition and Calling Search Space11
After That we need to Validate our BAT File with the Phone Template
go to Bulk Administration – Phones – Validate Phones
Select the  BAT and Phone Template
12
After that to check everything gone correctly go to Bulk Administration – Job Scheduler
it successfully Validate13
you can also check the text Report14
Now time to insert the Phones
go to Bulk Administration – Phones – Insert phones
Choose the BAT File and Phone template & Run Immediately15

Again you need to check everything gone Smoothly so
go to Bulk Administration – Job Scheduler
it Successfully Passed16
Also Check the Text To for any Error
17

Here is the Best part when i see My Phone Registered Just Fine ;D18

Standard
Prime Collaboration Deployment, Uncategorized, Upgrade CUCM

Upgrade CUCM 8.6 to 11 Using PCD

Performing upgrades and migrations of CUCM has always been a long, manual process that required lots of staging and prepping as well as after-hours work.  With the release of version 10.X Collaboration Suite, a new product called Cisco Prime Collaboration Deployment (PCD) was released.
It allows the user to perform tasks such as migration of older software versions of clusters to new virtual machines, fresh installs, and upgrades on current clusters.In summary automates upgrade and migration task.
Once PCD is installed and configured, it can be used to perform a variety of tasks cutting down on the amount of time and frustration of a large manual migration.

Supported Releases for the Upgrade Task on PCD Version 10.5

These include releases for the upgrade task on the Upgrade Application Server or Install COP files:

  • Cisco Unified CM Releases Supported: 8.6(1-2), 9.0.(1), 9.1(1), 9.1(2), 10.x
  • Cisco Unified Presence (CUP) Releases Supported: 8.6(3), 8.6(4), 8.6(5)
  • Cisco Unified CM – IM and Presence Releases Supported: 9.0(1), 9.1(1), 10.x
  • Cisco Unified Contact Center Express Releases Supported: 9.0(2), 10.x
  • Cisco Unity Connection Releases Supported:
    • From 8.6(x) to 8.6(x)
    • From 8.6(x) to 9.x
    • From 9.x to 9.x
    • From 10.0(1) to 10.x

This document is focused on the upgrade task on PCD Release 10.5.I show in an Earlier post the steps for Installation of PDC https://ccieroot.com/2016/03/23/installation-of-cisco-prime-collaboration-deployment/

I spend the last couple of weeks searching in internet for a way to upgrade from 8.6 to 11 and there was no single resource i could catch to it so i made my OWN

Note.The test been Done on UCSC-C220

So let’s Start
First Download the RSA Keys from Cisco Web Site

RSA keys are used to sign Cisco Unified Communications Manager releases and other updates such as Phone Firmware, Locales, Dialplans, other cop files. This cop can be installed on any UCM or see README for versions needing this cop.
ciscocm.version3-keys.cop.sgn
and put it in your SFTP Folder and Upload to your CUCM 8.6
1
Fill the SFTP Information
2
Choose the RSA Key
3

4

56
Then i will upload the Image to PCD through Filezilla
1
First Create a Site Manager2
Add the IP of your PCD and use Admin username : adminsftp & Password:same one used for web  login in PCD3

4
Press Ok
5
Now you are inside the PCD Directory if you need to upgrade an existing Cluster then copy the ISO to the Upgrade Folder if you want to create a new Cluster then copy the ISO to the Install Folder
In our Case i want to upgrade
1a

Select the ISO Image and Choose Upload4
Now the Upload Start
5
Now it’s Complete and the ISO Available Under your Upgrade Folder on the right and also you can check your Data store in the web page
4.png
Login to the PCD
232425
I can check my ISO Image from Administrator Tab – SFTP Datastore
6
Now To Add a Cluster go to Inventory – Clusters – Discover Cluster1
Fill the Cluster Information2
3
Then Choose to Assign Function to the Server4
Choose the Function that this CUCM is Providing5
Now we add the Cluster Successfully
6
Next Task is to Upgrade
From Task Tab – Upgrade
Then Choose to Add a New Upgrade Task
1
Select from the Drop Down the Cluster and the Product2
Browse From The SFTP The ISO Image
3
If the Image is not Valid or not Supported it will not Show when you select
“Valid Files Only”7Choose to Start Task Manually or Schedule and Choose Automatically Switch to the new Version After Successful upgrade6
you can Also Specify the Sequence 7
Review the Task Steps5.png
The Task been Added Successfully9
Now go to the right and click on Start Task Immediately 10
From Monitoring Tab you Can see your Task  8.png
or Press View Log and see what happening 12
You can Watch the Installation through the CLI Page
the system shutting down
6
Then the Installation Process Start8

9
Now Finally it Finished and it Switched to the New Image 11.0.110.png
And in the monitoring Page it show the task finish successfully on the PCD Page
9.png
Now Login to the Web Page

11.png
and Here the new CUCM Page and it shows the System Version 11.0.1 and you only need to upload the new License
11.png

;D

 

Standard
Cisco Jabber, Uncategorized

Installing and Configuring Cisco Jabber on IPhone

Long Time No See  ;D
i think by now everyone realize that cisco product Jabber Voice cant be downloaded in IPhone anymore which affect everyone as there EOL9796 – Amended
Cisco announces the end-of-sale and end-of-life dates for the Cisco Jabber Voice for iPhone. The last day to order the affected product(s) is January 31, 2015.

and i never cared after that till last week my manager Mr.Anas Aldeiri was in vacation and request to have his extension in his phone by any mean  and i start to keep looking and found out that there is another Cisco Jabber.
the New Cisco Jabber provide you by Chat, Phone Service, Conference and share photo

Last Post i show you how to Install & Configure IM and Presence 9.1 with CUCM 9.1 The Next step is to configure Jabber which can be done in a simple steps

First Just like you Adding a Normal Phone
Device – Phone – Add New
Cisco Dual Mode for iPhone
Then for IPhone Name Always start with TCTname and you should choose the Owner and the Primary Phone and the Digest User
1
2
3

Also enable video cause it’s disable by default
8

Second Add the Directory Number and Associate the Phone with the User

4
5
After that go to the User Option and Add the phone to the User
6

Now your Device is Ready go in your IPhone and Download from APP Store the Application Called : Cisco Jabber
2016-01-23 13.54.22

Please Excuse My Phone i dont Look at Email or SMS Alot
the APP Store Icon in Left Corner Down
2016-01-23 13.54.43.png

Now i Open the Application and Enter the Advanced Setting to Configure my IM Presence Option. you also can configure Phone Service Only or Webex
in Our Case My IM Presence IP Address is 192.168.200.10 and CUCM is 192.168.200.6

2016-01-23 12.19.53

Then Save and Back to Login Option
Put the Username and then Continue for Password Input

2016-01-23 12.20.08

2016-01-23 12.20.15

Finally I’m Done and You Can See i’m Available

2016-01-23 12.20.29.png

Then Let me Choose Contact to add my College Coco Test1 and Add him to a Company Group, I can also add him to my Favorite

2016-01-23 12.20.402016-01-23 12.20.452016-01-23 12.20.522016-01-23 12.21.032016-01-23 12.21.142016-01-23 12.24.16
I Click in the Right Arrow i can Call and Chat with my College COCO Test1 which he have Jabber in his PC

2016-01-23 12.25.14
2016-01-23 12.24.502016-01-23 12.25.202016-01-23 12.25.46
I have the Ability to Hold, Transfer and make Conference

2016-01-23 12.25.34

Inside the Chat i have the option to Send a Picture too

2016-01-23 12.27.48

2016-01-23 12.27.56

2016-01-23 12.28.042016-01-23 12.28.33

You can also have video call
File Jan 24, 5 13 50 PM

Also show me My Recent Call 2016-01-23 12.29.13

and the Status of my Jabber

2016-01-23 12.29.40

And Just Like That I made my Manager Happy

Standard
Uncategorized

Implementing SIP Gateways in CUCM

I been Requested to make a blog about SIP Implementation by a Big Company in Saudi Arabia which make me proud just to post this here so let me start by explaining ;D

To place external calls, Cisco Unified Communications Network (CUCM) deployment needs a connection the Public Switched Telephone Network (PSTN). Gateways can be integrated in CUCM by using different protocols such as Media Gateway Control Protocol (MGCP), H.323 or Session Initiation Protocol (SIP) for signaling on VOIP call legs.
In an Earlier Blog i show you how to Configure the CUCM and make Calls through an H.323 Gateway which an earlier technology https://ccieroot.com/2014/11/08/cisco-unified-communications-manager-cucm-initial-setup/

In this blog i will show you how to configure a SIP Gateway in CUCM and in the IOS so First Make Sure you have all your Information about the Numbering Range and the SIP Server with you so no Delay could happen in configuring your Site
in our example our Numbering Range is 2217910 to 2217919
and the SIP Server is  10.208.9.69
My Gateway IP is 172.29.7.94

in the CUCM go to Device – Trunk – Add New SIP Trunk and Device Protocol as SIP and None for Trunk Service Type
Name the Device anything you want and choose the correct Device Pool, Location and configure your Calling Search Space for inbound Call Then go down Type the Address of your Gateway n the Field of Destination Address in our case 192.168.200.86, Chose your SIP Trunk Security Profile and SIP Profile

Screenshot 2014-11-08 17.58.45

 

 

 

 

 

Screenshot 2014-11-08 17.58.49

 

 

 

 

Screenshot 2014-11-08 17.58.53

 

 

 

 

Now Configure the Dial Peer for the SIP in the CUCM
something you should make sure from is when you make a call to outside number that your the calling number which is your ID number is the 221791X not only 791X  cause then it will drop your call
so you have two option weather you make a translation rule or prefix the 221 in the dial-peer
in our example we prefix it in the dial peer
so Go to Call Routing – Route/Hunt – Route Pattern – Add New
we will configure a route pattern to a mobile Number so you choose the Route Pattern which is 9.05XXXXXXXX, Choose the Route Partition and the Gateway/Route List. Afcors click the Provide Outside Dial Tone and change the Call Classification to Offnet
and here is the extra thing that differ this from H.323 configuration which is the
Calling Party Transformations we add  to Prefix Digits (Outgoing Calls) 221

1

 

 

 

 

 

 

 

Now Let’s Configure the IOS

First let me configure my Interfaces

interface GigabitEthernet0/0
Description “Lan Connection”
ip address 192.168.200.86 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 172.29.7.94 255.255.255.252
duplex auto
speed auto

Then Enable the route to the SIP Server

ip route 10.208.9.0 255.255.255.0 172.29.7.93

Now lets enable the voice service and allow it to communicate with different protocol

voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
sip
early-offer forced

“early-offer forced” it allows SIP Gateway to route calls in a Delayed Offer to Early Offer scenario. Almost all of the providers require Early Offer SIP calls. It is actually recommended to send Early Offer from CUCM in order to avoid early media cut-through issues.

Now Configure the Translation rule for outgoing call
voice translation-rule 1
rule 1 /^9\(\)/ /\1/

Added to a translation Profile
voice translation-profile OUT
translate called 1

and then added to a dial-peer
dial-peer voice 700 voip
description ** SIP TO STC **
translation-profile outgoing OUT
destination-pattern 9T
session protocol sipv2
session target ipv4:10.208.9.69:5060
session transport udp
voice-class sip dtmf-relay force rtp-nte
dtmf-relay sip-notify rtp-nte sip-kpml
codec g711alaw

the Command
voice-class sip dtmf-relay force rtp-nte
dtmf-relay sip-notify rtp-nte sip-kpml
is optional you could have enouhg by using
dtmf-relay rtp-nte sip-notify
but i use it all for worse cases

and Since our Phone Extension is 4 digit only we need to make a translation rule that strip the Number from the 221 for incoming call

voice translation-rule 2
rule 1 /^2217/ /7/
rule 2 /^0122217/ /7/

and added to a translation profile
voice translation-profile SIP-IN
translate called 2

and then configure an Incoming Dial-peer
dial-peer voice 701 voip
translation-profile incoming SIP-IN
destination-pattern 791.
session protocol sipv2
session target ipv4:192.168.200.10
incoming called-number 012221791.$
dtmf-relay sip-notify rtp-nte sip-kpml
codec g711alaw

Also the Command
incoming called-number 012221791.$
is optional now you can use
incoming called-number .
or nothing at all the call will use the destination-pattern to reach the phone but i use it for worse cases

Now you can try to make a call and it will go through

 

Standard
Uncategorized

Cisco Unified Communications Manager (CUCM) Make It Work

I have created a blog before about the installation of the CUCM https://ccieroot.com/2014/10/24/installation-of-cucm-8-6/ but after that you need to complete couple of steps to make your cucm run like a charm and all of your phone able to call Each Other in the network so lets start

the first step which is optional is to change the server name to an IP Address in case you dnt have a DNS and change the timing of the Server

Go to System – Server – press Find and change the name to an IP

Screenshot 2014-11-08 16.28.23

 

 

 

 

 

Screenshot 2014-11-08 16.28.35

 

 

 

 

 

 

 

 

Go to System – Date/Time Group and then Save and Reset

Screenshot 2014-11-08 16.45.10

 

 

 

 

 

 

 

Second thing is the region which is configure by default, you can create a new one but in our case we will leave it as its
From System – Region Information – Region
Screenshot 2014-11-08 16.29.08

 

 

 

Third step is the Location which also configure by default which we will use
Go to System – Location info – Location
Screenshot 2014-11-08 16.30.19

 

 

 

 

 

Now the Biggest thing is the Device Pool which hold all this information together
Go to System – Device Pool and there is one configured by Default and configured with the CUCM Group and Region and the Timing you just need to add the Location to it
Screenshot 2014-11-08 16.46.51

 

 

 

 

 

 

 

Now go to Call Routing – Class Of Control – Partition – Add New

since this blog only about the initial Step after Installation of CUCM i will not explain the partition and CSS but i will show you how to configure it
Screenshot 2014-11-08 16.31.45

 

 

 

 

 

 

 

 

Save it and now Go to Call Routing – Class Of Control – Calling Search Space and configure the partition under each CSS that belong to
for Ex. Internal CSS only have internal partition which mean he can call people under internal Partition
Local CSS can call Internall Partition and also Local Partition…etc

Screenshot 2014-11-08 16.32.13

 

 

 

 

 

 

 

 

 

Screenshot 2014-11-08 16.32.21

 

 

 

 

 

 

 

 

 

Screenshot 2014-11-08 16.32.29

 

 

 

 

 

 

 

 

Screenshot 2014-11-08 16.32.37

 

 

 

 

 

 

 

 

Now we Configure the phones go to Device – Phone – Add New

Choose the Model of the phone and the protocol
in our case cisco ip phohne 8941 and protocol SCCP
Insert the MAC Address, choose Device Pool, Phone Button Template, Softkey Template,Location and for Owner Option Make it Anonymous and last select the Device Security Profile
1

 

 

 

 

 

2

 

 

 

 

Save and then go to the Left Side to add the Extension go to Line1 Press on it
Choose the Extension you want, in our case we put 7912 and we put it under partition Internal then i give name for the Alerting Name and ASCII Alerting Name and choose a Calling Search Space which we make it a mobile which mean he can call people in internal, local and mobile partition.
and then i configure the name in the field of Display (Caller ID), ASCII Display (Caller ID), Line Text Label and ASCII Line Text Label
1

 

 

 

 

 

 

 

 

2

 

 

 

 

Now Configure all your phone the same way with Different Directory Number and Like That all your employee can call each other and like that your CUCM is Ready
The next step is to configure the Gateway and Weather it was H.323 or SIP so you can be able to make an outside call, in our example we will configure an H.323
Go to Device – Gateway – Add New – Choose H.323 Gateway and Press Next it will take you to the page of the Gateway and you need to configure most important is the Device Name which is the IP Address of the Gateway, Device Pool, Location and configure Calling Search Space for Inbound Call when it come to your Port in our Case “Internal”. After you save you have to Reset so the Gateway Will Register to the CUCM

1

 

 

 

 

 

2

 

 

 

Now We Configure a Route Pattern so Go to Call Routing – Route/Hunt – Route Pattern – Add New
we will configure a route pattern to a mobile Number so you choose the Route Pattern which is 9.05XXXXXXXX, Choose the Route Partition and the Gateway/Route List. Afcors click the Provide Outside Dial Tone and change the Call Classification to Offnet

1

 

 

 

 

 

 

 

 

OMG this is the Longest Blog i ever write but don’t worry
Now this the Last thing to DO is to configure the IOS Gateway
First enable the voice service and allow it to communicate with different protocol

voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip

Then Go Under Each Port and Trunk all of them Under one Trunk Group and also configure that when ever a call come it will go to a specific directory number for example the Reception or the Attendant System … for this example i choose the Reception DN which is 7912

voice-port 0/2/0
trunk-group AYSAR
connection plar opx 7912
!
voice-port 0/2/1
trunk-group AYSAR
connection plar opx 7912

Now Configure the outpound Dial Peer

dial-peer voice 1 pots
trunkgroup AYSAR
description “Mobile Call”
destination-pattern 905……..
forward-digits 10

or

dial-peer voice 1 pots
trunkgroup AYSAR
description “Call Anywhere”
destination-pattern 9T
“This Call the Lazy 9 instead of Configure a dial peer for different Route Pattern (Local, Mobile, international) we just have this one dial peer for all”

and configure an Inbound Dial Peer for incoming Call

dial-peer voice 3000 voip
destination-pattern 791.
session target ipv4:192.168.200.10
dtmf-relay cisco-rtp rtp-nte h245-alphanumeric
codec g711alaw
no vad

Now Try to make a call and it will work and call your company and your phone will work
test it in your environment or lab and if you have any Doubt or didn’t work just ask me

The END

Standard