View DTMF 2 Trusted Zone
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
[from-internal-custom] | |
; Dialplan for a feature code to add ; an IP address to the FreePBX trusted zone | |
; Dial F-I-R-E-W-A-L-L from an internal extension and enter an IPv4 address using | |
; DTMF with * as the dot character. | |
; | |
; License: GNU GPL3+ | |
; latest version: https://gist.github.com/lgaetz/8a043b7aa39484f622f0f7c138909558 | |
; | |
; version history 2023-01-21 First commit working |
View Dynamic VM Blast by Lorne Gaetz
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 create a dynamic voicemail blast group. | |
; Place this in /etc/asterisk/extensions_custom.conf and reload | |
; GNU GPL3+ | |
; latest version: https://gist.github.com/lgaetz/76006451910295a4625555361c9b5085 | |
; version history 2022-11-04 First commit | |
; 2022-11-05 Added recording playback to toggle | |
[from-internal-custom] | |
; Create feature code previx with hints. Each extension can enable/disable vm group membership by dialing the |
View lgaetz-cftoggle.php
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 requires a command - echo help and exit if arg1 missing | |
if (!isset($argv[1])) { | |
echo " | |
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
* | |
* Script: lgaetz-cftoggle.php | |
* |
View callshaper-freepbx.php
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/env php | |
<?php | |
/************************************************************************ | |
* callshaper-freepbx.php | |
* | |
* Latest version: https://gist.github.com/lgaetz/7e61c464588623662fcfdf1367e97c32 | |
* | |
* AGI script for adding Stir/Shaken signatures to outbound SIP calls from | |
* Freepbx. Modified for FreePBX from callshaper.php as published by tiltx.com | |
* ref: https://help.smartcarrier.io/portal/en/kb/articles/tiltx-call-shaper-module |
View source-EZCNAM.module
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
<?php | |
/*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
* Developer Notes: | |
* | |
* Version History: | |
* 2022-06-13 Initial commit | |
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***/ | |
class EZCNAM extends superfecta_base { |
View source-Herold_Austria.module
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
<?php | |
/*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
* Developer Notes: | |
* | |
* | |
* herold.at Terms of Service: | |
* As summarized in the post here on 2014-06-27 | |
* https://github.com/POSSA/Caller-ID-Superfecta/issues/131#issuecomment-47354154 | |
* herold.at TOS do not explicitly prohibit automated lookups |
View get_shaken.php
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: get_shaken.php | |
* | |
* Latest version: https://gist.github.com/lgaetz/af5849b8984f6ec7aa12a29a01a7e38b | |
* | |
* Usage: Asterisk AGI file to get a Stir/Shaken signature from Sansay NSS service |
View dialplan campon
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 custom dialplan that creates a prefix dial code that | |
; will keep an asterisk channel open for 3600 seconds to monitor | |
; the device state of the target local extension and call back once | |
; the target extension is idle | |
; License GNU GPL3 | |
; | |
; Latest version: https://gist.github.com/lgaetz/b65d7ec29d2e2cba46909051dfcb39cf | |
; | |
; History |
View santiago
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
#! /bin/bash | |
# Display logs files with lines that begin with a 10 digit unixtime to human readable date | |
# save in /usr/sbin/ and make it executable | |
# | |
# Latest version: https://gist.github.com/lgaetz/b06c58aa349bc84348b12fc5d908da11 | |
# | |
# Usage: | |
# cat /etc/asterisk/firewall.log | santiago | |
# santiago /var/log/asterisk/queue_log |
View sms2twitter.php
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
<?php | |
/***************************************************** | |
* Rough proof of concept of a web script | |
* to accept SMS webhook from FreePBX on an | |
* inbound SMS and post it to twitter using an https://ifttt.com/ webhook | |
* | |
* License: GNU GPL3+ | |
* | |
* History : 2022-01-13 first commit |
NewerOlder