Events, CDR, and Logging
Modules that export the event stream, write call detail records, or ship logs to external systems.
mod_amqp
Publishes FreeSWITCH events to an AMQP broker, receives API commands from it, and forwards log output over AMQP.
mod_erlang_event
Exposes FreeSWITCH events, log output, and call control to Erlang nodes via the Erlang distribution protocol.
mod_event_multicast
Broadcasts FreeSWITCH events over UDP to multicast groups or unicast peers, enabling real-time event sharing across a cluster.
mod_smpp
Connects FreeSWITCH to an SMPP SMS gateway for sending and receiving SMS messages via the chatplan.
mod_snmp
Exposes FreeSWITCH identity, system statistics, and active channel data via SNMP using a Net-SNMP AgentX subagent.
mod_fail2ban
Writes SIP registration attempts, failures, and abandoned calls to a dedicated log file for Fail2Ban to parse and block abusive IPs.
mod_cdr_pg_csv
Writes per-call CDR records directly to a PostgreSQL table using a configurable channel-variable schema, with CSV or SQL disk spooling on failure.
mod_format_cdr
Writes one CDR per call leg in JSON or XML format, delivering records to disk, an HTTP endpoint, or both.
mod_json_cdr
Writes one JSON Call Detail Record per call leg to disk and/or HTTP-POSTs it to up to 20 configurable URLs.
mod_odbc_cdr
Writes per-leg call detail records directly into ODBC-accessible database tables using channel variable mappings defined in odbc_cdr.conf.xml.
mod_graylog2
Sends FreeSWITCH log output to a Graylog2 server via UDP using the GELF JSON format.