[Freeswitch-users] Stopping recording and playing wav files and explicit one way audio?

Michael Jerris mike at jerris.com
Thu Oct 9 05:01:25 PDT 2008


On Oct 9, 2008, at 7:53 AM, Peter P GMX 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)?

There is an event you can send to break playback just like you would  
sendmsg to the event socket to execute a playback.  I don't recall the  
exact syntax, could someone please update this page:

http://wiki.freeswitch.org/wiki/Event_Socket#SendMsg


> 2.)
> I wan to manually stop recording in mod_voicemail. Via uuid_transfer I
> may transfer the call away from  mod_voicemail to a next available
> agent. The question is: Is the recording still stored and available
> although I unbridged the recording just in the middle? I would think  
> so
> as I would expect the same behaviour with a normal hangup, but can
> anyone confirm?

I think it will, but why don't you lab it up and test it and let us  
know.

> 3) Is it possible to bridge a call in a way that UA1 can hear UA2 and
> UA2 cannot hear UA1 (one way audio)?

You can probably do this by parking the ua2 and using the eavesdrop  
app on ua1 to spy on ua2.

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop

> Thank you so much for an answer. I promise I'll update the wiki with
> your answers.
>
> Pete




More information about the FreeSWITCH-users mailing list