VoiceXML Forum Community Message Board


Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» VoiceXML Forum Community Message Board   » Newbies   » portfailure

 - UBBFriend: Email this page to someone!    
Author Topic: portfailure
SandeepReddy
Junior Member
Member # 3967

Rate Member
Icon 2 posted November 08, 2006 01:58 AM      Profile for SandeepReddy   Email SandeepReddy   Send New Private Message       Edit/Delete Post   Reply With Quote 
Hello Group i have joined the group recently ,i am encountering a problem for which i wish to know the solution from the members of the group.

Here is my VXML application
code:
**************************************************
<?xml version="1.0" encoding="UTF-8"?>
<vxml version="2.0">
<form>
<block>
<prompt>Welcome to express pizza delivery. Any where any time in just half an hour.</prompt>
<prompt>please say yes or no.</prompt>
</block>
<field name="reg" type="boolean">
<filled>
<if cond="reg">
<prompt>you are a registered customer, please key in your phone number followed by the star key .</prompt>
<else/>
<prompt>you are not registered please key in only the star key to talk to our customer care executive.</prompt>
</if>
</filled>
</field>

<field name="phone">
<grammar type="text/gsl" xml:lang = "en-us" >
[1 2]
</grammar>
<filled>
<prompt>
You are done
</prompt>
</filled>
</field>
</form>
</vxml>
**************************************************

this application is being run on the VOXEO platform and it gives an error as

ERROR
****************
Error retriving grammar (can't convert to JSGF?).
ASRPortImpl::StartReco(): failed to add a grammar.
Failed to start speech recognition. Port failure.

*********************
I request the group to please help me out of this problem..
Thanking the group in advance..............
code:
  



--------------------
SandeepReddy

Posts: 3 | From: Hyderabad | Registered: Nov 2006  |  IP: Logged
mheadd
Member
Member # 3181

Member Rated:
4
Icon 1 posted November 08, 2006 10:36 AM      Profile for mheadd   Author's Homepage   Email mheadd   Send New Private Message       Edit/Delete Post   Reply With Quote 
You should read the Voxeo documentation on grammars carefully.

It might be easier for you to use a "builtin" grammar for this. There is one provided for capturing phone numbers.
code:
<var name="myPhone" expr="''"/>

...

<form id="F_1">
<field name="getPhone" type="phone">
<prompt>Please enter your 10 digit phone number.</prompt>
<filled>
<assign name="myPhone" expr="getPhone"/>
<goto next="#sayPhone"/>
</filled>
</field>
</form>

<form id="sayPhone">
<block>
<prompt>You enntered, <value expr="myPhone"/>. Goodbye</prompt>
<disconnect/>
</block>
</form>

Check out the Voxeo site for more information.

Hope this helps.

--------------------
Mark
VoiceinGov.org
http://www.voiceingov.org

Posts: 55 | Registered: Jun 2005  |  IP: Logged
SandeepReddy
Junior Member
Member # 3967

Rate Member
Icon 2 posted November 10, 2006 12:04 AM      Profile for SandeepReddy   Email SandeepReddy   Send New Private Message       Edit/Delete Post   Reply With Quote 
I would like to know what the error(Port failure) meant .I am unable to run any GSL grammar applications on VOXEO platform.The first time I installed Voxeo There was no problem every thing was working fine .Due to some operating system problem i had to install it again,from then on the applications with GSL Grammar are not working.I request the forum members to suggest solution to it.
Looking forward to your solution......

--------------------
SandeepReddy

Posts: 3 | From: Hyderabad | Registered: Nov 2006  |  IP: Logged
SandeepReddy
Junior Member
Member # 3967

Rate Member
Icon 13 posted November 13, 2006 12:47 AM      Profile for SandeepReddy   Email SandeepReddy   Send New Private Message       Edit/Delete Post   Reply With Quote 
Is there any one who could help me out of the port failure problem regarding GSL grammars on VOXEO platform.I am very very eagerly waiting..............

--------------------
SandeepReddy

Posts: 3 | From: Hyderabad | Registered: Nov 2006  |  IP: Logged


All times are Eastern  
Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:

Contact Us | VoiceXML Forum



Powered by Infopop Corporation
UBB.classicTM 6.3.1.2