[Voiceglue] invalid inputmodes "dtmf voice", must be dtmf

pankaj pandey pankaj.niet at yahoo.com
Tue Apr 20 09:19:14 UTC 2010


Hi Everyone,

I have an issue when i using the following code:

<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.0" xmlns="http://www.w3.org/2001/vxml">
  <form>
    <block>
    <prompt>
      <audio src="http://127.0.0.1/Voice/WELCOME.gsm"/>
    </prompt>
    </block>
<field name="confirm" type="digits?length=1">
    <prompt><audio src="WELCOME.gsm" /></prompt> 
   <filled>
    <if cond="confirm=='1'"><goto next="a.vxml"/>
       <elseif cond="confirm =='2'"/><goto next="aa.vxml"/>
      
          </if>
  </filled></field>

  </form>
</vxml>


It shows the following error:-

In dynlog -  
EROR VOICEGLU testing- callid=[1] invalid inputmodes "dtmf voice", must be dtmf

IN Asterisk cli- 
 STREAM FILE voiceglue/tts/A_serious_error_has_occured___Exiting_ 0123456789*#
    -- Playing 'voiceglue/tts/A_serious_error_has_occured___Exiting_' (escape_digits=0123456789*#) (sample_offset 0)
<SIP/100-0000001c>AGI Tx >> 200 result=0 endpos=23989

I Also used 

<option dtmf="1" value ="1"/>
<option dtmf="2" value ="2"/>

but it remains same.


I also confused that how can i get Callerid And DID in it?

in vxml i get callerid =session.connection.remote.uri


Please HELP

Thanks and Reg
Pankaj Pandey




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.voiceglue.org/pipermail/voiceglue/attachments/20100420/46a56f68/attachment.html>


More information about the Voiceglue mailing list