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

Avi Marcus avi at avimarcus.net
Tue Aug 28 21:40:06 MSD 2012


Set api_on_answer to execute
uuid_broadcast<http://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast>
which
will let you pick which legs to play the recording to.
You can pass in the UUID with ${uuid}

-Avi


On Tue, Aug 28, 2012 at 8:33 PM, Abaci <abaci64 at gmail.com> wrote:

> 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
>
>
> _________________________________________________________________________
> 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/20120828/f0078246/attachment.html 


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