I can get this line to go through ok from the terminal. When I add it to the shell_commands.yaml the configuration reload fails with "Error loading /config/configuration.yaml: mapping values are not allowed here in “/config/shell_commands.yaml”, line 4, column 34
doorbell_ring: printf "Channel: 'Local/888@from-internal'\nCallerID: DoorBell <0000>\nApplication: Playback\nData: /var/lib/asterisk/sounds/custom/front_door_ring" > `date +"%Y%m%d%H%M%S"`.call && "scp -P 64 *.call [email protected] /var/spool/asterisk/outgoing" && rm *.call
Got inspiration from this:
fwiw I bought a bunch of Grandstream GXP 3240 from eBay with no handset, power supply or stand for $22 each. Connected them to an asterisk server (Incredible PBX) and want to send notifications for stuff like doorbell, door left open via the paging features on the phone. They run android, so Im going to put the HA app on it as they have 4.3" touch screen. Wifi and Bluetooth. $5/pop for PS from the thrift shop, 4.5 inch 2x3 and two screws for a stand. Found 1 headset cheap on eBay, hooks are taped down for now.