[Freeswitch-users] How to create an event or message?

Frankie Yiu frankie.k.yiu at gmail.com
Tue Mar 29 10:55:49 MSD 2011


Hi there,

If I want to send an event or message to notify my other part of the system
(in C#) when a certain condition is met, how do I implement the event in C++
code?

For example, I might want to do data analysis of the RTP packets in C++,
and when I detected the right timing where I want to play an audio, I would
create and send an event to notify another part of the system.

Is there any hint or sample code that I can take a look?

Thanks,

Frankie

On Mon, Mar 28, 2011 at 12:50 AM, Frankie Yiu <frankie.k.yiu at gmail.com>wrote:

> Hi there,
>
> If I want to send my own event or message to notify my other part of
> the system when a certain condition is met, how do I implement that in C++
> code?
> For example, I might want to do data analysis of the RTP packets in C++,
> and when I detected the right timing where I want to play an audio, I can
> send an event to my other part of the system to play an audio file.
>
> Is there any hint or sample code that I can take a look?
>
> Thanks,
>
> Frankie
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110328/85c6a983/attachment.html 


More information about the FreeSWITCH-users mailing list