I'm new to trying to get this configured....is there any instructions on how to configure this/these modules? There is no readme.txt included...

1) am I to assume that to be able to send SMSs to Canadian cell phones, the Canadian providers need to be set up? How is that done?
2) once #1 is done, should I be able to use the Email gateway to send the messages to phones from my site? with no charges? ( looked at Clickatell's rates and we don't have budget for using that)

Comments

tylor’s picture

You should be able to make this work for free using the email gateway. To add Canadian providers, add them to the array found in sms_email_gateway_sms_email_gateway_providers(), for example you will probably use something like this:

function sms_email_gateway_sms_email_gateway_providers() {
  return array(
    'msg.telus.com' => t('Telus'),
    'pcs.rogers.com' => t('Rogers'),
    'fido.ca' => t('Fido'),
    'vmobile.ca' => t('Virgin'),
    'txt.bellmobility.ca' => t('Bell'),
    'text.mtsmobility.com' => t('MTS'),
    // etc, etc...
  );
}

This is a hook function, so if you didn't want to remove US carriers you could also just return an array using hook_sms_email_gateway_providers() in your own custom module.

Also, a great place to find these addresses is on Wikipedia, here: http://en.wikipedia.org/wiki/SMS_gateway#Carrier_Provided_Email_or_Web_t...

tylor’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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