[Freeswitch-users] Another fifo request

Michael Jerris mike at jerris.com
Thu Mar 26 08:28:05 PDT 2009


You can run a lua script (at startup or manually) that creates an  
event consumer to do exactly what you want.

Mike

On Mar 26, 2009, at 11:20 AM, Matthew Fong wrote:

> Thanks of course!
>
> But, is there any chance of firing an app? Firing an app on bridge  
> gives the programmer more control, rather than just listening for  
> fifo::info custom events. I find that lua running as a FS app can  
> update my database like 10x faster than reading event_socket thru  
> Rails/Telegraph...plus, I trust your coding much more than that of  
> your Rail's development counterparts. :)
>
> with the custom event you are firing, you should be sure to import  
> the variables first, then fire the event :)
>
> You rock Mr. Minessale
>
> --matt
>
> 2009/3/26 Anthony Minessale <anthony.minessale at gmail.com>
> I'll fire 2 custom events when the call is bridged one for the  
> consumer and one for the caller
>
> events plain custom fifo::info
>
> pull out FIFO-Name header and find the desired fifo
> pull out FIFO-Action header and look for bridge-consumer or bridge- 
> caller depending on what you want to see data from.
>
> in latest trunk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090326/280471ac/attachment-0002.html 


More information about the FreeSWITCH-users mailing list