by Iain Dooley | Permalink
explore : Iain Dooley, Iain Dooley, Kannel, SMS, Number Validation
See the original post here. Since making that post, I've setup anonymous CVS access so that everyone can maintain this file. In order to access the file, just do the following:
cvs -d :ext:bentley@rs.workingsoftware.com.au:/usr/local/share/cvsroot co MobileNumberValidationData
You will be able to commit that file. The password is empty:
cvs commit -m "Updated malaysian numbering - Iain Dooley"
Your commits will be automatically added to the live file at:
http://203.190.233.9/mobile_numbering.txt
The serial number is automatically incremented and prepended to the top of the file via a cron job that runs once per minute. When you commit, include a commit message with what you changed or added, and your name. The commit messages will be published here using the CVS log:
http://203.190.233.9/mobile_numbering_history.txt
To stop invalid file formats from sneaking in, the automated update system will test parsing the file before publishing it, and will email me if there is a problem. Please try not to break it though, and only update numbering information that you're sure of.
As mentioned in my last post, there is also a sample implementation of how to parse this file in a PHP5 class which you can also access via anonymous CVS:
cvs -d :ext:bentley@rs.workingsoftware.com.au:/usr/local/share/cvsroot co MobileNumberValidation
However access to that project is read only.
Please feel free to contact me if you have any questions, or you can simply subscribe to the users@kannel.org mailing list.
Happy validating!