<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Looks exactly like what our app.admin created. I 
remember that when I was fooling around with it, that the 'corporate directory' 
dissappeared when the URL was not accessible. We actually used that to remove 
the corporate directory from phones.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can you type in the URL from a web browser with 
similar access the phone has?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=m><FONT face=Courier 
color=#0000ff><CiscoIPPhoneMenu><BR>  <Prompt>Select a 
directory</Prompt><BR>    
<MenuItem><BR>      <Name>Campus 
Directory</Name><BR>      
<URL>http://<ipaddr:port>/voip_cd/input.xml</URL><BR>    
</MenuItem>    
<BR></CiscoIPPhoneMenu></FONT></SPAN></DIV>
<DIV><SPAN class=m><FONT color=#0000ff></FONT></SPAN> </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=amendoza@Niku.com href="mailto:amendoza@Niku.com">Anthony Mendoza</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=cisco-voip@puck.nether.net 
  href="mailto:cisco-voip@puck.nether.net">Cisco VoIP</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, May 23, 2005 8:34 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [cisco-voip] Custom Directory 
  for IP Phones</DIV>
  <DIV><BR></DIV>I'm trying to use a PHP script to display / search our active 
  directory.<BR>However, I can't even get the option #4 to appear when hitting 
  the<BR>directory button.  I'm outputting the same XML as the standard 
  call<BR>manager scripts with DC Directory.  Any ideas what I'm doing 
  wrong?  My<BR>XML output is:<BR><BR><CiscoIPPhoneMenu><BR>  
  <Prompt>Select a directory</Prompt> <BR>    
  <MenuItem><BR>      <Name>Corporate 
  Directory</Name> <BR>      
  <URL>http://ciscodir.niku.com/scripts/ciscoDir.php?op=input</URL> 
  <BR>    
  </MenuItem><BR></CiscoIPPhoneMenu><BR><BR>I'm using PHP and 
  sending out:<BR><BR>   header("Content-type: 
  text/xml");<BR>    header("Connection: 
  close");<BR>    header("Expires: -1");<BR><BR>just before the 
  above as I read somewhere online.  I've tried not<BR>sending those 
  headers too..same thing..don't see option 4 when I 
  hit<BR>"Directories"..  For reference (and for anyone that wants to 
  re-use)<BR>I've attached the main script.  Some mods were made to the 
  CiscoIPPhone<BR>class to accommodate my usage.  I debugged the XML code 
  using a browser<BR>and made it match, step by step the Cisco ASP pages...I was 
  offsite and<BR>didn't have a phone at the 
  time.<BR><BR>-Anthony<BR><BR><BR>CONFIDENTIALITY NOTICE: The information 
  contained in this message and<BR>or attachments is intended only for the 
  person or entity to which it is<BR>addressed and may contain confidential 
  and/or privileged material. Any<BR>review, retransmission, dissemination, 
  copying, or other use of this<BR>information by persons or entities other than 
  the intended recipient is<BR>prohibited. If you received this e-mail or its 
  attachments in error, <BR>please contact the sender and delete the material 
  from any system and <BR>destroy any copies.<BR><BR>
  <P>
  <HR>
  <P></P>_______________________________________________<BR>cisco-voip mailing 
  list<BR><A 
  href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR><A 
  href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</A><BR></BLOCKQUOTE></BODY></HTML>