Commit 2934afa1 authored by sergey's avatar sergey

add say digits

parent ada684d8
......@@ -105,6 +105,14 @@ Context.prototype.getVariable = function(name, cb) {
this.send('GET VARIABLE ' + name + '\n', cb || function() { });
};
Context.prototype.sayNumber = function(number, escape_digits, cb) {
this.send('SAY NUMBER ' + number + ' "' + escape_digits + '"' + '\n', cb || function() { });
};
Context.prototype.sayDigits = function(digits, escape_digits, cb) {
this.send('SAY DIGITS ' + digits + ' "' + escape_digits + '"' + '\n', cb || function() { });
};
Context.prototype.streamFile = function(filename, acceptDigits, cb) {
if(typeof acceptDigits === 'function') {
cb = acceptDigits;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment