[cisco-voip] Custom Directory for IP Phones
Anthony Mendoza
amendoza at Niku.com
Mon May 23 21:03:24 EDT 2005
(Replying to myself)
Here's the excerpt from our webserver showing the hit:
10.150.6.83 - - [23/May/2005:18:02:02 -0700] "GET
/scripts/ciscoDir.php?name=SEP00065327DD3B&locale=English_United_States
HTTP/1.1" 200 200 "-" "Allegro-Software-WebClient/3.12"
200 being that code for "sent ok", and the other 200 referring to # of
bytes sent.
-Anthony
> -----Original Message-----
> From: cisco-voip-bounces at puck.nether.net
> [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of
> Anthony Mendoza
> Sent: Monday, May 23, 2005 5:48 PM
> To: lelio at uoguelph.ca; cisco-voip at puck.nether.net
> Subject: Re: [cisco-voip] Custom Directory for IP Phones
>
> Sure can. Looking at the webserver logs it gets the page
> fine :(.. I see the phone grabbing the page from the
> webserver with no errors.
> --------------------------
> Anthony Mendoza
> Senior Infrastructure Manager
> t: 650-298-5955
> c: 510-579-1909
> f: 208-247-5501
> e: amendoza at niku.com
>
> -----Original Message-----
> From: Lelio Fulgenzi <lelio at uoguelph.ca>
> To: Anthony Mendoza <amendoza at Niku.com>; Cisco VoIP
> <cisco-voip at puck.nether.net>
> Sent: Mon May 23 17:46:49 2005
> Subject: Re: [cisco-voip] Custom Directory for IP Phones
>
> 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 <mailto:amendoza at Niku.com>
> To: Cisco VoIP <mailto:cisco-voip at puck.nether.net>
> 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
>
>
>
>
> 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.
>
>
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.
More information about the cisco-voip
mailing list