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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Script with <CiscoIPPhoneDirectory> tag

I`m trying to implement simple speed dial service.

Service is registered on CallManager. Phone is subscribed to it. Service name appears in the list of services. But nothing displays on the screen.

WEB server logs HTTP 200 return code for this script.

Sniffer reports that script content successfully transferd to the phone.

Script is accesible via WEB browsers.

Where is an error?

code of the asp script

<%@ Language=JavaScript%>

<%

Response.ContentType = "text/xml";

Response.Buffer = true;

Response.Write("<CiscoIPPhoneDirectory>\r\n");

Response.Write("<Title>Directory title goes here</Title>\r\n");

Response.Write("<Prompt>Prompt text goes here</Prompt>\r\n");

Response.Write("<DirectoryEntry>\r\n");

Response.Write("<Name>The name of the directory entry</Name>\r\n");

Response.Write("<Telephone>The telephone number for the entry</Telephone>\r\n");

Response.Write("</DirectoryEntry>\r\n");

Response.Write("<SoftKeyItem>\r\n");

Response.Write("<Name>Name of soft key</Name>\r\n");

Response.Write("<URL>URL or URI of soft key</URL>\r\n");

Response.Write("<Position>Position information of the soft key</Position>\r\n");

Response.Write("</SoftKeyItem>\r\n");

Response.Write("</CiscoIPPhoneDirectory>\r\n");

Response.Flush();

%>

1 REPLY
New Member

Re: Script with <CiscoIPPhoneDirectory> tag

Sorry. Script works correctly.

Text of the script:

<%@ Language=JavaScript%>

<%

Response.ContentType = "text/xml";

Response.Buffer = true;

Response.Write("\r\n");

Response.Write("Directory title goes here\r\n");

Response.Write("Prompt text goes here\r\n");

Response.Write("\r\n");

Response.Write("TEST\r\n");

Response.Write("3252\r\n");

Response.Write("\r\n");

Response.Write("\r\n");

Response.Flush();

%>

208
Views
0
Helpful
1
Replies