cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
902
Views
0
Helpful
2
Replies

getting A VoiceXML error occurred of type "error.badfetch"

amit.bidkar11
Level 1
Level 1

Hi All,

I am getting badfetch errors while trying to run CVP application. I used VXML Insert element to use external VXML file. There is no error in external vxml file but still I am getting badfetch errors. Please check the code I am using.

<?xml version="1.0"?>

<vxml version="2.0" xml:lang="en-us" application="/CVP/Server?audium_vxml_root=true&amp;calling_into=ITNDemo&amp;namelist=element_log_value">

     <var name="counter" expr="0"/>

    <var name="number" expr="'.'"/>

    <var name="test" expr="1"/>

    <form id="main">

        <field name="getdigit" type="digits?length=1">

            <grammar type="application/grammar+regex">[1234567890*]</grammar>

  

            <if cond="test==1">

                <prompt bargein="false">

                    Please enter 10 digits mobile number.

                </prompt>

            </if>

            <filled>

                <var name="escape" expr="getdigit"/>

                <if cond="escape=='*'">

                    <goto next="#mainform"/>

                    <else>

                    

                        <var name="number" expr=" number + '.' + getdigit"/>

                        <var name="counter" expr="counter+1"/>

     

  

                        <if cond="counter==10">

                       

                            <var name="element_log_value" expr="number"/>

                               <assign name="audium_exit_state" expr="'done'"/>

                                     <return namelist="audium_exit_state element_log_value" />

                        </if>

                        <else>

                            <var name="test" expr=="0"/>

                            <goto next="#mainform"/>

                        </else>

                    </else>

                </if> 

           

            </filled>

        </field> 

    </form>

</vxml>

2 Replies 2

Raghavendra G V
Cisco Employee
Cisco Employee

Hi Amit,

could you please collect logs with below debugs.

debug voip app

Thanks,

Raghavendra

Hi Raghavendra,

Thank You, I resolved that problem.

Thank You,

Amit Bidkar

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: