Skip to content

Conversation

@martinsteel
Copy link

Hi,

I've made a few tweaks to your SMS module to improve compatibility with the Mediaburst API such as swapping Unicode to UCS-2, I've also added support for long (greater than 160 character) messages.

I don't have a fully functioning Drupal install and I've never used it so I haven't been able to fully test the features within Drupal.

Martin.

Martin Steel added 3 commits February 4, 2011 15:44
sms_mediaburst_admin_form
- New long SMS and From address configuration options,
  that can optionally be used in the send.

sms_mediaburst_admin_form_validate
- validates From option
  to make sure it will work with the SMS API.

sms_mediaburst_send
- Strip out non-numeric characters from mobile numbers.
- Only prefix country code if mobile number starts with 0

sms_mediaburst_command
- Use rawurlencode rather than drupal_urlencode
  to prevent double encoding.
- URL Encode username & password
- Set concat & from parameters on API call
- Send as UCS-2 if non-GSM characters are used
  rather than using Unicode.

sms_mediaburst_is_gsm
- Check if all characters used are in the GSM character set
@budda
Copy link
Owner

budda commented Mar 9, 2011

Are you able to provide an SMS account for testing these changes?

@martinsteel
Copy link
Author

If you could let me know your email address I'll get you a test account setup with 50 free SMS. If you'd prefer to set it up off Github just drop an email to hello@mediaburst.co.uk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants