[Freeswitch-users] mod_lua play file into conference

Michael Collins msc at freeswitch.org
Wed May 11 19:14:26 MSD 2011


On Wed, May 11, 2011 at 7:51 AM, Fernando Testa <
testa at voicetechnology.com.br> wrote:

> When you api:execute('conference'...) the function blocks. Then you have to
> stream from outside, possibly using an inbound socket application.
> Maybe alternatively you can call
> http://wiki.freeswitch.org/wiki/Mod_commands#sched_api just before put
> someone on the conference.
>
Try this:

api = freeswitch.API()

confplay = api:execute("bgapi", "conference " .. argv[1] .. " play
/usr/local/freeswitch/sounds/tones/norstar.wav ")

Let us know if that works...

-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110511/87c2b6c9/attachment.html 


More information about the FreeSWITCH-users mailing list