Add support to playback stream

This commit is contained in:
Monocots 2019-03-28 22:41:38 +00:00
parent 0bd2e6fd61
commit e489d3f8dd
4 changed files with 4 additions and 2 deletions

View file

@ -102,7 +102,7 @@
<load module="mod_native_file"/> <load module="mod_native_file"/>
<!-- <load module="mod_shell_stream"/> --> <!-- <load module="mod_shell_stream"/> -->
<!--For icecast/mp3 streams/files--> <!--For icecast/mp3 streams/files-->
<!--<load module="mod_shout"/>--> <load module="mod_shout"/>
<!--For local streams (play all the files in a directory)--> <!--For local streams (play all the files in a directory)-->
<load module="mod_local_stream"/> <load module="mod_local_stream"/>
<load module="mod_tone_stream"/> <load module="mod_tone_stream"/>

View file

@ -111,7 +111,7 @@ class rhizo_base::freeswitch::common {
'freeswitch-mod-python', 'freeswitch-mod-say-en', 'freeswitch-mod-python', 'freeswitch-mod-say-en',
'freeswitch-mod-say-es', 'freeswitch-mod-sms', 'freeswitch-mod-say-es', 'freeswitch-mod-sms',
'freeswitch-mod-sndfile', 'freeswitch-mod-sofia', 'freeswitch-mod-sndfile', 'freeswitch-mod-sofia',
'freeswitch-mod-spandsp', 'freeswitch-mod-spandsp', 'freeswitch-mod-shout',
'freeswitch-mod-syslog', 'freeswitch-mod-tone-stream', 'freeswitch-mod-syslog', 'freeswitch-mod-tone-stream',
'freeswitch-mod-voicemail', 'freeswitch-mod-voicemail-ivr', 'freeswitch-mod-voicemail', 'freeswitch-mod-voicemail-ivr',
'freeswitch-mod-xml-cdr', 'freeswitch-mod-cdr-pg-csv', 'freeswitch-mod-xml-cdr', 'freeswitch-mod-cdr-pg-csv',

View file

@ -23,6 +23,7 @@ class rhizo_base {
$use_sip = hiera('rhizo::use_sip') $use_sip = hiera('rhizo::use_sip')
$advice_email = hiera('rhizo::advice_email') $advice_email = hiera('rhizo::advice_email')
$charge_scheme = hiera('rhizo::charge_scheme', 'normal') $charge_scheme = hiera('rhizo::charge_scheme', 'normal')
$test_playback = hiera('rhizo::test_playback', 'tone_stream://%(4000,250,440);loops=-1')
# database # database
$pgsql_db = hiera('rhizo::pgsql_db') $pgsql_db = hiera('rhizo::pgsql_db')

View file

@ -9,6 +9,7 @@ rhizomatica_dir = '<%= @rhizomatica_dir %>'
sq_hlr_path = '<%= @sq_hlr_path %>' sq_hlr_path = '<%= @sq_hlr_path %>'
use_sip = '<%= @use_sip %>' use_sip = '<%= @use_sip %>'
advice_email = <%= @advice_email %> advice_email = <%= @advice_email %>
test_playback = '<%= @test_playback %>'
# database # database
pgsql_db = '<%= @pgsql_db %>' pgsql_db = '<%= @pgsql_db %>'