Tuesday, 29 May 2012

Ending a Call via URL with CUCM Webdialer

Had a customer who was wanting to integrate their custom CRM application with CUCM.  Easiest way to do this was via the Webdialer.  Their current setup was to use a modem placed in front of an analogue phone which was then controlled by the CRM app via a dialer string.

To use the webdialer process we can fire off the the URL 'https://x.x.x.x:8443/webdialer/Webdialer?destination=0123456789' from within the application to cause a call to kick off. (Note that you need to have logged the end user into webdialer at least once previously so that settings and login details are saved).

Next request was to be able to hang the call up via a button in the app so that the call center agent never has to physically touch the phone (or softphone) to hang up calls.

After mucking around with Fiddler, seems that you can use the following url string to accomplish the hangup: 'https://x.x.x.x:8443/webdialer/Webdialer?cmd=doEndCall'.  This will hang up the call (assuming there is one in progress) on the device managed by the webdialer setup.  If no call is in progress then nothing untoward happens.

Now to get the CRM app updated with this code and we'll see how it goes.

Tuesday, 23 August 2011

Troubleshooting Last=Phone-Reg-Rej messages after IOS Upgrade

Hit an issue when I was going through an upgrade of the IOS on a 2951 router running CME for a client.  Completed the upgrade to a version of IOS with CME 8.6 (was previously running CME 8.0) and I found that after phones had upgraded (took a few hours after all the phones kicked the absolute out of the tftp service on the router), I was seeing the following in the Phone debug displays along the lines of:

12:05:36a 24: Name=SEP90000000473C Load= SCCP45.9-1-1SR1S Last=Phone-Reg-Rej

I couldn't initially see what was going wrong.  I ended up running a 'debug ephone register' and it was returning the fact that the max number of ephones was reached.  Checking the 'telephony-service' settings showed 'max ephones 165'.

What ended up being the issue was that I needed to accept the license on the system.  I had to do a couple of things, first was run the command 'license accept end user agreement'.  This didn't actually fix up the telephony service, I had to go into 'telephony-service' and execute 'max ephone 164'.  This change then prompted for the agreement of the EULA.  Once completed, the phones all registered.

Also saw issues with the cme-srst license but I'll detail that in a different post.