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

SIP IP Phone receives the XML directory parse error message

Core Issue

While creating the directory for the Cisco Session Initiation Protocol (SIP) IP Phone, it receives Cisco CallManager eXtensible Markup Language (XML) errors.

This is the XML file:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<CiscoIPPhoneDirectory>
<DirectoryEntry>
<Title>Webley</Title>
<Name>John John</Name>
<Telephone>5561</Telephone>
<Location>089089 --- San Jose/CA</Location>
</DirectoryEntry>
</CiscoIPPhoneDirectory>

Resolution

To resolve this issue, perform these steps:

  1. The first line is not supported on the Cisco SIP IP Phone. Therefore, deleting this line should resolve the issue.
  2. Make sure that the XML file cannot be directly requested in a URL. Instead, point it to a Common Gateway Interface (CGI) like a Practical Extraction and Reporting Language (PERL) or Active Server Page (ASP) script and have the CGI do this job. The reason behind this is that some HTTP headers need to be set from the CGI instead of using the default chosen by the HTTP server.
  3. Ensure that the HTTP response content type is set to text/xml. For more information, refer to the HTTP Header Settings section of Cisco IP Phone Services Application Development Notes with Cisco CallManager 3.0.

For more information on resolving XML parsing errors, refer to the XML Parsing Errors section of Cisco IP Phone Services Application Development Notes with Cisco CallManager 3.0.

IP Phone Errors

XML Error [4] = HTTP Connection Failed

1146
Views
0
Helpful
0
Comments