On Thu, Oct 9, 2008 at 7:53 AM, Peter P GMX <Prometheus001@gmx.net> wrote:
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