Wednesday, June 18, 2014

CUCM 10.0 Phone Self-provisioning with PLAR

Self-provisioning is a feature in CUCM 10 which allows users to add phones with minimal effort.  The general idea would be to use this function to automate the addition the typical employee phone.  It creates an IVR that a user can call into, enter their “subscriber ID” and a PIN (if desired) and add a new or additional phones to the system.   (It also allows a user to provision the phone via a Idle URL app if desired.)  It is similar in functionality to TAPS, but does not require CCX to implement.  More information can be found here.

I decided to build a lab utilizing this feature and PLAR (private-line auto ringdown — a way to have a phone automatically call a certain number as soon as it is taken off-hook) to make it as easy as possible to add a new phone.
The basic steps being:
  • Administrator assigns an extension to the user via Active Directory/LDAP.
  • User is synced to CUCM.
  • User gets a new phone out of the box and plugs it in.
  • It auto-registers to CUCM with an extension set to PLAR to the self-provisioning IVR.
  • When the user goes off-hook it calls the IVR, they enter their assigned extension and the phone reboots with their personalized configuration.
In order to set this up there are several settings in CUCM that need to be configured:
  • The first component is to configure self-provisioning, the associated universal device/line templates, user templates and IVR settings.
  • The second component is PLAR, it’s partitions, CSS auto-registration pool and auto-registration universal device/line templates.
Configuring CUCM Self-provisioning
1) Create a CTI Route-point and assign an extension that’s in an accessible partition (typically the internal Line partition)
self1
2) Create a self-provisioning application user that has the CTI route-point assigned as a controlled device.  Add it to the Standard CTI Enabled group.
3) Under User-management | Self-provisioning select the authenticathion method (I set mine to No Auth to make it very easy to add a phone, requiring the PIN is likely the best way to deploy this in production.  However the challenge with that is there is no way to sync the PIN from LDAP, you can just set a default in CUCM to assign users, or manually edit this after the user is synced over.)
self2
4a) Under User Management | User/Phone Add | Universal Device Template load the Sample Device Template with TAG usage examples and edit the settings that you want customized for a phone that is added.  Things that you’ll typically want to change would be the Device Pool, CSS, Subscribe CSS, Softkey template, Phone button template, etc. to match the settings that you want a typical phone to have.

self3
4b) Create additional Universal Device Templates for other types/configurations of phones that you want to allow to be self-provisioned.   For a multi-site deployment where device pools need to be unique, you will need to create one for each device pool.
5) Likewise, Under User Management | User/Phone Add | Universal Line Template load the Sample Line Template with TAG usage examples.  Edit settings like the Partition and anything unique to the phones.
5b) You may need to create additional Universal Line Templates for other configurations of phones that you want to allow to be self-provisioned.
6) Under User Management | User Management | User Profile load the Standard (Factory Default) User Profile and modify the name to reflect the phone model, device pool, etc.  For example, HQ-8945-User Profile.  Assign the appropriate Universal Device and Line Templates, and check the box to allow self-provisioning.
self4
6b) Create any other User Profiles needed for other sites, and select the approprate UDT/ULTs for those profiles
7) (Optional for automated CUP/Jabber setup) Under User Management | User Phone/Add | Feature Group Template specify the User Profile and Service Profile (which specifies the CUP server settings).
8) Add a user in LDAP, making sure to specify the IPPhone or Telephone number field that you use for the extension and sync the user to CUCM, (or alternately create a local user making sure to assign a Self-service User ID and Telephone Numer) to test self provisoning.
When the user is synced, the Self-service User ID will automatically be synced to the field that you sync the phone number from (typically IPPhone or Telephone Number).
Modify the User Profile if it needs to be different from the default (for a user who is at a different location or who has a different phone type/service as discussed above).
9) Activate the Self-provisioning IVR service in CCM Serviceability
10) Test by calling the Self-provisioning IVR from a phone that you’ve plugged in.  The IVR should answer, you’ll enter the extension (Self-service User ID), confirm, and the phone will reboot with the new configuration.
If the IVR responds with an error that the phone cannot be provisioned check that the user has a Self-service User ID, and that the User Profile is specified.  
Configuring Auto-registration with PLAR
Using auto-registration with PLAR will enable the phone to auto-register to CUCM with a dummy extension in a PLAR parition/CSS and automatically call the IVR when it goes off-hook.  This way the new user doesn’t have to know the self-provisioning IVR extension.
Information about configuring PLAR can be found here, but I’ll include the summary steps below:
1) Create a PLAR1 partition, and a PLAR CSS that has only the PLAR1 partition in it
2a) For SCCP phones: Create a blank (or null) Translation Pattern whose CSS can see the internal Line partition that the self-provisioning IVR CTI Route Point is in.  Typcially this is an Internal CSS or Restricted CSS.  Set the Called Party Transformation Mask to the extension of the IVR.   This essentially sets it up so that any phone that has the PLAR CSS, when it goes off-hook, will hit this null xlate and get told to dial the self-provisoning IVR.
2b) For SIP phones (9900 series, etc.) you must create a SIP Dial Rule (found under Call Routing > Dial Rules > SIP Dial Rules) to accomplish the same thing as the Translation Patten did for the SCCP phones above.  Add a new rule, the Dial Pattern is 7940_7960_Other, call it PLAR1, and add the IVR extension in the Pattern Description field.
3) As we did above, create a new Universal Device Template and call it Auto-registration Device Template. In the Device Routing section select PLAR1 in the SIP Dial Rules field, and PLAR_CSS in the Calling Search Space field.  Any new device that is auto-registered will now be set to PLAR to the IVR.
3b) Remove the IDLE URL from the Universal Device Template if you don’t want the user using the application on the phone’s screen to self-provision.  I found it preferable to use the IVR and PLAR.
4) As we did above, create a new Universal Line Template and call it Auto-registration Line Template. Set the Route Partition to PLAR1 and CSS to PLAR_CSS.
5) Under System | Cisco Unified CM, select the CallManager server that you want to use for auto-registration.  Select the Auto-registration Device Template, and the Auto-registration Line Template under the Appropriate UDT/ULT fields.  Give it a range of dummy extensions to register to, and make sure the Auto-registration Disabled on this Cisco Unified Communications Manager checkbox is not selected.
Now when phones auto-register they will pickup the PLAR UDT/ULT settings and automatically call the IVR when the go off-hook.  After the user enters their extension the phone will reboot with the new settings.

