<!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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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>&lt;wait for events 
with eventName = "CHANNEL_BRIDGE"&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</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>&lt;wait for 
playback to complete 
***&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;-- 
i do not&nbsp;receive any&nbsp;events from freeswitch notifying end 
of&nbsp;audio file&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial size=2>&lt;now do 
something&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=753181422-12032009><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV align=left><FONT face=Verdana size=1>Gabriel Cho</FONT></DIV>
<DIV><FONT face=Verdana size=1></FONT>&nbsp;</DIV>
<DIV align=left>
<DIV align=left><FONT face=Verdana size=1></DIV></FONT></DIV></BODY></HTML>