Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Identify model name of IP Phones with ASP

Hi!

I´m working with Callmanager 4.1(3), a Switch, and one Server (with IIS) for ASP apps (with SDK)..

I can run all samples, and i made a few.

Well, i have 3 7960 phones, and one 7912.. and i need to identify the model, because the 7912 dosn´t support CIP images.. so, my ASP need to discriminate the IP Phone model to send a CIP image (to 7960´s) and text if is the case of the 7912..

This is a mini lab for testing, so, if i try in the enterprise network, maybe i find more 7912´s.. or more 7960´s..

Thanks for your time, and sorry for my English. :P

2 REPLIES
Silver

Re: Identify model name of IP Phones with ASP

RTFM:

Cisco IP Phone Services Application Development Notes OL-7320-02

Chapter 5 HTTP Requests and Header Settings

Identifying the Capabilities of IP Phone Clients

5-8

Identifying the Capabilities of IP Phone Clients

Because XML services are now supported across a wide range of

Cisco IP Phones, web application servers now need to identify the capabilities of

the requesting IP phone to optimize the content returned to the phone. For example, if the requesting phone is a Cisco IP Phone 7960, which cannot support

color PNG images, the application server must be able to identify this and return

a gray scale CIP image instead.

The IP phone client request to send the relevant information from the IP phone to

the web server application includes three (3) HTTP headers:

• x-CiscoIPPhoneModelName

• x-CiscoIPPhoneDisplay

• x-CiscoIPPhoneSDKVersion

...

--

regards,

Piotr Klos

Community Member

Re: Identify model name of IP Phones with ASP

Thanks for your time..

I use the header like this:

...

var Modelo = Request.ServerVariables("HTTP_x-CiscoIPPhoneModelName");

if(Modelo=="CP-7912"){

.....

And works really well...

Thanks Piotr for your help.

149
Views
0
Helpful
2
Replies
CreatePlease to create content