#!/bin/bash echo "Action: login username: admin secret: admin events: off Action: hangup Channel: /.*/ " | socat - TCP:localhost:5038