# mod_whisper **Repository Path**: ryxun-fs/mod_whisper ## Basic Information - **Project Name**: mod_whisper - **Description**: No description available - **Primary Language**: C - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-27 - **Last Updated**: 2024-08-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mod_whisper A FreeSWITCH module to interface to your speech recognition & TTS server over websockets ## How to setup 1. Clone this repository in `${FREESWITCH_SOURCE_ROOT}/src/mod/asr_tts/` directory 2. Add `src/mod/asr_tts/mod_whisper/Makefile` in `configure.ac` under `AC_CONFIG_FILES` section 2.1. Add following snippet in `configure.ac` ``` PKG_CHECK_MODULES([WEBSOCKETS], [libwebsockets >= 0.0.1],[ AM_CONDITIONAL([HAVE_WEBSOCKETS],[true])],[ AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_WEBSOCKETS],[false])]) ``` 3. Add the following two module in the ${FREESWITCH_SOURCE_ROOT}/modules.conf ``` asr_tts/mod_whisper ``` 4. Run `autoreconf -f` before compiling freeswitch 5. Re-compile and install the freeswitch to install mod_whisper module. 6. Active the `mod_whisper` by add the following to lines into the `${FREESWITCH_INSTALLATION_ROOT}/conf/autoload_configs/modules.conf.xml` 7. Copy the lua script under `{FREESWITCH_INSTALLATION_ROOT}/scripts/` 8. Bind a number to build application by adding the following xml settings to the `${FREESWITCH_INSTALLATION_ROOT}/conf/dialplan/default.xml`