06-01-2005 08:02 AM - edited 03-15-2019 03:30 AM
I have a simple service that collects information from the softkeys and passes it along. It works on the 7960's and PSE, but the 7970 gives me an XML Error [4]: Parse Error. I'm not doing anything particularly exciting. Does the 7970 use a different schema? I've sniffed the traffic and the request and response look fine. Ideas?
Rick
06-01-2005 08:51 AM
What version of CallManager?
I'm not sure if this is relevant, but back around the time of 3.3 I recall a problem where the 7970 was different from the 7940/7960 etc with regards to the xml header/version (it either wanted or didn't want it, can't quite remember).
Not sure if that's relevant or even the problem, but it's all that comes to mind at the moment!
You might also want to browse the bugs for the phone load you're using on the 7970, as there are usually a number of issues with that phone...
06-01-2005 09:07 AM
06-01-2005 11:22 AM
Running CME in a lab, I will associate it to a CallManager and see if a different load helps. Meanwhile, this is the first page which loads fine:
header("Content-type: text/xml");
header("Connection: close");
header("Expires: -1");
?>
Here's phoneclock.php:
Rick
06-01-2005 11:47 AM
Your second InputItem has an invalid flag "p".
Valid values for inputflags
06-01-2005 12:03 PM
Right, P is a modifying flag, not a flag itself, as XmlEquals noted above from the XSD.
For example, if it's a PIN password, you can use numeric (flag value NP), or for alphanumeric entry (flag value AP). Using a flag value of NP allows for faster entry of numeric values, but if you need to allow alphanumeric values (as is often the case) you'll probably have to use something like AP...
See also:
06-01-2005 01:52 PM
Nice... That was it, thanks for the help and the extra set of eyes. What's funny is that I had that in one file, but I had made changes and went to a backup.
Rick
P.S. I can't seem to rate your posts, I think I'm going home, enough problems in one day. Thanks again.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide