International Mobile Number Validation PT II

19 Aug2008

UPDATE Wednesday December 29, 2010 14:06 GMT+11: This article has been updated again with details of the project hosting at github: International Mobile Number Validation PT III

I've setup anonymous CVS access so that everyone can maintain this file. In order to access the file, just do the following:

validation_data_cvs.txt

You will be able to commit that file. The password is empty:

cvs_commit_example.txt

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:

validation_class_cvs.txt

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!

This entry was posted on Tuesday, August 19th, 2008 at 5:49 pm author iain dooley, kannel, sms, mobile, mobiles, number validation

blog comments powered by Disqus

Subscribe

Subscribe via RSS

Building software in the real world - the Working Software blog

We write about our experiences, ideas and interests in business, software and the business of software. We also sometimes write about our own products (in order to promote them).