This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; FreePBX Dialplan to block robocalls | |
; | |
; License: GNU GPL3+ | |
; Latest version: https://gist.github.com/lgaetz/bdc261b0d12efafeb1eed64651c7d32b | |
; | |
; | |
; Usage: Place the dialplan below in /etc/asterisk/extensions_custom.conf | |
; change the context for the trunk(s) to from-pstn-captcha1 | |
; Apply Config | |
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; FreePBX dialplan for a feature code that can be dialed from an idle device that will immediately bounce | |
; any active call from any of the the same user's extensions. Primary use case is when a user has multiple | |
; registered devices they can quickly move the active call between deskphone, to mobile client to desktop client. | |
; | |
; License: GNU GPL3+ | |
; latest version: https://gist.github.com/lgaetz/4c14829c14eb0a739a216016d9f394b2 | |
; | |
; version history 2024-03-22 First commit working | |
; 2024-03-24 Fix hint and change ext away from _. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
/*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
* | |
* Script: lgaetz-cmcheck.php | |
* | |
* Latest version: https://gist.github.com/lgaetz/7cab1bc6b6266ba658d5dd90d2e919eb | |
* | |
* Usage: Asterisk AGI file to check number against a FreePBX Contact Manager group (or all CM groups) |