Version 1.1.0b1:
- New: "Default Country" Global Config setting for phone numbers entered without a '+' and country code
- Change: Twilio API calls now verify the TLS certificate of the Twilio servers
- Change: Incoming webhook requests must carry a valid X-Twilio-Signature - unsigned or wrongly signed requests are refused (HTTP 400) and logged
- Bug Fix: A text message sent with media was posted (with the Twilio account credentials) to the last media URL instead of the Twilio API, and the media URLs were not sent in the format Twilio expects
- Bug Fix: Phone numbers outside the US (entered with '+' and country code) were texted as +1 numbers; a number starting with '+' is now used as entered, and 'GB' is accepted as the UK country code
- Bug Fix: ACP Create Message "Send this message" never sent anything (the message was silently saved as a draft) and its send call would have ended in a PHP error; users whose number Twilio refused before are skipped
- Bug Fix: A user whose number Twilio refused stayed blocked after saving a new number - saving a different number now clears the block
- Bug Fix: Users were blocked from text messages when the site's Twilio account was suspended (30002) or not enabled for their region (21408) - these are now logged instead
- Bug Fix: Notifications set to "Send Text Message" were lost when no text could be sent (no number, blocked number, Twilio error) - they are now sent by email
- Bug Fix: A text message with more than about 680 non-English characters ended the request with a database error after it was sent, and long messages could be cut in the middle of a character
- Bug Fix: Twilio error webhook calls created a new user session each time
- Bug Fix: The Log Browser raised a PHP notice on every open, and the draft/template/sent browser rows had one cell more than the header
- Bug Fix: The log entry for an invalid From number showed the To number
- Developer: New jrTwilio_webhook_signature_is_valid() function
Version 1.0.3:
- New: Segment count for SMS messages is now stored in the SMS log table
Version 1.0.2:
- New: "Messaging SID" Global Config for adding phone numbers to Messaging Service
Version 1.0.1:
- New: Added support for To/From country in jrTwilio_send_text_sms function
Version 1.0.0:
- New: Updated for release
Version 1.0.0b5:
- New: Added support for error code 21408 - Permission to send SMS not enabled for region
- Change: Max message length is 1600 characters - longer messages will be truncated
Version 1.0.0b4:
- Change: Updated send text message function to work with a user_id of 0 (phone number only)
Version 1.0.0b3:
- Change: Updated with additional error codes in result handler
Version 1.0.0b1:
- Initial Release