Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

originate a call with text to speech message #63

Open
measaperson opened this issue Feb 25, 2019 · 1 comment
Open

originate a call with text to speech message #63

measaperson opened this issue Feb 25, 2019 · 1 comment

Comments

@measaperson
Copy link

I have a tape announcement as a text which must be translated via text to speech. When I try to call an outgoing phonenumber how can I setup the text to speech variable and the recipient? An example would be

ami.action({
    'action': 'originate',
    '??? phonenumber ???': '12345',
    '??? text to be spoken ???': 'Hello, this is a tape announcement'
  }, (err, res) => {
    if (err) {
        throw err;
    }

    console.log('everything was fine');
  });```
@yeya
Copy link

yeya commented Feb 27, 2019

Your question is not related to this library.
You need to originate a call to specific application.
This library can let you do that after you setup the application.
Read this. If you have a working command you can run by cli, you can execute it by this library too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants