Blogs

Check out the new content on the Cisco Developer Network reflecting the New & Enhanced features in Cisco Unified Communication Manager 9.1.

See the new 9.1 IP Phone Services Documentation ...Read More

 

The Unified Communications 9.0 Partner Bundle packages Cisco’s Collaboration application software for our Collaboration partner community to leverage for their internal lab or demonstration systems. The 9.0 version is now available for order. Learn More >> ...Read More

 

Developer Partners,

Cisco announces the availability of our 2012 Developer Partner presentations shared at CiscoLive London.

Please log into the Cisco Developer Network using your Partner UserID to download this content.

Access these presentations here: http://developer.cisco.com/web/cdc/devforumpreso PARTNER LOGIN REQUIRED
...Read More

 

Cisco Technology Developer Partners,

Cisco is proud to announce the availability of our Cisco Unified Communications System Release 8.6 Not-For-Resale software bundle on Cisco Marketplace (Partner Login Required).

To purchase the latest Unified Communications NFR Software bundle
- Navigate to Cisco Marketplace
- Login using your Cisco.com UserID ...Read More

 



REMINDER! CDN DEVELOPER TECHNICAL SESSION TRACK AT CISCO LIVE LONDON, JANUARY 31 through FEBRUARY 2, 2011
...Read More

 



Cisco Developer Network will be presenting a CDN Developer Track at Cisco Live! London the week of January 31, 2011.

We are presenting technical sessions which highlight Application Programming interfaces (APIs) and Software Developer Kits (SDKs) for Cisco technologies such as Unified Communications, IOS, and Access Routing Technologies ¿ including the new Cisco Cius ...Read More

 

Showing 6 results.
Items per Page 20
of 1

Forums

« Back to IP Phone Services Questions

IP Phone service not working on 9971

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi everyone,
We have a custom directory service that is working fine on 6941 and 8945 but we have problems when with 9971.
Whenever I make a search in the directory service with no criterias given (no name, no surname, nothing) I always get a "HTTP Error [500]!" error. 
Where can I start to look for the problem? 
Thanks for your help.
Levent

try with a packet capture with wireshark or so to see what is communicated
between phone and webserver


On Tue, Feb 26, 2013 at 4:56 AM, Cisco Developer Community Forums <
cdicuser@developer.cisco.com> wrote:

> Levent Ozturk has created a new message in the forum "IP Phone Services
> Questions": --------------------------------------------------------------
> Hi everyone,
> We have a custom directory service that is working fine on 6941 and 8945
> but we have problems when with 9971.
> Whenever I make a search in the directory service with no criterias given
> (no name, no surname, nothing) I always get a "HTTP Error [500]!" error.
> Where can I start to look for the problem?
> Thanks for your help.
> Levent
> --
> To respond to this post, please click the following link:
> http://developer.cisco.com/web/ipps/community/-/message_boards/view_message/12353134or simply reply to this email.

 
Hi,  500 means "Internal server error". It looks your web application has a problem to serve the phones request. Try to check logs on the server (eventlog, ...).
Mirek

Some models handle un-specified input values differently.  For example, with a input fields 'requiredValue' and 'optionalValue', if the user submits the screen without putting anything into the optional field, the phone may request either:
GET /myService?requiredValue=something&optionalValue=
or
GET /myService?requiredValue=something

This makes a difference in the server-side script, as 'if (optionalValue=="")' might work for the former, but won't for the latter (the optionalValue param was never received and is 'undefined'.)  You will want to check if optionalValue!=undefined before assuming it has any value (including empty string)

Hi David,
Can we check if optionalValue!=undefined before assuming it has any value (including empty string) on call manager? (We enabled debug on IIS but did not receive any request.)
Thanks

The behaviour is phone/firmware specific and not configurable.  Just a guess as to whether this is the actual problem.  We can perhaps gain some more insight by comparing a network packet capture of a working vs non-working phone - and of course identifying the nature of the failure in the application script (on IIS?) would be the primary troubleshooting avenue.

Hi David,
I captured working and non-working phones packets. I discovered that if I didn't give any value, phone makes GET requests without adding parameters, so I get http 500 error.
Working phone (6941): GET /PhoneService.asmx/GetPhoneBookResGM?firstname=&lastname=&title=&departmentname= HTTP/1.1
 
Non-working phone (9971): GET /PhoneService.asmx/GetPhoneBookResGM HTTP/1.1
HTTP/1.1 500 Internal Server Error
Missing parameter: firstname.

Yep, so your script will need to handle this possibility, i.e. parameter being missing results in the same script action as if parameter is missing but null/empty

Collateral


No files available