Credit to Michael White for publishing this on his blog.
http://ciscocollab.wordpress.com/page/3/

Thursday, June 20, 2013

Cisco Prime Collaboration Manager Free Training

Found a great Free training video on Cisco Prime Collaboration Manager 9.0.

http://www.applied-concepts.net/CPC9-Provisioning/player.html

Tuesday, June 11, 2013

Reset the Root Password of a VMWare ESXi Host

Disclaimer:  Cisco and VMWare do not recommend, suggest or otherwise acknowledge this procedure as a valid method for resetting the root password.  The intention of this post is not to suggest that it be used on production systems, but as a procedure for lab/test systems where documentation tends to be more lax.  Without question, documentation is a must for production systems.  The author of this blog assumes no risk or responsibility for any less than desired results this procedure may create.

I built an entire Collaboration demo server some six months ago, and needless to say, did not document the root password for the ESXi host.  I spent hours trying to remember the password.  Countless attempts later, I said to myself, "ESXi is just a Linux core, right?  Shouldn't I be able to get to the underlying Linux core and modify the user files?"  

After a few minutes of Google searching I came across a few articles that illustrated just that.  If you are comfortable with Linux file system commands, then this will take very little time at all.  If you don't know Linux, stay away... far away.


Monday, May 20, 2013

Deploying Jabber with CUCM and IM/P 9.X

Here is a great video detailing the process for setting up IM/P and CUCM for Jabber.


Monday, February 11, 2013

Jabber Deployment Considerations: Authentication

One of the big hurdles to CUP/Jabber deployment in the past was the requirement for Active Directory or LDAP integration for authentication.  For deployments with significant amounts of CUCM local users, this added additional complexity from a deployment perspective, requiring conversion to LDAP or AD based user accounts.  To remedy this, the User Data Service (UDS) was added to CUCM versions 8.6.2 and above which allows Jabber clients to not only authenticate against the CUCM local user database, but also search directory information in CUCM.  Now, organizations can deploy CUP and Jabber clients more rapidly without re-architecting their authentication mechanisms in their UC environment.

To implement UDS:

http://www.cisco.com/en/US/docs/voice_ip_comm/jabber/Windows/9_0_1/b_jabber_win_icg_chapter_01.html#JABW_RF_CE1A16F9_00

Enable Integration with UDS

To enable integration with UDS, you perform the following steps:
  1. Create your directory source in Cisco Unified Communications Manager.
  2. Synchronize the contact data to Cisco Unified Communications Manager.
  3. Specify UDS as the value of the DirectoryServerType parameter in your Cisco Jabber for Windows configuration file.
  4. Upload the modified jabber-config.xml file to the TFTP server and restart the TFTP service.
For testing purposes, simply modify the file on one client to make sure it works before uploading the custom jabber-config.xml file to TFTP for all to use.

Cisco Jabber for Windows caches configuration files in the following locations:


Microsoft Windows 7
%USERPROFILE%\AppData\Roaming\Cisco\Unified Communications\Jabber\CSF\Config
Microsoft Windows XP
%SYSTEMROOT%\Documents and Settings\user_name\Application Data\Cisco\Unified Communications\Jabber\CSF\Config


For assistance with the contents of the jabber-config.xml file, consult the Jabber for Windows Admin Guide.  Essentially, you are just adding:
<Directory>
  <DirectoryServerType>UDS</DirectoryServerType>
 </Directory>
Your environment may require additional attributes for photo retrieval, but in general, this will make Jabber clients authenticate to CUCM using CUCM user accounts.

There is also a great tool on the Cisco Support forums that helps generate the file.


Friday, November 16, 2012

Cisco Unified Presence (CUP) Installation and Configuration

I was in the process of rebuilding my demo server and was having some issues getting CUP to work.  In an attempt to find support forums or blogs referring to CUP I came across a series of 9 YouTube videos created by a fellow Cisco SE detailing the installation and configuration.  The videos are geared towards CUCM and CUP 8.6 but 90%+ applies to CUCM and CUP 9.0 as well.

Hope this helps those of you attempting the install yourself.


Thursday, November 15, 2012

MSNBC: Behind the Scenes

http://videolounge.cisco.com/video/msnbc-behind-the-scenes

This is a great video highlighting Cisco's partnership with MSNBC marrying broadcast and TelePresence to deliver a rich face to face like experience.

Thursday, July 12, 2012

Jabber for iPad

Jabber for iPad is now available for install from the Apple App store.  Here is a quick video guide on the features and functionality of the client.




The admin guide for Jabber for iPad can be found in this location:

http://www.cisco.com/en/US/docs/voice_ip_comm/jabber/iPad/Admin_doc/output/b_Jabber_for_iPad_admin_guide.pdf#page31

Additionally, here is the Jabber for iPad TMS Provisioning Template.

Happy Jabbering!

Friday, June 29, 2012

VCS Root Account Password Recovery

"I forgot to document the root password on my VCS (C/E) and I need to ssh as Root to perform X... How do I reset the root password?"

This is a question I get frequently.  The process is actually very simple, but requires console access.  Here is the procedure taken straight out of the VCS Admin guide.

http://www.cisco.com/en/US/docs/telepresence/infrastructure/vcs/admin_guide/Cisco_VCS_Administrator_Guide_X7-1.pdf



Resetting an administrator or root password
If you forget the password for the default admin account or any other administrator account, log in to the VCS using the account of another administrator with read-write access and change the password.
However, if you do not have any other administrator accounts with read-write access, or have forgotten the passwords for them all, you can set a new password for the admin account using the following procedure. This can also be used if you have forgotten the password for the root account:
  1. Connect a PC to the VCS using the serial cable as per the instructions in VCS Getting Started Guide.
  2. Restart the VCS.
  3. Log in from the PC with the username pwrec. No password is required.
  4. Select the account (root or admin) whose password you want to change.
  5. You will be prompted for a new password.
The pwrec account is only active for one minute following a restart. After that time you will have to restart the system again to change the password. 

Wednesday, May 9, 2012

UC on UCS

Wanted to make sure everyone was aware to make this change on all Virtualized Unified communications.  This is a known issue with VMware and Linux host.  I have seen this cause very weird issues on a UC deployment.  

http://docwiki.cisco.com/wiki/Disable_LRO

NoteNote: After upgrading the ESXi host to 4.1 or 5.0 and upgrading VMs to VMwareTools to 4.1 or 5.0, you may experience slow TCP performance on VMs running on the 4.1 or 5.0 ESXi host. You can address this situation by disabling Large Receive Offload (LRO) on the ESXi host.

To disable LRO, follow this procedure:
  1. Log into the ESXi host or its vCenter with vSphere Client.
  2. Select the host > Configuration > Software:Advanced Settings.
  3. Select Net and scroll down slightly more than half way.
  4. Set the following parameters from 1 to 0:
    • Net.VmxnetSwLROSL
    • Net.Vmxnet3SwLRO
    • Net.Vmxnet3HwLRO
    • Net.Vmxnet2SwLRO
    • Net.Vmxnet2HwLRO
  5. Reboot the ESXi host to activate these changes.
Your guest VMs should now have normal TCP networking performance.

Thursday, April 26, 2012

Cisco TelePresence Video Communication Server (VCS) VM Appliance

Prefer the small footprint and virtualized deployment model?  VCS Control and Expressway appliances are now available as VMWare appliances with the VCS 7.1 code. 

For those interested in the minimum specs and supported configurations, please see the deployment guide.

It is important to note that there are some unsupported features with this initial version of the VM appliance.
  1. ESXi 4.1 compatible, but not ESXi 5.  During testing there was a problem related to an LSI RAID card that caused an issue.
  2. VMWare fault tolerant mode is not supported because the VCS uses dual cores.  VMotion IS supported.

Friday, March 30, 2012

What is all the jabbering about Jabber?

What is Jabber?  Is Jabber a product, protocol, some crazy mentality or what?  Cisco's Jason Shearer sheds some clarifying light on Jabber in this video.



Tuesday, March 27, 2012

Cisco's Enterprise connect Keynote.  Announcing and showing new Jabber clients and New High end video endpoint. 

https://communities.cisco.com/videos/9151
https://communities.cisco.com/videos/9147