Attached is a draft D7 port. The section of the code that checks for missing country codes produces an error, but I am able to successfully receive SMSs through Twilio using this early port of the SMS Framework: http://drupal.org/node/795202

I have not tested incoming SMSs yet. I will update this issue once I have done more testing, but I figured I'd go ahead and get this posted since it is at least mostly working.

Comments

nmcclain’s picture

StatusFileSize
new7.75 KB

Here's a patch for the D7 port against 6.x-1.0.

nmcclain’s picture

StatusFileSize
new16.86 KB

I tested this more carefully, fixed an error with empty country codes, and ran it through Coder review. I think it's ready for a 7.x-dev branch.

This patch is against 6.x-1.0.

nmcclain’s picture

Title: D7 port » sms_twilio D7 port
Status: Needs work » Needs review
univate’s picture

Status: Needs review » Fixed

Ok, committed this with a few changes (like removing the country list).

Wondering:
* should attempt to upgrade to latest twilio api at the same time here?
* whether we include a copy of the twilio php code here with this module so there is no confusion which version you need to use or continue to rely on a external library?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.