Monday, August 11, 2014 Disney PhotoPass downloaded images on your PC

If you visit any of the Disney parks, at least in the USA, you have the opportunity to have your photos taken at interesting locations around the park by Disney's professional photographers.  This is a nice service, as you don't need to worry about finding someone to take your photo if your tired of the "selfie" look, they take multiple photos with good cameras so you will certainly find one you like, and you don't have to waste your time or energy taking photos when you should be enjoying the park.

When you are done with your visit, you can visit to review your photos and purchase the ones you like.  You can pick various print sizes and finishes, and even apply some fun effects.

For those of you interested in how their website works, here's a little information on how to find the photos you review on your local Windows PC.  These cached photos left behind from the website are likely no where as good as the ones you purchase, so I suggest you really just purchase them.  Disney provides a great vacation experience and the photographers a valuable service.

Here I'm using Mozilla's Firefox browser version 31.0 and Microsoft Windows 7.

1. Log into or like usual.
2. Navigate to the page where you can download your photos.

3. In the Firefox menu bar, click the Menu icon (looks like three horizontal bars)
4. Then choose Options.
5. Then choose the Advanced button.
6. Then choose the Network tab.
7. Under Cached Web Content, click Clear Now button

8. Click OK to close the options form.
9. Click some photos that interest you and make them as large as possible.

10. Open a new tab in Firefox, enter about:cache?device=disk in the address bar and hit Enter.

11. Click one of the links with the larger data sizes.

12. The path next to file on disk: i.e. C:\Users\rmaslanka\AppData\Local\Mozilla\Firefox\Profiles\rfsuwz4l.default\Cache\0\D6\EE8A1d01 is where one of the photos you previewed is stored on your PC.
13. To prove it, open a new tab in Firefox and paste that path in the address bar.  You should see just the photo, outside of the Disney website.

14. If you want, you can right click the picture, choose Save Image As and choose a file name and location to save the image somewhere else.

Tuesday, July 22, 2014

Cisco Jabber using BAT Bulk Administration to add devices

Add Devices

If you have CUWL licensing, you can add Jabber devices for Windows, iPhone, Android and Tablet for each user without additional licensing, assuming each user will have 10 or fewer devices when your done.

You can put your file together in any fashion you like, but I choose to export users via BAT and use that as my reference material for the rest of the files. In CUCM, navigate to Bulk Administration | Users | Export Users.  With that file output, Excel functions are your friend and it's fairly easy to create the following file.  Use something like ="CSF"&$C2 for device names, something like =&C2&" ,"&D2&" - "$E2 for descriptions, etc.

The format you are looking for is something like:

CSFJONES,"Jones, Jim - JONES",1111,"Jones, Jim - JONES","Jones, Jim - JONES","Jones, Jim - JONES","Jones, Jim - JONES","Jones, Jim - JONES",,,716433XXXX,JONES
CSFSMITH,"Smith, Joe - SMITH",1112,"Smith, Joe - SMITH","Smith, Joe - SMITH","Smith, Joe - SMITH","Smith, Joe - SMITH","Smith, Joe - SMITH",,,716433XXXX,SMITH

Then Bulk Administration | Phones | Insert Phones | Specific Details to add devices of each type.

User / DN association

You need to associate users with DNs to enable phone presence information, and because this association is device specific, you are going to need a row for each device that the DN appears on.  If your user had a phone and now has four Jabber devices, that's five rows per user.  Excel is your friend again. 

Create a pivot table with your user export data. Select USER ID, CONTROLLED DEVICE 1 thru CONTROLLED DEVICE 5 (or whatever you need) and TELEPHONE NUMBER as row labels. Go to the USER ID Field Settings | Layout & Print and remove the Display labels from next field in the same column check.  Now you will be pretty close and need to copy each user down four rows.  Ultimately you are looking for a format like:

User ID,Device,Directory Number,Partition
JONES,SEP00260B5D3D2A,1111, AllLines
SMITH,SEP00260B5E4169,1112, AllLines

Upload the file as User Line Appearance, and then Bulk Administration | Users | Line Appearance | Update Line Appearance to associate users to DNs.

User controlled devices

A user needs to have CTI control over the new devices.  Again, use the user export data as your baseline and use some Excel text concatenate functions to populate the CONTROLLED DEVICE 2 through CONTROLLED DEVICE 5.  Use the ="CSF"&$C2 type of function.

Then Bulk Administration | Users | Update Users | Custom File to add control of devices to users.

Friday, June 27, 2014

Cisco UCCX DRS / Backup Status Stuck

Ran into an issue where user was not monitoring the drive space available on their SFTP server / DRS backup target and ultimately filled the drive.  Unfortunately UCCX doesn't care when attempting scheduled backups how much space is available and ultimately backup will fail.

What's worse is checking the DRS backup status and finding a backup in progress from days or weeks ago.  UCCX gives you a pleasant Cancel Backup button to press, but that may result in a infinite Cancelling Backup status loop, refreshing every 5 seconds.


SSH to the UCCX, Primary first if you have HA.  then run:

utils service restart Cisco DRF Master

wait for that to complete and then run

utils service restart Cisco DRF Local

If you have a second HA server, repeat the process there.

The good news is this is not business impacting.


Thursday, June 26, 2014

Cisco WFO QM / Quality Manager maximum call duration

Running WFO QM,  found users complaining that audio recordings stop at the 15 minute mark.  Examining the recordings verses the contact records in QM, I confirmed that the audio recorded is indeed 15 minutes long, while the call duration can be significantly longer.

If you are running 9.0 with Service Release 4, found in Control Panel | Programs and Features in the name column, you can may be able to adjust the CUCM SIP Session Expires Timer to lengthen the available recording duration. 

The default is 1800 seconds, meaning CUCM sends a keep-alive to QM at 900 seconds or 15 minutes, and QM responds, but with an invalid codec in the SDP message.  The SIP call is dropped at that point and the recording stops.

Supposedly this is fixed in QM 10.0(1).

Tuesday, June 03, 2014

Cisco Unity Connection Single Inbox 401 Authentication Errors - User Name Limitation

This is another variation of things that cause 401 Authentication Errors when setting up Unity Connection Single Inbox.  Another example is here:

After setting up a new Unity Connection 9 cluster to integrate with Exchange 2010, I ran into an issue with the authentication failures when running the test on individual Unified Messaging Accounts.  Running the test against the Unified Messaging Service passed, but this typically only verifies basic network access, domain name resolution and access to the Exchange EWS interface.  The Single Inbox feature will fail if the users' Unified Messaging Accounts can't authenticate to Exchange.

The "Unified Messaging Guide for Cisco Unity Connection Release 9.x" integration guide is quite good and covers about all the scenarios I've ever run into. Follow the guide, and all of the guide, and you should be in good shape.

Following that , I had an issue where testing the Unified Messaging Accounts failed with a "Failed accessing Diagnostic=[] Verb =[] url=[] request=[] response[]" message.  It is a 401 error, pointing to basic authentication against Exchange issues.

Basic troubleshooting steps, found in just about every Unity Connection guide are:

Check the authentication method on both sides. Check settings in Internet Information Services (IIS) for both AutoDiscover and EWS.
- This was confirmed to be NTLM and HTTPS, under both EWS and Autodiscovery

Try different UM messaging account name formats (i.e. NAME, DOMAIN\NAME, NAME@DOMAIN).
- Tried every combination of names
Reset the UM messaging account password, and enter the password again on Unity Connection.
- Verified name and password via OWA
The UM account should not have a mailbox.
- Verified no Exchange mailbox with admin.
- Another nice method to confirm this again using OWA to check the username and password above.  You should be returned an error indicating there is no mailbox for the user.

This technique provided the clue I overlooked a dozen times.  There was indeed no mailbox for the user ConnectionUMServices.

Ultimately the issue was that when the UM user account name was created, to keep it obvious and consistent over time, we used a reference straight out the Cisco Unified Messaging Guide. The username for the account we created was ConnectionUMServicesAcct, an example name from the integration guide. The problem here is that when Unity Connection attempts to authenticate against Exchange to synchronize mailboxes, it uses the pre-Windows 2000 logon name format. That format has a 20 character limitation, so the appropritate name entry in Unity Connection is then ConnectionUMServices, not ConnectionUMServicesAcct.

Change the UM Messaging account name in Unity Connection to the pre-Windows 2000 (shorter) name and bingo, you are good.