Note that there are some explanatory texts on larger screens.

plurals
  1. POFatal Error Ocurrs when Subscriber Clicks #
    primarykey
    data
    text
    <p>I want the where, user clicks on the # and the IVR control goes back to main menu.</p> <p>But when user clicks on # it say fatal error occurred.</p> <p>I am newbie in IVR Domain please help me out.</p> <pre><code>&lt;?xml version='1.0' encoding='iso-8859-1' ?&gt; &lt;vxml application='http://intx.dev.spokn.com/airtelintx/global.vxml' version='2.0'&gt; &lt;log expr='[vxml_root_page] This log is after property element' /&gt; &lt;property name='termchar' value=' '&gt;&lt;/property&gt; &lt;property name='inputmodes' value='dtmf'&gt;&lt;/property&gt; &lt;log expr='[vxml_root_page] This log is after property element' /&gt; &lt;form id='main_menu'&gt; &lt;var expr='0' name='errorcount' /&gt; &lt;var expr='3' name='maxerrors' /&gt; &lt;field name='ivr_input'&gt; &lt;grammar mode='dtmf' root='main_choices' type='application/srgs+xml' version='1.0' xml:lang='en-US' xmlns='http://www.w3.org/2001/06/grammar'&gt; &lt;rule id='main_choices'&gt; &lt;one-of&gt; &lt;item&gt; 1 &lt;/item&gt; &lt;item&gt; 2 &lt;/item&gt; &lt;item&gt; 3 &lt;/item&gt; &lt;item&gt; # &lt;/item&gt; &lt;/one-of&gt; &lt;/rule&gt; &lt;/grammar&gt; &lt;prompt&gt; Choose which country you would like to go. For USA, press 1. For UK, press 2. For Canada, press 3. Press # to return to the main menu. &lt;/prompt&gt; &lt;nomatch&gt; &lt;if cond='errorcount == maxerrors'&gt; &lt;goto next='#exit' /&gt; &lt;else /&gt; &lt;assign expr='errorcount + 1' name='errorcount' /&gt; Oops that was an invalid input &lt;reprompt /&gt; &lt;/if&gt; &lt;/nomatch&gt; &lt;noinput&gt; &lt;if cond='errorcount == maxerrors'&gt; &lt;goto next='#exit' /&gt; &lt;else /&gt; &lt;assign expr='errorcount + 1' name='errorcount' /&gt; No input detected. Please try again. &lt;reprompt /&gt; &lt;/if&gt; &lt;/noinput&gt; &lt;filled&gt; &lt;if cond='ivr_input == 1'&gt; &lt;log expr="'[vxml_reply] ivr_input choice 1, record'" /&gt; &lt;log expr="'[vxml_reply] ivr_input choice 1, record'" /&gt; &lt;log expr="'[vxml_reply] The calling Number callerid'"&gt; &lt;value expr='callerid'&gt;&lt;/value&gt; &lt;/log&gt; &lt;submit expr="application.apphost + application.appuri + '/ivr/confirm_country.vxml'" namelist='ivr_input callerid' /&gt; &lt;/if&gt; &lt;if cond='ivr_input == 2'&gt; &lt;log expr="'[vxml_reply] ivr_input choice 2, record'" /&gt; &lt;log expr="'[vxml_reply] ivr_input choice 2, record'" /&gt; &lt;log expr="'[vxml_reply] The calling Number callerid'"&gt; &lt;value expr='callerid'&gt;&lt;/value&gt; &lt;/log&gt; &lt;submit expr="application.apphost + application.appuri + '/ivr/confirm_country.vxml'" namelist='ivr_input callerid' /&gt; &lt;/if&gt; &lt;if cond='ivr_input == 3'&gt; &lt;log expr="'[vxml_reply] ivr_input choice 3, record'" /&gt; &lt;log expr="'[vxml_reply] ivr_input choice 3, record'" /&gt; &lt;log expr="'[vxml_reply] The calling Number callerid'"&gt; &lt;value expr='callerid'&gt;&lt;/value&gt; &lt;/log&gt; &lt;submit expr="application.apphost + application.appuri + '/ivr/confirm_country.vxml'" namelist='ivr_input callerid' /&gt; &lt;/if&gt; &lt;if cond='ivr_input == #'&gt; &lt;log expr="'[vxml_reply] ivr_input choice #, record'" /&gt; &lt;log expr="'[vxml_reply] ivr_input choice #, record'" /&gt; &lt;log expr="'[vxml_reply] The calling Number callerid'"&gt; &lt;value expr='callerid'&gt;&lt;/value&gt; &lt;/log&gt; &lt;submit expr="application.apphost + application.appuri + '/ivr/main_menu.vxml'" namelist='ivr_input callerid' /&gt; &lt;/if&gt; &lt;/filled&gt; &lt;/field&gt; &lt;/form&gt; &lt;error&gt; &lt;log&gt; APP ERROR!!! &lt;value expr='_event' /&gt; &lt;/log&gt; A fatal error occurred. Please contact a customer service representative. &lt;disconnect /&gt; &lt;/error&gt; &lt;catch event=''&gt; &lt;log&gt; UNHANDLED EVENT!!! &lt;value expr='_event' /&gt; &lt;/log&gt; Sorry, there was a problem processing your request. Please try again later. &lt;disconnect /&gt; &lt;/catch&gt; &lt;/vxml&gt; </code></pre> <p>I guess this should do the work i.e. assigning termchar value " ", the user can enter # as input.</p> <pre><code>&lt;property name='termchar' value=' '&gt;&lt;/property&gt; </code></pre> <p>I get flowing Error :=</p> <pre><code>swi:SBjsi|501|SBjsi:ECMAScript engine exception|errmsg=SyntaxError: illegal character|line=1|linetxt=ivr_input == #|tokentxt=#\n </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload