8000 GitHub - akscf/mod_openai_tts: Freeswitch TTS module
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

akscf/mod_openai_tts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

OpenAI Text-To-Speech service for the Freeswitch.

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!');
0