#!/bin/bash #VARS CONFIGFILE="/etc/asterisk/extensions_custom.conf" DIRECTORY="/etc/asterisk/extensions.d" NEWCONF=$(cat <> "$CONFIGFILE"