Text to Speech outbound call

I am fairly new to Asterisk, so please forgive me if this has been answered before, but I could’t find it on the forum.

I’d like to use my Asterisk system to place an outbound call to read system generated alerts. This could be accomplished either by checking an email box for a message (preferable), or by script and having Asterisk read the contents of the email body or text from a file to the person it calls. You might call this a Text to Voice gateway (think PagerDuty).

Can anyone help me with this solution? TIA!

-Josh

Asterisk has functionality to allow you to trigger outbound calls and do something as a result, but there is no built in text to speech support or functionality. For that aspect you would need to integrate with something else.

Yes, thank you. What is the features that triggers outbound calls and what would be the best tool to integrate.

Thanks,
Josh

Call files[1] can be used.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Call+Files

2 Likes

Or you can use AMI Originate:

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_Originate

2 Likes

This can be easily done using AMI Originate Action and any TTS API provider, you should have some Python or PHP knowledge or any other programming language

1 Like

Thank you all. I am working through some of the details, but I believe I have all the parts for a working working solution. I’ll post an example.