Welcome

Welcome to Prophecy 2006, the web site for people interested in Voxeo's Prophecy 2006 platform.

Software Rot

"Software rot" is a term I made up years ago; if you leave software unused for six months and attempt to run it, the software almost inevitably fails. There's no known cure other than rigorous control over every piece of hardware and software and all the networking that ties them together. (In other words, there's no known cure.)

I've just tried to run a program on the premises and hosted versions of Prophecy, and ended up fighting software rot for hours and hours. Most of the problems stemmed from configurations: the Avahi DNS service, the /etc/hosts file, and similar rigamarole. I also had to be reminded by Voxeo support that the software, written years ago, was in Voxeo's early version of the CCXML language and not in the W3 1.0 release. Another reason to use DOCTYPE when it's available, I suppose.

However, I did stumble across an odd and subtle problem. In the past, the result of a CCXML.start was a "success" returned by the server. Now the result of a CCXML.start is a "success" and a carriage return. I don't know if that's because of a change in Prophecy, in the underlying parsing software that I use (Python), or something else — but it's another reminder to check your strings carefully and strip off unnecessary whitespace.

CCXML Workshop, Part 2

Part two of the two-part CCXML workshop is now online. Download to your computer and play it using Quicktime or Totem.

Video: CCXML Workshop

Here's part one and part two of a two-part video on CCXML. Moshe Yudkowsky of Disaggregate presented this workshop at SpeechTek in August, 2007.

Download these files to your computer and play them using Quicktime or Totem.

Finicky Grammar File Interpreter Requires Empty Line

I've noticed, once again, a rather pesky error that can show up in SRGS grammar files on Prophecy.

In an SRGS file, the top line in in the file is the xml declaration, and the next line in the file is the grammar element.

If the very next line is a comment, the grammar file will experience problems.

For example, I was debugging today and accidentally put a comment right after the grammar element. As a result, the grammar file would not return any interpretations. That is, if I set

<tag>$.answer = "foo"</tag>

in an item, the interpretation "answer" would not be returned.

To avoid this problem, put one blank line between the grammar element and the first comment.

I vaguely recall having other problems with comments in SRGS grammar files; if there are other elements or XML-related declerations at the top, the comments come afterwards. E.g., if there's a DOCTYPE declaration, you may have trouble if you place a comment between it and the grammar element. I recommend that you put comments after all top-of-file elements and declarations, just to be safe.

MRCP Interfaces to non-Prophecy ASR and TTS

Voxeo's tutorial on how to interface to non-Voxeo ASR and TTS can be found here.

But if all you're going to add is Microsoft's standard "Sam" TTS, don't bother — it sounds dreadful.

Error.Semantic When Variable Name is Not Supplied

I ran across an odd error in my log yesterday, and I could not make heads or tails of it:
SyntaxError: syntax error : ccxml. = 0;
As you might imagine, I certainly did not have <var name="ccxml." expr="0"/> anywhere in my code.

After writing Voxeo for help, I found the error simultaneously with their response. In my code, I found:
<var name="" expr="0"/>
Leaving the name of the variable blank causes the error. Of course, it does raise interesting questions about how to use this mysterious "ccxml" variable in other places in the code...

Longer DTMF Works on P8

As of this morning, sending outbound DTMF isn't working well on Prophecy 8 and BusinesVoIP. If you run into this problem, try lengthening the DTMF signal duration; I've used 150ms successfully.

Business VoIP up and Running on Version 8

Business VoIP outbound dialing is up and running on version 8; and with the able assistance of Voxeo's CTO, it even does toll-free numbers correctly and consistently.

Now if I could just figure out why my previously-functioning ASR is not working... something has changed, have I missed a transition?... stay tuned for tomorrow's exciting episode.

Syndicate content