[Freeswitch-users] change sounds file format of voicemail

Bryan Smart bryansmart at bryansmart.com
Sat Jul 2 00:21:03 MSD 2011


Would this work with general recording to a file, or is it just for voicemail?

Can we record to, or have voicemail record to, compressed formats?

Bryan

On Jun 29, 2011, at 3:05 PM, Kris wrote:

> 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 
> 
> 
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




More information about the FreeSWITCH-users mailing list