Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Issue with XML file subscribing to a service

Status
Not open for further replies.

NateRD25

MIS
Sep 17, 2007
139
US
Trying to implement a directory via a phone service. I have one created and it works. It has 32 entries and if I try to put in another entry it gives me a parse error so I thought that the xml file is at its max for my phone (6961). So I just copied the xml file to edit a new one, created the phone service, subscribed to it and I get a parse error on my 2nd xml file. What gives? I have compared the xml files and the look exactly the same. Is there a limit?
 
I have found that the max number is 32, but I can add more. I am not very good with xml files but Cisco says the following: use multiple CiscoIPPhoneDirectory objects in subsequent HTTP requests. How do I go about doing that?
 
Ok figured out using the softkeyitem and have it go to the next xml file. The problem now is that I want to us the Next Soft Key that is already listed there because when I put my own Next key it gets rid of everything else that I need.
 
In case someone else is looking for some XML code. Here is the syntax

<CiscoIPPhoneDirectory>
<Title>Name of Title</Title>
<Prompt>Name of Prompt</Prompt>
<DirectoryEntry>
<Name>Directory Name</Name>
<Telephone>Telephone Number</Telephone>
</DirectoryEntry>
<SoftKeyItem>
<Name>Name of your Button</Name>
<URL>URL of next XML file</URL>
<Position>Where you want the button to appear<Position>

Built in softkeys
<URL>SoftKey:Dial</URL>
<URL>SoftKey:Exit</URL>

This should help out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top