cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1807
Views
1
Helpful
2
Replies

XML - custom image on Cisco 8900 IP phone and CUCMv9

Petr Kriz
Level 1
Level 1

Hello,

I want to display on the phone (under the button Services button) own list of links (generated XML) - specifically, I want to view the camera image.

I am using:

  • Cisco 8900 IP phone
  • Cisco CallManager 9.X
  • Service URL where I want get image: custom PHP script, which resize image to *.png file

All the links that I found to the problem were "closed" that are not compatible with the new CUCM. Can you please advise me, how to obtain the result?

Links that I found:

Digital Lifestyle (this is a result for old CUCM)

Using PHP for Cisco IP Phone Apps | Route, Switch, Blog (example script)

Cisco Unified IP Phone Service Application Development Notes - CiscoIPPhone XML Objects [Cisco Unified Communications Ma… (resizing information)

Thank you and best regards

Peter

2 Replies 2

Geevarghese Cheria
Cisco Employee
Cisco Employee


Hi Petr,

   I think this is the latest document   Cisco Unified IP Phone Services Application Development Notes, Release 8.5(1)

Cisco Unified IP Phone Services Application Development Notes, Release 8.5(1) - CiscoIPPhone XML Objects [Cisco Unified …

Please have a look.

I think all the links which refers about cucm7.x and above will works fine for cucm 9.x also.

Thanks and Regards,

Geevarghese

Hello Geevarghese,

I tried to create a xml file to view the camera, but I only partial success.


Show only static image works:

<CiscoIPPhoneImageFile WindowMode="Width Mode of XSI window">

    <Title>Image Title goes here</Title>

    <Prompt>Prompt text goes here</Prompt>

    <SoftKeyItem>

        <Name>Back</Name>

        <URL>http://...</URL>

        <Position>3</Position>

    </SoftKeyItem>

    <LocationX>0</LocationX>

    <LocationY>0</LocationY>

    <URL>http://.../Image.png</URL>

</CiscoIPPhoneImageFile>

But if I want show an image (RTSP Streaming defined with file Stream2.sdp) I can't show the result. I am testing a telephone 7965G (by manual it should support streaming). When selecting item from Phone: the phone starts doing something (probably trying to retrieve something), but phone returns back to menu.


I tried to experiment with URIs (different formats of writing) to Control RTP Streaming  but without success.

<CiscoIPPhoneExecute>

<ExecuteItem Priority="0" URL="RTPRx:IpAddress:CustomPort:90/Stream2.sdp"/>

</CiscoIPPhoneExecute>

You can please direct me how to be a syntax for stream via RTSP in unicast mode?


Related links:

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cuipph/all_models/xsi/3_3_3/english/programming/guide/ipphs333.html#wp30401

http://sysmagazine.com/posts/133031/

Thank you and best regards,

Peter