Skip to content

akscf/mod_openai_tts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

OpenAI Text-To-Speech service for the Freeswitch.
A small installation guide can be found here: Fail to compile module

Dialplan example

<extension name="tts-test"> <condition field="destination_number" expression="^(3333)$"> <action application="answer"/> <action application="speak" data="openai|en|Hello world!"/> <action application="sleep" data="1000"/> <action application="hangup"/> </condition> </extension>

mod_quickjs

session.ttsEngine= 'openai'; session.language = 'en'; session.speak('Hello world!');