Check PJSIP endpoint registration status and send alerts via Slack or email when phones or trunks go offline. Handles flapping detection to suppress r...
Automate Asterisk config deployment with pre-deploy backup, SSH multiplexing for fast transfers, and post-deploy verification. Supports multi-server r...
Set up HTTP/HTTPS auto-provisioning for Polycom VVX phones with nginx, TLS, and optional basic auth. Covers the provisioning URL format, config file s...
Configure fail2ban jails and filters to block SIP brute-force and scanning attacks on Asterisk. Includes custom regex filters for PJSIP auth failures ...
Monitor SIP trunk registration status and send alerts only on state changes, avoiding alert fatigue from repeated notifications when the trunk remains...
Convert audio files to Asterisk-compatible formats using sox or ffmpeg. Covers single-file WAV, GSM, and ulaw conversion, batch directory scripts, and...
Generate a quick-glance fail2ban report from the command line. The script queries every active jail, prints a summary table of current and total bans,...
Configure fail2ban for Asterisk on Debian 12+ systems using journald without rsyslog. Covers the backend switch from file monitoring to systemd journa...
Fix the Asterisk warning about maxsilence needing to be less than minsecs in voicemail.conf. Explains what both settings do, why the relationship matt...
Diagnose and fix 500 Server Internal Error responses to MWI SUBSCRIBE requests in Asterisk PJSIP. Usually caused by a missing or misconfigured mailbox...
Fix logrotate failures on Debian 12+ systems running journald without rsyslog. Stale configs referencing the syslog user or rsyslog-specific directive...
Find and remove duplicate cron entries that accumulate from repeated Ansible runs, manual edits, or package upgrades on Asterisk servers. Includes a s...
Shell one-liners and a simple monitoring loop for watching queue activity, agent status, and call flow in real time from the command line.
Validate Asterisk configuration before reloading -- catches syntax errors in dialplan, PJSIP, and other configs before they take down your phone syste...
Automated backup script for Asterisk configuration files, voicemail spools, AstDB, and custom sounds with rotation and optional remote sync.
Parse Asterisk full log to extract call statistics -- total calls, answered, unanswered, failed, busiest hour, and top callers.
Enable SIP debug traces on the Asterisk CLI to troubleshoot registration failures, call setup problems, and authentication issues -- with annotated RE...