? 318896-sms_email_gateway-6.patch
? 318896-sms_email_gateway-9.patch
? mine.txt
Index: sms_email_gateway.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/smsframework/modules/sms_email_gateway/sms_email_gateway.module,v
retrieving revision 1.4.2.2
diff -u -p -r1.4.2.2 sms_email_gateway.module
--- sms_email_gateway.module	17 Sep 2008 14:11:50 -0000	1.4.2.2
+++ sms_email_gateway.module	18 Nov 2010 16:48:45 -0000
@@ -7,11 +7,25 @@ function sms_email_gateway_gateway_info(
       'name' => 'E-mail',
       'send' => 'sms_email_gateway_send',      
       'send form' => 'sms_email_gateway_send_form',
+      'validate number' => 'sms_email_gateway_validate_number',
     ),
   );
 }
 
 /**
+ * Removes any non-numeric data from the number string.
+ */
+function sms_email_gateway_validate_number(&$number, $options) {
+  $_number = sms_formatter($number);
+  if ($_number) {
+    $number = $_number;
+  }
+  else {
+    return t('This number does not validate.');
+  }
+}
+
+/**
  * Returns custom additions to be added to the send forms
  */
 function sms_email_gateway_send_form() {  
@@ -58,18 +72,64 @@ function sms_email_gateway_mail($key, &$
  */
 function sms_email_gateway_sms_email_gateway_providers() {
   return array(
-    'msg.acsalaska.com' => t('Alaska Communications Systems'),
-    'message.alltel.com' => t('Alltel Wireless'),
-    'txt.att.net' => t('AT&T/Cingular'),
-    'mobile.celloneusa.com' => t('CellularOne'),
-    'cwemail.com' => t('Centennial Wireless'),
-    'sms.mycricket.com' => t('Cricket'),
-    'messaging.sprintpcs.com' => t('Helio'),
-    'page.nextel.com' => t('Nextel'),
+    'sms.3rivers.net' => t('3 River Wireless'),
+    'cingularme.com' => t('Cingular (GoPhone prepaid)'),
+//    'airtelkk.com' => t('Airtel (Karnataka, India)'),
+     'msg.acsalaska.com' => t('Alaska Communications Systems'),
+     'message.alltel.com' => t('Alltel Wireless'),
+     'txt.att.net' => t('AT&T/Cingular'),
+    'txt.bell.ca' => t('Solo Mobile'),
+    'myboostmobile.com' => t('Boost Mobile'),
+     'mobile.celloneusa.com' => t('CellularOne'),
+     'cwemail.com' => t('Centennial Wireless'),
+    'gocbw.com' => t('Cincinnati Bell Wireless'),
+//    'ideasclaro-ca.com' => t('Claro (Nicaragua)'),
+//    'mms.claro.com.uy' => t('Claro (Uruguay)'),
+//    'comcel.com.co' => t('Comcel'),
+     'sms.mycricket.com' => t('Cricket'),
+//    'sms.ctimovil.com.ar' => t('CTI'),
+//    'emtelworld.net' => t('Emtel (Mauritius)'),
+//    'smsmail.eplus.de' => t('E-Plus'),
+    'fido.ca' => t('Fido (Canada)'),
+    'msg.gci.net' => t('General Communications Inc.'),
+    'msg.globalstarusa.com' => t('Globalstar'),
+    'gscsms.com' => t('Golden State Cellular'),
+    'myhelio.com' => t('Helio'),
+    'ivctext.com' => t('Illinois Valley Cellular'),
+//    'sms.mymeteor.ie' => t('Meteor (Ireland)'),
+//    'sms.spicenepal.com' => t('Mero Mobile (Nepal)'),
+    'mymetropcs.com' => t('MetroPCS'),
+    'mobilinkworld.com' => t('Mobilink World'),
+//    'sms.mobitel.lk' => t('Mobitel (Sri Lanka)'),
+//    'movimensaje.com.ar' => t('Movicom'),
+//    'movistar.com.co' => t('Movistar (Colombia)'),
+//    'sms.co.za' => t('MTN (South Africa)'),
+    'text.mtsmobility.com' => t('MTS (Canada)'),
+     'page.nextel.com' => t('Nextel'),
+//    'nextel.net.ar' => t('Nextel (Argentina)'),
+//    'orange.pl' => t('Orange (Poland)'),
+    'orange.net' => t('Orange (UK)'),
+//    'personal-net.com.ar' => t('Personal (Argentina)'),
+//    'text.plusgsm.pl' => t('Plus GSM (Poland)'),
+    'zsend.com' => t('Pioneer Cellular'),
     'qwestmp.com' => t('Qwest'),
-    'messaging.sprintpcs.com' => t('Sprint'),
-    'tmomail.net' => t('T-Mobile'),
+    'pcs.rogers.com' => t('Rogers (Canada)'),
+    'sms.sasktel.com' => t('Sasktel (Canada)'),
+//    'mas.aw' => t('Setar Mobile email (Aruba)'),
+     'messaging.sprintpcs.com' => t('Sprint'),
+//    'tms.suncom.com' => t('Suncom'),
+     'tmomail.net' => t('T-Mobile'),
+//    'sms.t-mobile.at' => t('T-Mobile (Austria)'),
+//    't-mobile-sms.de' => t('T-Mobile Germany'),
+    'msg.telus.com' => t('Telus Mobility (Canada)'),
+    'sms.thumbcellular.com' => t('Thumb Cellular'),
+//    'sms.tigo.com.co' => t('Tigo (Formerly Ola)'),
+    'utext.com' => t('Unicel'),
+    'email.uscc.net' => t('US Cellular'),
+     'vtext.com' => t('Verizon'),
+    'vmobile.ca' => t('Virgin Mobile (Canada)'),
     'vmobl.com' => t('Virgin Mobile'),
-    'vtext.com' => t('Verizon'),
+//    'vodafone-sms.de' => t('Vodafone Germany'),
+//    'sms.ycc.ru' => t('YCC'),
   );
 }
\ No newline at end of file
