change sounds file format of voicemail
Where can I force voicemail to use sounds other than .wav ? Thanks
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@madovsky.org> To: <freeswitch-users@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
I kris, I just converted all wav in spx, and also G711 would be great.. do yo need I send to you some spx samples ? Thanks ----- Original Message ----- From: "Kris" <kris@livecall.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, June 29, 2011 3:05 PM Subject: Re: [Freeswitch-users] change sounds file format of voicemail
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@madovsky.org> To: <freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
G711 is 64kbs so my guess is to do 8000 RAW or WAV in PCM 8bits. If you send me the file I can try it. If you put a .wav extension on it doesn't Freeswitch play it? spx may not be doable with sndfile, but I don't know it's real format..who knows. The supported formats are here: http://www.mega-nerd.com/libsndfile/ and in the source sndfile.h VOX is not listed there but it records and plays now by using RAW|VOX_APCM format, but that's not the only VOX format out there. The thing is all these file extensions could have different formats so you have to know what you have. Kris email: livecallcom@hotmail.com ----- Original Message ----- From: "Madovsky" <infos@madovsky.org> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, June 29, 2011 1:15 PM Subject: Re: [Freeswitch-users] change sounds file format of voicemail
I kris,
I just converted all wav in spx, and also G711 would be great.. do yo need I send to you some spx samples ?
Thanks ----- Original Message ----- From: "Kris" <kris@livecall.com> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, June 29, 2011 3:05 PM Subject: Re: [Freeswitch-users] change sounds file format of voicemail
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@madovsky.org> To: <freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On 06/30/2011 03:05 AM, 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 8000x8 bit is a really stupid choice. A-law or u-law would do a far better job, despite being lossy codecs. The dynamic range of 8 bit line audio just isn't enough for speech. 8000x4bit vox made sense in the 90s, because Dialogic used it, and they were big in IVRs. It seems a very obsolete choice these days.
Steve
There are a lot of Dialogics out there and I just needed compativility with it's 8 bit wav and 4bit vox and I will submit it to the GIT so others who need that compatibility can use it. When I first started with 2 phone lines, I had a 286 with 40mb disk. When you have a few thousand files you can copy, convert and not worry about it. When you have a million, not so fast... I want to have both Dialogic and FS running side by side and sharing messages. I am just not a fan of converting gigabytes of files, then find that I am up the creek without a paddle-something goes wrong..I wanted to rewrite my program in a modern language like C#, instead of continuing with ancient C,that I started with 20 years ago. 16 bit wav, do sound better at 4x the storage. ----- Original Message ----- From: "Steve Underwood" <steveu@coppice.org> To: <freeswitch-users@lists.freeswitch.org> Sent: Friday, July 01, 2011 7:21 AM Subject: Re: [Freeswitch-users] change sounds file format of voicemail
On 06/30/2011 03:05 AM, 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 8000x8 bit is a really stupid choice. A-law or u-law would do a far better job, despite being lossy codecs. The dynamic range of 8 bit line audio just isn't enough for speech. 8000x4bit vox made sense in the 90s, because Dialogic used it, and they were big in IVRs. It seems a very obsolete choice these days.
Steve
On 07/02/2011 03:59 AM, Kris wrote:
There are a lot of Dialogics out there and I just needed compativility with it's 8 bit wav and 4bit vox and I will submit it to the GIT so others who need that compatibility can use it. When I first started with 2 phone lines, I had a 286 with 40mb disk. When you have a few thousand files you can copy, convert and not worry about it. When you have a million, not so fast... I want to have both Dialogic and FS running side by side and sharing messages. I am just not a fan of converting gigabytes of files, then find that I am up the creek without a paddle-something goes wrong..I wanted to rewrite my program in a modern language like C#, instead of continuing with ancient C,that I started with 20 years ago. 16 bit wav, do sound better at 4x the storage.Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE What on Earth do you have that uses 8 bit wav files?
Steve
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@madovsky.org> To: <freeswitch-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Bryan Smart
-
Kris
-
Madovsky
-
Steve Underwood