[Freeswitch-dev] choppy sound with .wav file played inthebackground

Han Xin xin at ind.rwth-aachen.de
Tue Oct 25 13:24:06 MSD 2011


 hmm, just one call with two sessions, one is the local session, the other is the remote/partner session.

I want to play a indication sound file when I press a button on each side, while the call is ongoing. That's what I mean with
the background. sorry for the vague description.

Regards,
Han
 
----------------original message-----------------
From: "Peter Olsson" 
To: "'freeswitch-dev at lists.freeswitch.org '" freeswitch-dev at lists.freeswitch.org 
Date: Tue, 25 Oct 2011 11:00:53 +0200
-------------------------------------------------
 
 
> How do you mean when you say "in background"? Are ju running this command from 
> another thread then the channel's own thread?
> 
> /Peter
> 
> 
> -----Ursprungligt meddelande-----
> Från: freeswitch-dev-bounces at lists.freeswitch.org 
> [mailto:freeswitch-dev-bounces at lists.freeswitch.org ] För Han Xin
> Skickat: den 25 oktober 2011 10:53
> Till: freeswitch-dev at lists.freeswitch.org 
> Ämne: [Freeswitch-dev] choppy sound with .wav file played in the background
> 
> Hi all, I have another question to ask again :P
> 
> When I use:
> 
> switch_ivr_play_file(session, NULL, file_path, NULL);
> 
> to play a file such as "misc/8000/sorry.wav" directly, the sound is so choppy.
> 
> Am I doing the background sound playing the right way?
> 
> Han
> --
> 
> 
> 
> 
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
> 
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org 
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> 
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-d
> ev
> http://www.freeswitch.org
> 
> !DSPAM:4ea6780b32761207110701!
> 
> 
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
> 
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org 
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> 
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-d
> ev
> http://www.freeswitch.org
> 

-- 

 




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