locked
VoiceXML: field of type 'number' with 0.x decimals input RRS feed

  • Question

  • Hi,

    I am evaluating the OCS 07 VoiceXML support and came across the issue of treating 0.x decimals numbers. I use field with type 'number'

    <field name="value" type="number">

    The issue is that if user wants to provide the number '0.2' OCS 07 DTMF requires him to press '0*2'. Unfortunately the sequence of just '*2' does not work, which is very unlikely in my case. Futhermore as far as I understand the standard it is incorrect:

    field.number - "Valid DTMF input includes positive numbers entered using digits and "*" to represent a decimal point. ... The result must not use a leading zero (which would cause ECMAScript to interpret as an octal number)." (http://www.w3.org/TR/voicexml20/#dmlABuiltins - number)

     

    Is there any way to resolve this problem?

     

    Thanks,

    Gennady

    Thursday, November 15, 2007 4:00 PM

All replies

  • Under Program Files\Microsoft Office Communications Server 2007 Speech Server\VoiceXml\1033\Builtin

    There is a builtin.grxml with a rule id="number". 

     

    That looks like a good place to start.
    Friday, December 21, 2007 1:10 PM
  • Actually, look in

    Program Files\Microsoft Office Communications Server 2007 Speech Server\VoiceXml\DTMF

     

    Friday, December 21, 2007 1:39 PM