Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Lots of internal changes to the module. I highly recommend you test your upgrades on a non production version of your site prior to deploying. PLEASE READ ON!!
Rules Changes
This update changes the way tokens are used in Rules and will probably break your existing rules. If you have any rules that are currently using the tokens for 'number' or 'message' you will have to update your rules to use the new token identifiers.
Old Tokens -> New Token
[number:value] -> [sms:number]
[message:value] -> [sms:message]
Additionally the rules event "Drupal receives an SMS from a site user" has been removed. You can reproduce this functionality by using the standard "Drupal receives an SMS" event and adding the condition "Number belongs to a valid user".
I highly recommend you review any rules you have previously created to ensure they are still functioning as expected.
TwiML
TwiML support has been moved into it's own module included in the package to help reduce the bloat of the core Twilio module. Please ensure you run DB updates with this update, especially if you use the TwiML functionality.
New Features
Basic MMS Support
- Incoming SMS messages now have a token [sms:media] representing the full URL path to the hosted media file on Twilio.
- Media URL are also available as an array on incoming twilio_sms_incoming hook.
- When sending an SMS you can now specify a full path to a media file directly in Rules or programatically as part of the twilio_send function.
Basic views integration
- Area code and Phone number are now available on the User object inside of views.