In first chapter of this book we introduced the Event System and its role in FreeSWITCH architecture.
We'll not repeat that intro here. Let's have some bullets that refresh it for us, and add important insights:
- FreeSWITCH is made by a core hyper-optimized switching and mixing engine interacting with modules implementing all sort of features
- Event System is an internal messaging bus optimized for distribution of "events"
- Anything happens inside FreeSWITCH generates one or more events
- There are two different categories of events: system events and logging events
- Logging events are generated any time something has to be logged. Logging events are then listened to by the modules and applications that write logfiles, write in database, in syslog, in windows registry, etc
- System Events are generated both by FreeSWITCH core, by modules, and by external application both in reaction to "external" stimulus and to express "internal" statuses and proceedings
- From now on, when we write...