Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [vtp-dev] Execution API thoughts

See below a few comments:
 
Ross Yakulis
-----Original Message-----
From: vtp-dev-bounces@xxxxxxxxxxx [mailto:vtp-dev-bounces@xxxxxxxxxxx]On Behalf Of Brent D Metz
Sent: Wednesday, August 24, 2005 6:56 PM
To: vtp-dev@xxxxxxxxxxx
Subject: [vtp-dev] Execution API thoughts


For tomorrow's call, and for anyone who can't make it, here is what I think the implementation of a generic Execution API would need:

Launch configuration type: org.eclipse.vtp.launching.voicexml
 - Run mode only

Launch configuration dialog tab group:
 - Default pane to choose URL or file in workspace
 - Browser chooser pane with custom configuration composite

ILaunchConfiguration implementation: VoiceXMLBrowserLaunchConfiguration
 - Define common configuration parameters: URL, ???
 - Delegate launch() method to IVoiceXMLBrowser


IVoiceXMLBrowser to interact with browser
  start()
  stop()
  pause()?
  setProperty(String propertyname, Object value)
  throwevent(String eventname)
  sendKeypress(char c)
  sendText(String text)
  sendSI(String SI[]) [Yakulis, Ross (Ross)] SI? 
  boolean hasCapability(String capability)
[Yakulis, Ross (Ross)] you may want to force a hangup and also force the result of a xtansfer in
simulation so that the code covers various paths.
Also, on the start, you will probably want to pass in various VXML session variables,
for example the session.connection.local.uri and session.connection.remote.uri (dnis and ani)
may cause the application code to take different paths of execution.
I assume the send text is for ASR results simulation?  If so you might consider how n-best
results are simulated and confidence values are simulated.     

VoiceXMLBrowserDebugTarget to implement IDebugTarget to handle starting,stopping browser,
  notifying UI of changes, loading Browser UI controls

Throw DebugEvent objects of type MODEL_SPECIFIC into the Eclipse Debugging framework via
DebugPlugin.getDefault().fireDebugEventSet()
  - Use setData() to attach VoiceXMLBrowserEvent objects

New VoiceXMLBrowserEvent object to define the following VoiceXML-specific event types:
  - Received Keypress
  - Received Speech
  - Received SI
  - Log tag message
  - Generic log message
  - Sent text/audio to user
  - Entered line
  - Loaded resource

--
Brent D. Metz
Enterprise Voice Tools
bdmetz@xxxxxxxxxx
"Simple things should be simple, and complex things should be possible." - Alan Kay

Back to the top