<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thanks, uuid_displace did the trick.<BR>But the problem with this API is its not blocked. It returns immediatelly.<BR>My next statement was hungup, so uuid_displace goes in vain. I added sleep before hungup and it worked as expected.<BR> <BR>Thanks for the help.<BR> <BR>Srini<br> <BR><div><hr id="stopSpelling">Date: Fri, 11 Jul 2014 13:05:19 -0700<br>From: msc@freeswitch.org<br>To: freeswitch-users@lists.freeswitch.org<br>Subject: Re: [Freeswitch-users] How to play a prompt(mid-call) after calls        are bridged<br><br><div dir="ltr"><div>I'm assuming you meant Stream.File instead of Stream.Fille? Also, I think you might want to consider using uuid_displace (an API, not a dialplan app) whose docs are found at <a href="https://confluence.freeswit.ch/display/FREESWITCH/API+Commands" target="_blank">https://confluence.freeswit.ch/display/FREESWITCH/API+Commands</a><br>
<br></div>-MC<br><div><br><br><br><br></div></div><div class="ecxgmail_extra"><br><br><div class="ecxgmail_quote">On Fri, Jul 11, 2014 at 6:27 AM, Srini K <span dir="ltr"><<a href="mailto:aksrini@hotmail.com" target="_blank">aksrini@hotmail.com</a>></span> wrote:<br>
<blockquote style="padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="ecxgmail_quote">
<div><div dir="ltr">Hi,<br>The call is bridged between leg a and leg b.<br>How to play a prompt in the midcall only towards leg b after receiving some dtmf from leg b.<br> <br>After getting dtmf from leg b, I tried to play the prompt by<br>
bridgedSession = new ManagedSession(outBoundUuid);<br>bridgedSession.StreamFille("prompt.wav", 0);<BR><br>But it didn't work. <BR>Do I need to do something similar to MoH?<BR> <BR>Thanks in advance.<span class="ecxHOEnZb"><font color="#888888"></font></span><BR>
<font color="#888888">Srini<br>                                            </font><BR><BR><BR><BR><BR><BR></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org</div>                                            </div></body>
</html>