<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=753181422-12032009><FONT face=Arial size=2>Hey all, does anyone
know how to detect a completion of an audio file playback using uuid_displace
API in a bridged call?</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial
size=2>ie)</FONT></SPAN></DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial size=2>socket.send("api
uuid_bridge #{uuid} #{other_uuid}");</FONT></SPAN></DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial size=2><wait for events
with eventName = "CHANNEL_BRIDGE"></FONT></SPAN></DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial size=2>socket.send("api
uuid_displace #{uuid} start #{filename} 0 mux");</FONT></SPAN></DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial size=2><wait for
playback to complete
***> <--
i do not receive any events from freeswitch notifying end
of audio file </FONT></SPAN></DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial size=2><now do
something></FONT></SPAN></DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV align=left><FONT face=Verdana size=1>Gabriel Cho</FONT></DIV>
<DIV><FONT face=Verdana size=1></FONT> </DIV>
<DIV align=left>
<DIV align=left><FONT face=Verdana size=1></DIV></FONT></DIV></BODY></HTML>