[Freeswitch-users] How to play a prompt(mid-call) after calls are bridged

Srini K aksrini at hotmail.com
Mon Jul 14 17:06:04 MSD 2014


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 at freeswitch.org
To: freeswitch-users at 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 at 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 at freeswitch.org

http://www.freeswitchsolutions.com









Official FreeSWITCH Sites

http://www.freeswitch.org

http://wiki.freeswitch.org

http://www.cluecon.com



FreeSWITCH-users mailing list

FreeSWITCH-users at 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 at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140714/2c88f579/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list