diff --git a/callerid.sh b/callerid.sh index 1ba2f44..1102165 100755 --- a/callerid.sh +++ b/callerid.sh @@ -20,4 +20,4 @@ case "$SPOOF" in esac OLD_CALLER_ID_JSON=$(curl --request GET --header 'Content-Type: application/json' --header 'Accept: application/json' --header "Authorization: Bearer $AUTH_TOKEN" "https://api.sipgate.com/v2/w0/faxlines/f0/callerid" -s) REPLY=$(curl --request PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header "Authorization: Bearer $AUTH_TOKEN" --data ${CALLER_ID_JSON} "https://api.sipgate.com/v2/w0/faxlines/f0/callerid" -s) -echo $OLD_CALLER_ID_JSON $CALLER_ID_JSON +#echo $OLD_CALLER_ID_JSON $CALLER_ID_JSON