Janine Graves | Don, First, I want to mention that the audio file you configure in Dynamic Configuration must include the ".wav" extension, but not the default audio path. You also should specify whether you want to use the DefaultAudioPath. Second, I hope you realize that you don't need a dynamic configuration to say 'As of' followed by a date. But, if you do want to use one, then you should look in the javadocs and the CVP Programming Guide and the Say It Smart specifications ref manuals for important information. Here's the constructor and an example: VoiceElementConfig.SayItSmart itemName = defaults.new SayItSmart(SayItSmartClassName, InputFormat, OutputFormat, dataAsObject); Example (assume that acctnum was retrieved using the Session API method getElementData()):
VoiceElementConfig.SayItSmart acctNumAsDigits = defaults.new SayItSmart( “com.audium.sayitsmart.plugins.AudiumSayItSmartDigit”, ”number”, ”digits”, (Object) acctNum); //Say it Smarts have more information to configure than Static Audio acctNumAsDigits.setUseRecordedAudio(true); acctNumAsDigits.setUseDefaultAudioPath(true); acctNumAsDigits.setAudioType(“wav”); acctNumAsDigits.setFileset(“standard”); |
| Please sign in to flag this as inappropriate. |