mod_rss will parse and read an XML based RSS feed, then read the entries aloud via a TTS engine such as mod_cepstral. While its reading you can fast forward through articles, rewind, etc.
Make sure you are using the most recent Git as 1.0.0 had a bug which would only play the first feed on the list regardless of key press. Also, don't forget to enable the mod_rss module in conf/autoload_configs/modules.conf.xml.
Setup & Configuration
Configure mod_rss.conf.xml (in conf/autoload_configs):
The RSS subdirectory paths are relative to the FreeSWITCH base directory (e.g. /opt/freeswitch).
Setup script to fetch RSS
Sample news.js (should be placed in scripts folder - i.e. /opt/freeswitch/scripts)
Usage in dialplan (call to news.js)
I receive the following error mod_spidermonkey.c:2495 js_fetchurl_file() Error!
Check whether your directory /usr/local/freeswitch/rss (or /opt/freeswitch/rss) exists and is accessible by the user who runs FreeSWITCH. If this doesn't work, try to use the full path above:
I have a German Cepstral speech engine, but the menus are in English
- Change /usr/src/freeswitch/src/mod/applications/mod_rss/mod_rss.c . Replace the English announcement strings with your localized string.
- In the directory /usr/src/freeswitch/src/mod/applications/mod_rss/ do a "make" and "make install" then.