We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Search found 17 matches

by jdart
Thu Feb 05, 2009 5:05 pm
Forum: Plum DEV Q&A
Topic: builtin digit grammar help using src in grammar tag
Replies: 1
Views: 5077

builtin digit grammar help using src in grammar tag

I can't get the below to match 10 digits entered via dtmf. What am I missing? <!-- Phone Number --> <form id="form_5"> <property name="recordutterancetype" value="audio/x-wav"/> <property name="recordutterance" value="true" /> <property name="interdigittimeout" value="3s" /> <field name="field_5"> <...
by jdart
Mon Jan 19, 2009 1:42 pm
Forum: Plum DEV Q&A
Topic: Built in grammars not working in french
Replies: 7
Views: 13508

What about Extended Built-in Grammars? Can you specify a language to use with them? I'm not having any luck. Example:

Code: Select all

<grammar src="http://10.10.1.1/imi/vxml/grammars/firstnames.php"
    root="first" 
    type="application/srgs+xml"
    mode="voice"
    xml:lang="fr-ca"
/>
by jdart
Thu Jan 15, 2009 5:18 pm
Forum: Plum DEV Q&A
Topic: Built in grammars not working in french
Replies: 7
Views: 13508

In order for the built in grammars to work does the vxml tag property xml:lang have to be set? Is there any way to change the language part way through a vxml file?
by jdart
Wed Jan 07, 2009 11:54 am
Forum: Plum DEV Q&A
Topic: Built in grammars not working in french
Replies: 7
Views: 13508

Does this mean that the built in grammars only work for English? Do I have to do something like this to recognize numbers, dollars, etc... This makes it difficult to make a single vxml file that supports multiple languages.
by jdart
Tue Jan 06, 2009 4:22 pm
Forum: Plum DEV Q&A
Topic: Built in grammars not working in french
Replies: 7
Views: 13508

Built in grammars not working in french

Consider the following vxml: <?xml version="1.0" encoding="UTF-8"?> <vxml version="2.0"> <!-- Test App: French --> <var name="xmllang" expr="'en-us'" /> <!-- Set Lang to French --> <form id="form_32"> <block> <assign name="xmllang" expr="'fr-ca'" /> <goto next="#form_52" /> </block> </form> <!-- Yes...
by jdart
Thu Aug 28, 2008 12:37 pm
Forum: Plum DEV Q&A
Topic: srgs grammar help
Replies: 6
Views: 11803

Thanks for your response. I think we're getting closer. I would like the grammar to give back several pieces of information based on the grammar match. I don't think your solution quite allows me to do that. Here's an example form: <form id="state_province"> <field name="state_province"> <grammar sr...
by jdart
Thu Aug 28, 2008 9:16 am
Forum: Plum DEV Q&A
Topic: srgs grammar help
Replies: 6
Views: 11803

Edit above: should end with a semi colon. You guys need to enable post editing!
by jdart
Thu Aug 28, 2008 9:15 am
Forum: Plum DEV Q&A
Topic: srgs grammar help
Replies: 6
Views: 11803

The contents of the tag tag should end with a one, assuming it's evaluated as ecma script. However, making that change doesn't give me a different result.
by jdart
Thu Aug 28, 2008 9:03 am
Forum: Plum DEV Q&A
Topic: srgs grammar help
Replies: 6
Views: 11803

This pattern seems to be the same as the one demonstrated in the documentation just below: http://www.plumvoice.com/docs/dev/devel ... n_grammars
by jdart
Wed Aug 27, 2008 4:57 pm
Forum: Plum DEV Q&A
Topic: srgs grammar help
Replies: 6
Views: 11803

srgs grammar help

I'm having trouble working with srgs+xml grammars. <?xml version="1.0" encoding="UTF-8"?> <vxml version="2.0"> <form id="form1"> <field name="field1"> <grammar root="grammar1" type="application/srgs+xml" mode="voice" > <rule id='grammar1'> <one-of> <item> One <tag> english='One';integer='1' </tag> <...
by jdart
Mon Aug 18, 2008 8:58 am
Forum: Plum DEV Q&A
Topic: Recording Format in Audacity
Replies: 4
Views: 8786

Looks like I went a bit crazy with the format too soon. My audio tag had a src property of "/path/to/wav" and I assumed it would be relative to the vxml document. It's not! Anyway, in Audacity the preset "WAV (Microsoft 16 bit PCM)" works. It's a shorthand for header: "WAV (Microsoft)" and encoding:...
by jdart
Fri Aug 15, 2008 1:40 pm
Forum: Plum DEV Q&A
Topic: Recording Format in Audacity
Replies: 4
Views: 8786

I also made sure caching wasn't a problem by using a new filename on every go.
by jdart
Fri Aug 15, 2008 1:38 pm
Forum: Plum DEV Q&A
Topic: Recording Format in Audacity
Replies: 4
Views: 8786

I should note that I created the recordings with the correct sample rate and bit rates of 8000Hz and 16-bit respectively.
by jdart
Fri Aug 15, 2008 1:35 pm
Forum: Plum DEV Q&A
Topic: Recording Format in Audacity
Replies: 4
Views: 8786

Recording Format in Audacity

I've been unable to create a wav file with Audacity that Plum will play.

Here are the settings I've tried:
Format: Other...
Header: WAV (Microsoft)
Encoding: Signed 16 bit PCM, U-Law, A-Law

and

Format: Other...
Header: Raw (header-less)
Encoding: Signed 16 bit PCM, U-Law, A-Law

Help!
by jdart
Mon Aug 11, 2008 5:03 pm
Forum: Plum DEV Q&A
Topic: Range of numbers grammar
Replies: 1
Views: 4787

Range of numbers grammar

I'm trying to create a grammar that checks for a range of numbers going. I've tried a field like this but it allows everything. <field name="foo"> <grammar src="builtin:dtmf/digits?minlength=5"/> <grammar src="builtin:dtmf/digits?maxlength=10"/> <nomatch> Nope. </nomatch> <filled> Ok. </filled> </fi...