[Freeswitch-users] Api function to check if media is currently being played

Michael Lutz mytemike72 at gmail.com
Sun Apr 1 16:05:30 MSD 2012


Hi All,

 

I am using an remote host to control my parked call using an inbound socket
connection.

I am sending  "uuid_broadcast" to play an audio file to the call. Before it
is being bridged. Everything works ok.

 

The problem is I need to continue my code (ESL) to instruct the bridge etc,
but I need to do that when the audio file being played is finished. 

 

Is there an api function for this? 

 

I tried "uuid_buglist" to check if that would return me some useful  data,
but that doesn't seem to be working (at least for what I need ..)

Is the something like "uuid_mediaReady" ?  show api didn't show me something
similar..

 

 

Thanks!,

Mike.

 

Ps. I believe tricking with checking file length of al wavs and calculating
the duration upfront would not be the way doing this. ;-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120401/5f50da2a/attachment.html 


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