Custom XML IP Phone Services for the UC500 and Cisco Unified Call Manager Express

Berbee has some example XML services that are free to use at http://www.berbee.com/public/berbeesoftware/XMLFree.aspx
The problem is that one cannot simply add a service to the url services: a new service always replaces the current service. That why you have to create a custom menu.xml file on your webserver if you still want to use VoiceView Express. (The instructions on Berbee's site are for full blown Call Manager.)

Here's an example menu that I use in demo's for the UC520 .

Below file is menu.xml, and it's available on http://192.168.10.2/menu.xml (this is only available on the LAN). By pointing url services to this url, the menu is displayed, and the user gets the choice of three options.
For completeness, I've included my url services line under telephony-service.

  url services http://192.168.10.2/menu.xml

Please make sure that your webserver presents the xml file as text/xml.

HTH,
Rober.t

<?xml version="1.0" encoding="utf-8" ?>
<CiscoIPPhoneMenu>
  <Title>My XML Services</Title>
  <Prompt>Please make your selection.</Prompt>
  <MenuItem>
    <Name>Axis camera</Name>
    <URL>http://192.168.10.2/camera.asp</URL>
  </MenuItem>
  <MenuItem>
    <Name>VoiceView</Name>
    <URL>http://10.1.10.1/voiceview/common/login.do</URL>
  </MenuItem>
  <MenuItem>
    <Name>Weather, News & Stocks</Name>
    <URL>http://phone-xml.berbee.com/menu.xml?opts=13456</URL>
  </MenuItem>
</CiscoIPPhoneMenu>


Comments

Axis camera on Cisco Phone

Thanks for the sample XML menu! Nicely done. I'm interested to learn how to display an Axis camera image on the phone. I see the Axis Camera menu item points to camera.asp on your web server rather than the Axis camera itself.

-cypressmn

Hi cypressmn, As the Axis IP

Hi cypressmn,

As the Axis IP camera does not provide png images (which is what is required for display on a Cisco IP phone), I've added a script on my webserver that does the following:
- it takes a jpg image from the Axis, by browsing to http://<Axis-ip>/jpg/image.jpg;
- converts that jpg to png (through ImageMagick);
- presents an xml file that instructs the IP phone to display the png image.

Currently, I'm working on developing a similar script for a Linksys IP camera. Will post a full description once I've completed that.

Here's the xml code that the script produces. For a detailed explanation, refer to Cisco Unified IP Phone Service Application Development Notes.

<CiscoIPPhoneImageFile>
  <URL>http://192.168.10.2/pngviewer/image.png</URL>
  <SoftKeyItem>
    <Name>Refresh</Name>
    <URL>http://192.168.10.2/camera.asp</URL>
    <Position>2</Position>
  </SoftKeyItem>
  <SoftKeyItem>
    <Name>Exit</Name>
    <URL>SoftKey:Exit</URL>
    <Position>3</Position>
  </SoftKeyItem>
</CiscoIPPhoneImageFile>

Webcam

Can you post o email me the camera.asp script you create to see how it works? Thank you. My email is edenon@gmail.com

Axis Cameras?

What model of Axis IP Camera are you using?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.