I am using Twillio's sending of an SMS message,
$client = new Client($GLOBALS['twSID'], $GLOBALS['twToken']);
$client->messages->create(
// the number you'd like to send the message to
$phoneNumber,
[
// A Twilio phone number you purchased at twilio.com/console
'from' => $GLOBALS['twPhone'],
// the body of the text message you'd like to send
'body' => $message,
//"statusCallback" => "https://webhook.site/604faca0-e525-453d-ad8c-148118f03009"
"statusCallback" => "https://XXXXXX.COM/XXX/webhooks/twillioStatusCallback.php"
]
);
If I use the commented statusCallback to https://webhook.site... I see the status updates.
However, if I use my server (REDACTED) nothing happens.
THe php on my server is very basic, open a text file and write the contents of the status. But nothing the text file does not even get called.
Any suggestions or help???