[Freeswitch-users] how to play a prompt after connection

Abaci abaci64 at gmail.com
Tue Aug 28 21:33:23 MSD 2012


try api_on_answer or execute_on answer
http://wiki.freeswitch.org/wiki/Variable_api_on_answer
http://wiki.freeswitch.org/wiki/Variable_execute_on_answer

On 8/28/2012 1:25 PM, Dave Horton wrote:
> I need to do the following:
>
> (1) connect an inbound caller to ivr, and collect a phone number
> (2) bridge the caller to the entered phone number
> (3) just after connection, play a prompt to the called party 'this call is being recorded'
> (4) make a recording of the call
>
> I basically have everything working except number 3 -- playing the prompt to the called party immediately after they pick up.  Since I am successfully recording the call I assume we have a conference going on freeswitch, and I should be able to play the prompt to the conference somehow (it's ok if the calling party hears it as well).
>
> I'm doing this in lua, but I think if someone points me to the freeswitch commands to use to stream a file to both parties immediately after bridging that's all I need.
>
>
>
>
> _________________________________________________________________________
> 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




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list