[Freeswitch-users] change sounds file format of voicemail
Kris
kris at livecall.com
Wed Jun 29 23:05:24 MSD 2011
I am doing testing and I am about to submit changes to the GIT to allow
8000x8 bit wav and 8000x4bit vox recording. What formats would you like to
use?..maybe I can add them before I submit. This is my test extension and it
works with my modifications:
Kris
<extension name="playtest">
<condition field="destination_number" expression="^playtest$">
<action application="answer" data=""/>
<action application="set" data="tts_engine=flite"/>
<action application="set" data="tts_voice=kal"/>
<!--
-->
<action application="set" data="record_sample_rate=8000"/>
<action application="set" data="record_format= major=WAV,subtype=PCM_U8"/>
<action application="record" data="Test1.wav 20"/>
<action application="playback" data="tone_stream://%(100,0,1004);loops=5"/>
<action application="set" data="record_format= major=WAV,subtype=PCM_16"/>
<action application="record" data="Test2.wav 20"/>
<action application="playback" data="tone_stream://%(100,0,1004);loops=5"/>
<action application="set" data="record_format=
major=RAW,subtype=VOX_ADPCM"/>
<action application="sleep" data="200"/>
<action application="record" data="Test3.vox 20"/>
<action application="set" data="playback_delimiter=!"/>
<action application="read" data="0 1 'say:this starts at 5 seconds and plays
for 10 at volume
2!Test1.wav{start_ms=5000,timeout_ms=10000,speed=0,vol=2}!say:this is at
volume -1!Test2.wav{start_ms=5000,timeout_ms=10000,speed=0,vol=-1}!say:this
is vox!Test3.vox{start_ms=0,timeout_ms=8000,speed=2,vol=4}' digits 5000 #"/>
<action application="hangup"/>
</condition>
</extension>
----- Original Message -----
From: "Madovsky" <infos at madovsky.org>
To: <freeswitch-users at lists.freeswitch.org>
Sent: Wednesday, June 29, 2011 9:31 AM
Subject: [Freeswitch-users] change sounds file format of voicemail
Where can I force voicemail to use sounds other than .wav ?
Thanks
More information about the FreeSWITCH-users
mailing list