instedd / verboice

Open source toolkit for voice services; with special focus to the needs of medium- and low-income countries, scalable services, and interacting with vulnerable populations
http://verboice.instedd.org/
GNU General Public License v3.0
45 stars 18 forks source link

Need Javascript Service #531

Open waj opened 10 years ago

waj commented 10 years ago

Currently External Services allow a callflow to interact with other arbitrary code and storage, adding a lot of power to callflow control. However, this requires the ability to host a service, define a manifest, and other tasks that are OK for integrating with big services but very high overhead for simple scripting needs.

Verboice needs to have a way for simple logic to be implemented without that hosting overhead - I am suggesting here a project can have collection of 'Scripts' that follow the same paradigm as external services:

This would allow you to do basic but powerful things on variables (increments / decrements, counts, if-then-else logic, random branching, numbers-to-readout etc)


waj commented 10 years ago

Maybe this is not something for Verboice or any particular tool - if we norm on a dict-in/dict-out convention for verboice, mbuilder, etc maybe these are just scripts you have in the 'Hub'