Skip to content

Instantly share code, notes, and snippets.

@charliewolf
charliewolf / autoaway.py
Created March 1, 2016 03:06
Email notifications for chats received in Fonality HUD when away
#!/usr/bin/python
# Quick and (very) dirty script to send emails when a user gets a message and is away from HUD
from base64 import b64decode
from hashlib import sha256
import sqlite3
import datetime
import itertools
import os
@tony722
tony722 / sendmail-gcloud
Last active June 18, 2025 07:34
Freepbx Voicemail Transcription Script: Google Speech API
#!/bin/sh
#set -x # Enable shell debugging
#exec 2> /tmp/sendmail-gcloud-debug.log # Redirect stderr to a custom log
# sendmail-gcloud
#
# Installation instructions - Updated for FreePBX 17 and Debian
# Copy the content of this file to /usr/sbin/sendmail-gcloud
#
# Google Account