Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Stopping recording and playing wav files


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
tntknight at gmail.com
Guest





PostPosted: Thu Oct 09, 2008 11:56 am    Post subject: [Freeswitch-users] Stopping recording and playing wav files Reply with quote

On Thu, Oct 9, 2008 at 7:53 AM, Peter P GMX <Prometheus001@gmx.net> wrote:
Quote:
I have another 3 Questions. I know I had already 2 before within the
last 15 minutes, but I need to qualify whether we can build this special
app with freeswitch or not.

The questions are:
1.)
When I do a uuid_playback I want to be able to stop this playback #1
immediately. My Idea is that I may send an empty playback file #2 next
e.g. with a length of e.g. 0.1 seconds. Does file #2 stop playback of
file#1? What happens, if I transfer the file via uuid_transfer to
another extension while a file is playing. Is the file then still being
played to the incoming leg or does it stop plaing (my whish)?


The way to interrupt a playback is to use "break" as documented at
http://wiki.freeswitch.org/wiki/Event_socket_outbound

SendMsg <uuid>
call-command: execute
execute-app-name: break

When the file stops playing a CHANNEL_EXECUTE _COMPLETE event will be
fired with application: playback.

Tony

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services