July 2017
Intermediate to advanced
434 pages
12h 59m
English
Enable or disable events by class or all (plain or xml or json output format):
event plain <listof events to log or all> event xml <listof events to log or all> event json <listof events to log or all>
The event commands are used to subscribe on events from FreeSWITCH. You may specify any number of events on the same line; they should be separated with space.
Examples:
event plain ALL event plain CHANNEL_CREATE CHANNEL_DESTROY CUSTOM conference::maintenance sofia::register sofia::expire event xml ALL event json CHANNEL_ANSWER
Subsequent calls to 'event' won't override the previous event sets. Supposing, you've first registered for DTMF:
event plain DTMF
then you may want to register for CHANNEL_ANSWER too; it is enough to give: ...
Read now
Unlock full access