[Freeswitch-dev] playback in background

Anthony Minessale anthony.minessale at gmail.com
Sat Oct 30 20:16:05 PDT 2010


Lookup displace and uuid_displace
On Oct 30, 2010 8:14 PM, "Seven Du" <dujinfang at gmail.com> wrote:
> Hi,
>
> I didn't find a way to playback in background in normal dialplan/lua
> scripts. I know how to use event socket to do async, but I still think
> it's useful in the following scenario and don't need a socket.
>
> - start playback in background
> - long time query (http or db query)
> - explicitly stop background playback, or implicitly stop when any
> further app executes(or when new data writes to the channel)
> - do other things using the query result
>
> Is there any existing solutions? or how hart to make a patch? if I
> make a patch to achieve that, would it be better to make in
> mod_commands or should I make a new module?
>
> What I'm thinking is to make a BUG in another thread and feed sound
> data to the channel. Is that the right approach?
>
> Thanks.
>
> --
> Blog: http://www.dujinfang.com
> Proj:  http://www.freeswitch.org.cn
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20101030/ecd36b24/attachment.html 


More information about the FreeSWITCH-dev mailing list