Thanks, uuid_displace did the trick.
But the problem with this API is its not blocked. It returns immediatelly.
My next statement was hungup, so uuid_displace  goes in vain. I added sleep before hungup and it worked as expected.
 
Thanks for the help.
 
Srini
 

Date: Fri, 11 Jul 2014 13:05:19 -0700
From: msc@freeswitch.org
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] How to play a prompt(mid-call) after calls are bridged

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 https://confluence.freeswit.ch/display/FREESWITCH/API+Commands

-MC






On Fri, Jul 11, 2014 at 6:27 AM, Srini K <aksrini@hotmail.com> wrote:
Hi,
The call is bridged between leg a and leg b.
How to play a prompt in the midcall only towards leg b after receiving some dtmf from leg b.
 
After getting dtmf from leg b, I tried to play the prompt by
 bridgedSession = new ManagedSession(outBoundUuid);
bridgedSession.StreamFille("prompt.wav", 0);

But it didn't work.
Do I need to do something similar to MoH?
 
Thanks in advance.
Srini







_________________________________________________________________________
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



_________________________________________________________________________ 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