Skip to content

Instantly share code, notes, and snippets.

@razametal
razametal / gist:3e560a5241c66b2461c43de8debc7324
Last active June 16, 2025 11:57
tg2sip en Debian 12, Asterisk 22 y FreePBX 17
# Debian 12 Bookwrom
# Freepbx / Asterisk installation https://gist.github.com/razametal/18785923be942af78ef8a0984903d5dd
# Enable slin48 (for L16@48000) and opus (for OPUS@48000) in Freepbx -> Settings -> Asterisk Sip Settings
apt-get install -y --no-install-recommends build-essential git wget ca-certificates pkg-config libopus-dev libssl-dev zlib1g-dev gperf ccache make php-cli cmake clang libc++-dev libc++abi-dev libsqlite3-dev libpulse-dev
# libopenssl1.1
cd /usr/src
wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/openssl_1.1.1w.orig.tar.gz
tar zvxf openssl_1.1.1w.orig.tar.gz
@sbyx
sbyx / wake-up-light-alarm-with-sunrise-effect.yaml
Last active November 26, 2025 03:09
Home Assistant Blueprint: Wake-up light alarm with sunrise effect
blueprint:
name: Wake-up light alarm with sunrise effect
description: 'A wake-up light alarm with a brightness and color temperature sunrise
effect. Note: Requires date_time_iso sensor in configuration, not manually executable!'
domain: automation
input:
light_entity:
name: Wake-up light entity
description: The light to control. Turning it off during the sunrise will keep
it off. Color temperature range is auto-detected.
@bndw
bndw / docker_debian.md
Last active November 9, 2023 13:40
How to install an older version of Docker on Debian
@hwdsl2
hwdsl2 / README.md
Last active March 17, 2023 00:57
My IPTables rules for securing the Asterisk VoIP server