[cisco-voip] Custom Directory for IP Phones
Anthony Mendoza
amendoza at Niku.com
Tue May 24 22:02:05 EDT 2005
So for anyone that gets stuck with this the fix is:
* Make sure you send out an HTTP header for "Content-length:"
In my case I just set it and there is no value, but it gets rid of the
c8/0 at the end. Has to do with "chunking" and now my phones are happy
happy. Now I just need my script to actually work :)
--
Anthony Mendoza
Anthony Mendoza sent a message, dated 5/24/2005 6:28 PM about:
> This is probably not the best thread for this, but:
>
> Here's what my webserver is spitting out:
>
> Escape character is '^]'.
> GET
> /scripts/ciscoDir.php?name=SEP00065327DD3B&locale=English_United_States
> HTTP/1.1
> Host: ciscodir.niku.com
>
> HTTP/1.1 200 OK
> Date: Wed, 25 May 2005 01:26:45 GMT
> Server: Apache/2.0.40 (Red Hat Linux)
> Expires: -1
> Connection: close
> Transfer-Encoding: chunked
> Content-Type: text/xml
>
> c8
> <CiscoIPPhoneMenu>
> <Prompt>Select a directory</Prompt>
> <MenuItem>
> <Name>Corporate Directory</Name>
> <URL>http://ciscodir.niku.com:80/scripts/ciscoDir.php?op=input</URL>
> </MenuItem>
> </CiscoIPPhoneMenu>
>
> 0
>
>
> I have no idea where the c8 and extra 0 at the end is coming from, but
> now realize this is throwing off the phones... has anyone seen this
> before and/or know of a way to turn whatever is causing it off?
> --
> Anthony Mendoza
>
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