<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>IP Phone service not working on 9971</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=12353135" />
  <subtitle>IP Phone service not working on 9971</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=12353135</id>
  <updated>2013-06-20T01:06:50Z</updated>
  <dc:date>2013-06-20T01:06:50Z</dc:date>
  <entry>
    <title>RE: IP Phone service not working on 9971</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12953407" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12953407</id>
    <updated>2013-03-13T05:54:44Z</updated>
    <published>2013-03-13T05:54:44Z</published>
    <summary type="html">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</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-03-13T05:54:44Z</dc:date>
  </entry>
  <entry>
    <title>RE: IP Phone service not working on 9971</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12922932" />
    <author>
      <name>Mert Yeter</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12922932</id>
    <updated>2013-03-12T15:04:55Z</updated>
    <published>2013-03-12T15:04:55Z</published>
    <summary type="html">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.
[b]Working phone (6941):[/b] GET /PhoneService.asmx/GetPhoneBookResGM?firstname=&amp;lastname=&amp;title=&amp;departmentname= HTTP/1.1
 
[b]Non-working phone (9971):[/b] GET /PhoneService.asmx/GetPhoneBookResGM HTTP/1.1
HTTP/1.1 500 Internal Server Error
Missing parameter: firstname.</summary>
    <dc:creator>Mert Yeter</dc:creator>
    <dc:date>2013-03-12T15:04:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Levent Ozturk in IP Phone Services (IPPS) - IP Pho</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12438978" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12438978</id>
    <updated>2013-02-27T16:03:42Z</updated>
    <published>2013-02-27T16:03:42Z</published>
    <summary type="html">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.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-02-27T16:03:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Levent Ozturk in IP Phone Services (IPPS) - IP Pho</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12424613" />
    <author>
      <name>Levent Ozturk</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12424613</id>
    <updated>2013-02-27T07:30:45Z</updated>
    <published>2013-02-27T07:30:45Z</published>
    <summary type="html">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</summary>
    <dc:creator>Levent Ozturk</dc:creator>
    <dc:date>2013-02-27T07:30:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Levent Ozturk in IP Phone Services (IPPS) - IP Pho</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12395686" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12395686</id>
    <updated>2013-02-26T16:00:47Z</updated>
    <published>2013-02-26T16:00:47Z</published>
    <summary type="html">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&amp;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)</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-02-26T16:00:47Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Levent Ozturk in IP Phone Services (IPPS) - IP Pho</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12386585" />
    <author>
      <name>Miroslav Jasso</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12386585</id>
    <updated>2013-02-26T11:46:26Z</updated>
    <published>2013-02-26T11:46:26Z</published>
    <summary type="html"> 
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</summary>
    <dc:creator>Miroslav Jasso</dc:creator>
    <dc:date>2013-02-26T11:46:26Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Levent Ozturk in IP Phone Services (IPPS) - IP Phone S</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12357941" />
    <author>
      <name>Sascha Monteiro</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12357941</id>
    <updated>2013-02-25T18:20:16Z</updated>
    <published>2013-02-25T18:20:16Z</published>
    <summary type="html">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 &lt;
cdicuser@developer.cisco.com&gt; wrote:

&gt; Levent Ozturk has created a new message in the forum "IP Phone Services
&gt; Questions": --------------------------------------------------------------
&gt; Hi everyone,
&gt; We have a custom directory service that is working fine on 6941 and 8945
&gt; but we have problems when with 9971.
&gt; Whenever I make a search in the directory service with no criterias given
&gt; (no name, no surname, nothing) I always get a "HTTP Error [500]!" error.
&gt; Where can I start to look for the problem?
&gt; Thanks for your help.
&gt; Levent
&gt; --
&gt; To respond to this post, please click the following link:
&gt; http://developer.cisco.com/web/ipps/community/-/message_boards/view_message/12353134or simply reply to this email.</summary>
    <dc:creator>Sascha Monteiro</dc:creator>
    <dc:date>2013-02-25T18:20:16Z</dc:date>
  </entry>
  <entry>
    <title>IP Phone service not working on 9971</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12353134" />
    <author>
      <name>Levent Ozturk</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12353134</id>
    <updated>2013-02-25T15:56:01Z</updated>
    <published>2013-02-25T15:56:01Z</published>
    <summary type="html">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</summary>
    <dc:creator>Levent Ozturk</dc:creator>
    <dc:date>2013-02-25T15:56:01Z</dc:date>
  </entry>
</feed>

