Closed (won't fix)
Project:
SMS Framework
Version:
8.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Nov 2008 at 23:03 UTC
Updated:
8 Nov 2019 at 05:35 UTC
Jump to comment: Most recent
Comments
Comment #1
aspope commentedWill, are you thinking that number validation could be done based on the user's current country? (as reported by Country Code module or similar).
So, it would take numbers like "+447712123123", "00447712123123", "07712123123", "7712123123" and try to format them correctly using some common logic and some country-specific rules.
Comment #2
mfbWhat's the current status/plans for international number validation? I saw that sms_international module was added and then removed.
Comment #3
Will White commentedHi mfb,
The sms_international module still exists in the 2.0 branch. Completing a plan for this module and executing it should eliminate several issues and points of confusion with international number handling.
Comment #4
patrickharris commentedThe function sms_formatter kills a lot of New Zealand numbers when it returns FALSE if the number is < 9. I needed to change this to < 7 to work for me. Also, by returning FALSE, it merely kills the number (the number that is then sent is just the country code).
Comment #5
fw_crocodile commentedIt seems to me that international number validation didn't really worth the work needed.
Isn't sufficient to ask the user to insert the number without international prefix and select the country?
The user should know what it is typing and the module will easily add the country code based on the selected country.
Comment #6
momardieng commentedHello,
Thanks for the great module! I have a related issue/question: how can I bulk-sms to users in different countries? The current setup I have for bulk-sms uses a view, and you still have to pick a single country which makes it impossible to bulk-sms to an international list. Is there a simple way around this? Thanks a lot.
Comment #7
batje commented@momardieng
If you store numbers as starting with country-code, you could use my just released patch http://drupal.org/node/674896 and SMSBulk to do this.
Create a view and filter the mobile number on the leading 2 or 3 characters (that should be the country code)
Comment #8
aspope commentedHi all,
Please checkout the current 6.x-1.x-dev release that includes the sms_valid module.
This number Validation module allows you to configure prefixes that can be allowed or denied. You can arrange these "rulesets" by country or whatever you wish.
Please give it a try and post some feedback. Cheers!
Comment #9
lhernon commentedI am trying to get SMS working for Guatemalan mobile numbers. I was able to navigate the Validation module pretty easily (especially after installing the services modules), and validated a sample number.
Now, I would like to formally test the number on an actual Guatemalan phone (from the US). It seems that I need to now use the Devel module to test out the number. Where I am confused is when I select the carrier. I selected my country, but the carrier menu still reflects American carriers. Is there somewhere that I should enter the three Guatemalan carriers?
Thanks a ton for your hard work. I'll be so excited *when* I get this working!
Laura
Comment #10
univate commentedComment #11
modreoci commentedI cannot find any form in administration menu to setup validation for international numbers (e.g. Slovakia, Czech rep...).
Thera are 3-digits international (country) code and 9-digits local numbers (without leading zero). I tried to fix it manually in DB in the "sms_international" table by the example from default existing rows (es, gb, us), but it does not work. When I am entering 9-digits number (without leading zero) and selecting Slovakia from the option box, there is still error message: "Please enter a valid phone number". It still expects 10-digits local number. When I put there any 10-digits number (with leading zero) it works correctly. But it does not work when I am trying to enter my mobile number during the new user registration. My mobile data are written into the table "users" only, not into the table "sms_user", where the confirmation routine expects it. It means the confirmation code is not sent to me to confirm my mobile number.
My gateway is Clickatell Please help!
Comment #12
univate commentedComment #13
almaudoh commentedSMS International was developed but is not yet completed. Will look into providing simple validation using international number prefixes.
Comment #14
almaudoh commentedMoving all feature requests to 8.x-1.x, and adding 'needs backport' tag.
Also there is a related issue in D8 queue of using LibPhonenumber library which would provide most of these features.
Comment #15
dpiTelephone Validation has proven to work well with telephone fields, which we support as a first class telephone storage. Its dependent library, libphonenumber, remains actively maintained.
Telephone Validation also has a Drupal 7 branch.
Closing this ticket as a result, with gratitude to @zaporylie.
Comment #16
dpi