[Freeswitch-users] Another fifo request
Matt Hunter
matt at hellohunter.com
Thu Mar 26 08:30:24 PDT 2009
Ahhh....can you point me to a doc or wiki, I can experiment with?
--matt
2009/3/26 Michael Jerris <mike at jerris.com>
> 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
>>
>>
>>
> _______________________________________________
> 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/20090326/5a227f84/attachment-0002.html
More information about the FreeSWITCH-users
mailing list