#/bin/sh
if [ -z "$1" ]; then
echo Usage: ./$(basename $0) "[sip username{ext-tenant}] [call_unique_id] [caller_id]"
exit 1
fi
DATA="{\"action\":\"wakeup\",\"sip\":\"$1\",\"uniqueid\":\"$2\",\"callid\":\"$3\"}"
/usr/bin/curl --insecure 'http://127.0.0.1:5000/publish/post/wakeup' -H 'Content-Type: application/json;charset=UTF-8' --data-binary ${DATA}
-
Andrey Shevchuk authoredfa6bc854