Small bugfixes

callerid
Gandalf 2022-02-05 19:15:42 +01:00
parent 7c35a31aff
commit 3e8962f01d
1 changed files with 1 additions and 1 deletions

View File

@ -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