[Freeswitch-users] Concatenated multiple playback types

Christopher Rienzo cmrienzo at gmail.com
Wed Feb 27 02:50:47 MSK 2013


file_string:// does the concatenation.. so you need:

file_string://silence_stream://6000!conference/conf-alone.wav


On Tue, Feb 26, 2013 at 2:53 PM, Michael Collins <msc at freeswitch.org> wrote:

> What about this?
>
> <param name="alone-sound"
> value="silence_stream://6000!conference/conf-alone.wav"/>
>
> -MC
>
>
> On Mon, Feb 25, 2013 at 9:36 PM, Emrah <lists at kavun.ch> wrote:
>
>> Hi there,
>>
>> Just wanted to inquire about this again.
>> FS is ever so flexible in so many ways that I cannot understand why this
>> wouldn't work.
>> I would like to apply the following to my alone sound in
>> conference.conf.xml.
>> silence_stream://6000!file_string:///path-to-alone-sound.wav
>>
>> I am imagining other scenarios where I would want to use some silence
>> before generating a ringback.
>>
>> What is your take on this?
>> Cheers
>> On Aug 22, 2012, at 12:40 PM, Michael Collins <msc at freeswitch.org> wrote:
>>
>> > One thing I like about the sox method is that it requires very little
>> in the way of processing/resources.
>> > -MC
>> >
>> > On Wed, Aug 22, 2012 at 9:27 AM, Emrah <lists at kavun.ch> wrote:
>> > Hey Michael,
>> >
>> > That was my work around before I posted, but I thought since you guys
>> do allow some flexibility with silence, tone generation and file playback
>> all usable with the same app, I thought it would make more sense to take
>> advantage of it and combine some things there.
>> >
>> > All the best, thanks for your response.
>> > Emrah
>> > On Aug 22, 2012, at 12:07 PM, Michael Collins <msc at freeswitch.org>
>> wrote:
>> >
>> > > You could always take the sneaky approach and use sox to add some
>> silence to the beginning of conf-alone.wav.
>> > > -MC
>> > >
>> > > On Wed, Aug 22, 2012 at 8:56 AM, Emrah <lists at kavun.ch> wrote:
>> > > Thanks for your response.
>> > > I don't think it would be something bad to implement.
>> > >
>> > > I also wanted to correct a little issueI experience both with FS and
>> Asterisk.
>> > > If you generate a tone, even if it's played in a file, and you
>> execute a record action right after it is played, the last 30 ms (or so) of
>> the tone is distorded and kind of faded out.
>> > > In some sircompstances, you might even hear the hint of the tone when
>> you execute the next playback.
>> > > I wanted to replace my record tones with the tone followed by 30 MS
>> silence.
>> > >
>> > > Best,
>> > > Emrah
>> > >
>> > > On Aug 22, 2012, at 10:36 AM, Peter Olsson <
>> peter.olsson at visionutveckling.se> wrote:
>> > >
>> > > > I don't believe this is possible. If you record 5 seconds of
>> silence into a file you might be able to use file_string:// to play them
>> both.
>> > > >
>> > > > /Peter
>> > > >
>> > > >
>> > > > -----Ursprungligt meddelande-----
>> > > > Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at lists.freeswitch.org] För Emrah
>> > > > Skickat: den 22 augusti 2012 16:24
>> > > > Till: FreeSWITCH Users Help
>> > > > Ämne: [Freeswitch-users] Concatenated multiple playback types
>> > > >
>> > > > Hello there,
>> > > >
>> > > > I am trying to add some silence before the alone sound file in my
>> conference.cnf.xml and can't get it to work.
>> > > >
>> > > > Here is what I tried:
>> > > > <param name="alone-sound"
>> value="silence_stream://5000!file_string://conference/conf-alone.wav"/>
>> > > > <param name="alone-sound"
>> value="silence_stream://5000&file_string://conference/conf-alone.wav"/>
>> > > > <param name="alone-sound"
>> value="silence_stream://5000|file_string://conference/conf-alone.wav"/>
>> > > > <param name="alone-sound"
>> value="silence_stream://5000;file_string://conference/conf-alone.wav"/>
>> > > >
>> > > > Any idea on how to do this?
>> > > >
>> > > > Thanks!
>> > > > Emrah
>> > > >
>> _________________________________________________________________________
>> > > > Professional FreeSWITCH Consulting Services:
>> > > > consulting at freeswitch.org
>> > > > http://www.freeswitchsolutions.com
>> > > >
>> > > > 
>> 
>> > > >
>> > > > Official FreeSWITCH Sites
>> > > > http://www.freeswitch.org
>> > > > http://wiki.freeswitch.org
>> > > > http://www.cluecon.com
>> > > >
>> > > > 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
>> > > >
>> > > > !DSPAM:5034e9a632761303016055!
>> > > >
>> > > >
>> > > >
>> _________________________________________________________________________
>> > > > Professional FreeSWITCH Consulting Services:
>> > > > consulting at freeswitch.org
>> > > > http://www.freeswitchsolutions.com
>> > > >
>> > > > 
>> > > > 
>> > > >
>> > > > Official FreeSWITCH Sites
>> > > > http://www.freeswitch.org
>> > > > http://wiki.freeswitch.org
>> > > > http://www.cluecon.com
>> > > >
>> > > > 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
>> > >
>> > >
>> > >
>> _________________________________________________________________________
>> > > Professional FreeSWITCH Consulting Services:
>> > > consulting at freeswitch.org
>> > > http://www.freeswitchsolutions.com
>> > >
>> > > 
>> > > 
>> > >
>> > > Official FreeSWITCH Sites
>> > > http://www.freeswitch.org
>> > > http://wiki.freeswitch.org
>> > > http://www.cluecon.com
>> > >
>> > > 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
>> > >
>> > >
>> > >
>> > > --
>> > > Michael S Collins
>> > > Twitter: @mercutioviz
>> > > http://www.FreeSWITCH.org
>> > > http://www.ClueCon.com
>> > > http://www.OSTAG.org
>> > >
>> > >
>> > >
>> _________________________________________________________________________
>> > > Professional FreeSWITCH Consulting Services:
>> > > consulting at freeswitch.org
>> > > http://www.freeswitchsolutions.com
>> > >
>> > > 
>> > > 
>> > >
>> > > Official FreeSWITCH Sites
>> > > http://www.freeswitch.org
>> > > http://wiki.freeswitch.org
>> > > http://www.cluecon.com
>> > >
>> > > 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
>> >
>> >
>> >
>> _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> > 
>> > 
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://wiki.freeswitch.org
>> > http://www.cluecon.com
>> >
>> > 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
>> >
>> >
>> >
>> > --
>> > Michael S Collins
>> > Twitter: @mercutioviz
>> > http://www.FreeSWITCH.org
>> > http://www.ClueCon.com
>> > http://www.OSTAG.org
>> >
>> >
>> >
>> _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> > 
>> > 
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://wiki.freeswitch.org
>> > http://www.cluecon.com
>> >
>> > 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
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>
>
>
> --
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130226/a543b2e8/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list