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 62 matches

by soso
Thu Sep 17, 2009 4:20 am
Forum: Plum DEV Q&A
Topic: How to calculate the number of events on two fields?
Replies: 1
Views: 4203

How to calculate the number of events on two fields?

Hi, On my form, I've two fields: <field name="field1"> <filled> ... </filled> <noinput> ...</noinput> <nomatch> ... </nomatch> </field> <field name="field2"> <filled> </filled> <noinput> ...</noinput> <nomatch> ... </nomatch> </field> I would like to know if it's possible to know on the second field...
by soso
Thu Sep 03, 2009 2:32 am
Forum: Plum DEV Q&A
Topic: How can I use a different grammar for one field?
Replies: 5
Views: 7660

Hi,

Great !

Is it possible to use both separated files of grammars inline the dynamic.php file?
by soso
Wed Sep 02, 2009 9:56 am
Forum: Plum DEV Q&A
Topic: How can I use a different grammar for one field?
Replies: 5
Views: 7660

Ok, I clarify my problem: on a one field, i would like to use two grammars wich use star key and not star key. For more specific: I want to use a dynamic grammar fiill by one variable. If the user type the phone field, he can reprompt by press "*". If not (by a special procedure), the star key is no...
by soso
Wed Sep 02, 2009 7:36 am
Forum: Plum DEV Q&A
Topic: How can I use a different grammar for one field?
Replies: 5
Views: 7660

How can I use a different grammar for one field?

Hi, I've a field and I would like to use a different grammar if the field is call directely or not. Like example: <form id="main"> <field name="phone" cond="enter==true"> <grammar src="builtin:dtmf/digits?minlength=1;maxlength=255" /> <filled> </filled> </field> <field name="card"> </field> </form> ...
by soso
Mon Aug 31, 2009 9:34 am
Forum: Plum DEV Q&A
Topic: How do I reprompt all fields except the first?
Replies: 1
Views: 3728

How do I reprompt all fields except the first?

Hi, I've a form wich are 5 fields. When the user input the star pound, I must reset and reprompt the 4 fields except the first. I must to save a value of the first field (phone number). I try this code but it doesn't work: <form id="main"> <field name="phone"> </field> <field name="field1"> </field>...
by soso
Fri Aug 28, 2009 10:25 am
Forum: Plum DEV Q&A
Topic: Javascript returns string but not boolean!
Replies: 1
Views: 3873

Javascript returns string but not boolean!

Hi, I try to use this code: <data name="auth" src="Get.aspx" namelist="ID phone" maxage="0"/> <script> bip = auth.documentElement.getElementsByTagName("bip").item(0).firstChild.data; </script> ... <field name="msg" cond="bip==false"> ... </field> The value of "bip" element is true or false only. But...
by soso
Thu Aug 13, 2009 4:15 am
Forum: Plum DEV Q&A
Topic: Problem to confirm a field
Replies: 2
Views: 4265

Hi,

Great ! It's perfect.

Thanks.
by soso
Wed Aug 12, 2009 3:17 am
Forum: Plum DEV Q&A
Topic: Problem to confirm a field
Replies: 2
Views: 4265

Problem to confirm a field

Hi, I've another problem. I've a numeric field like: <field name="phone"> .. </field> I want to make the following thing: If the user wait too much for a long time, I play a message "to coninue, pess #". I use the code on the maxspeech event like: <catch event="maxspeech"> <assign name="maxspeech" e...
by soso
Mon Aug 10, 2009 8:07 am
Forum: Plum DEV Q&A
Topic: Reduce the code
Replies: 1
Views: 3738

Reduce the code

Hi, I've a field wich have the nomatch tag follow: <nomatch> <if cond="maxspeech==false"> <audio src="media/error.wav" /> <assign name="error" expr="true" /> </if> <if cond="error==true"> <audio src="media/avertissements/new.wav" /> </if> <assign name="set_phone" expr="undefined" /> <reprompt /> </n...
by soso
Fri Jul 31, 2009 4:48 am
Forum: Plum DEV Q&A
Topic: Cancel the user when it press many times the validate field
Replies: 1
Views: 3768

Cancel the user when it press many times the validate field

Hi, I've a problem to create a form. I've a form with two fields: message, and validate. When the user press #, on the first form, I call another voicexml page. On this page, the user can press "*" to return previous page, but it makes in most 3 times, after a disconnect is executed. Can you help me...
by soso
Fri Jun 19, 2009 4:46 am
Forum: Plum DEV Q&A
Topic: Says the number by peer
Replies: 3
Views: 5497

Ok, thanks.

Can you tell me what are this instructions :

(i % 2 ? '' : pause)

Thanks.
by soso
Thu Jun 18, 2009 3:34 am
Forum: Plum DEV Q&A
Topic: Says the number by peer
Replies: 3
Views: 5497

Says the number by peer

Hi,

I would like to reapeat a field by peer.

Like example: I've the field "253754", and I want to say :

You say '25' '37' 54'.

If the number is : 1253754, I want to say '1' '25' '37' '54'.

How do I make this function?

Thanks by advance.
by soso
Tue Jun 09, 2009 4:40 am
Forum: Plum DEV Q&A
Topic: Read xml file to an array
Replies: 3
Views: 6045

Ok, I found the solution. I use this code:

Code: Select all

            <foreach array="array" item="tmp">
                <audio expr="tmp" />
            </foreach>
Thanks again.
by soso
Tue Jun 09, 2009 4:31 am
Forum: Plum DEV Q&A
Topic: Read xml file to an array
Replies: 3
Views: 6045

Ok, thanks.

Yes, I change the local file for yours servers.

Thanks for your code. It's ok.

I've another problem: how can I play each element from array (I try "foreach" but doesn't work)?

Thanks by advance.
by soso
Mon Jun 08, 2009 10:51 am
Forum: Plum DEV Q&A
Topic: Read xml file to an array
Replies: 3
Views: 6045

Read xml file to an array

Hi, I've a problem to read a xml file with data tag. I use this code: <data name="call" src="D:\My Documents\Visual Studio 2005\Projects\Test\msg.xml" maxage="0"/> <script> var rc = call.documentElement.getElementsByTagName("rc").item(0).firstChild.data; var msg= call.documentElement.getElementsByTa...