[cisco-voip] Custom Directory for IP Phones

Lelio Fulgenzi lelio at uoguelph.ca
Mon May 23 20:46:49 EDT 2005


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.

Can you type in the URL from a web browser with similar access the phone has?


<CiscoIPPhoneMenu>
  <Prompt>Select a directory</Prompt>
    <MenuItem>
      <Name>Campus Directory</Name>
      <URL>http://<ipaddr:port>/voip_cd/input.xml</URL>
    </MenuItem>    
</CiscoIPPhoneMenu>

  ----- Original Message ----- 
  From: Anthony Mendoza 
  To: Cisco VoIP 
  Sent: Monday, May 23, 2005 8:34 PM
  Subject: [cisco-voip] Custom Directory for IP Phones


  I'm trying to use a PHP script to display / search our active directory.
  However, I can't even get the option #4 to appear when hitting the
  directory button.  I'm outputting the same XML as the standard call
  manager scripts with DC Directory.  Any ideas what I'm doing wrong?  My
  XML output is:

  <CiscoIPPhoneMenu>
    <Prompt>Select a directory</Prompt> 
      <MenuItem>
        <Name>Corporate Directory</Name> 
        <URL>http://ciscodir.niku.com/scripts/ciscoDir.php?op=input</URL> 
      </MenuItem>
  </CiscoIPPhoneMenu>

  I'm using PHP and sending out:

     header("Content-type: text/xml");
      header("Connection: close");
      header("Expires: -1");

  just before the above as I read somewhere online.  I've tried not
  sending those headers too..same thing..don't see option 4 when I hit
  "Directories"..  For reference (and for anyone that wants to re-use)
  I've attached the main script.  Some mods were made to the CiscoIPPhone
  class to accommodate my usage.  I debugged the XML code using a browser
  and made it match, step by step the Cisco ASP pages...I was offsite and
  didn't have a phone at the time.

  -Anthony


  CONFIDENTIALITY NOTICE: The information contained in this message and
  or attachments is intended only for the person or entity to which it is
  addressed and may contain confidential and/or privileged material. Any
  review, retransmission, dissemination, copying, or other use of this
  information by persons or entities other than the intended recipient is
  prohibited. If you received this e-mail or its attachments in error, 
  please contact the sender and delete the material from any system and 
  destroy any copies.




------------------------------------------------------------------------------


  _______________________________________________
  cisco-voip mailing list
  cisco-voip at puck.nether.net
  https://puck.nether.net/mailman/listinfo/cisco-voip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20050523/e91844cd/attachment.html


More information about the cisco-voip mailing list