mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-18 01:04:13 +00:00
conf: add config files to module directories
The idea here is that the config files in the module directories will serve as the canonical documentation of all module configuration options.
This commit is contained in:
1 parent
f65140661c
commit
cac6c262bb
83 files changed
+3108
No files matched your search
@@ -0,0 +1,7 @@
|
||||
<configuration name="rss.conf" description="RSS Parser">
|
||||
<feeds>
|
||||
<!-- Just download the files to wherever and refer to them here -->
|
||||
<!-- <feed name="Slash Dot">/home/rss/rss.rss</feed> -->
|
||||
<!-- <feed name="News Forge">/home/rss/newsforge.rss</feed> -->
|
||||
</feeds>
|
||||
</configuration>
|
||||
@@ -0,0 +1,7 @@
|
||||
<include>
|
||||
<extension name="rss">
|
||||
<condition field="destination_number" expression="^rss$">
|
||||
<action application="rss"/>
|
||||
</condition>
|
||||
</extension>
|
||||
</include>
|
||||
@@ -0,0 +1,12 @@
|
||||
if (session.ready()) {
|
||||
session.answer();
|
||||
session.speak("cepstral","David","Please wait while we refresh the RSS feeds.")
|
||||
|
||||
fetchURLFile("http://weather.yahooapis.com/forecastrss?p=60610","rss/weather.rss");
|
||||
fetchURLFile("http://rss.news.yahoo.com/rss/topstories","rss/yahootop.rss");
|
||||
fetchURLFile("http://rss.news.yahoo.com/rss/science","rss/yahoosci.rss");
|
||||
fetchURLFile("http://rss.news.yahoo.com/rss/business","rss/yahoobus.rss");
|
||||
fetchURLFile("http://rss.news.yahoo.com/rss/entertainment","rss/yahooent.rss");
|
||||
fetchURLFile("http://rss.slashdot.org/Slashdot/slashdot","rss/slashdot.rss");
|
||||
fetchURLFile("http://www.freeswitch.org/xml.php","rss/freeswitch.rss");
|
||||
}
|
||||
Reference in new issue
Block a user