Mobile Phone Numbers (Cell Phones)
-
Anybody have a link to a site where I can find out information about US and Canadian cell phone numbers.. e.g. In Ireland all mobile phones (Cell phones) start with 085, 086, or 087 ... and that is followed by a 7 digit number. So some examples would be 087123456, 0867654321 and internationally formatted these numbers would be 35387123456 and 353867654321 respectively. In South Africa all mobile phones start with 084, 083, 082, 074, 073, or 072 and are followed by 7 digits... so, eg. 0841234567 or internationally, 27841234567. I've managed to find these details easily enough for Ireland, UK, Germany, France, Spain, South Africa, and so on.... but I've looked high and low and I can't find reliable information about US or Canadian numbers, so I can't build the regular expressions I need to validate form inputs. So I decided to turn to my CP buddies. Can anybody help? [Edit]At this stage I'll settle for just ensuring there is the correct number of digits in the cell phone number... is that standard in the US?? i.e. "1" for the international code, always followed by x digits?[/Edit] P.S. Sorry if this is in the wrong forum guys but I've been here at CP for a while and I couldn't think of a forum where this would belong so I just posted here. Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
http://www.briandela.com/pictures Now with a pictures section :-D
http://www.briandela.com/rss/newsrss.xml RSS FeedI worked for VeriSign - which does a lot of mobile phone billing - so I'll ping my former boss and see if he knows the answer to your main question of how to validate US mobile phone numbers. Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
-
US and Canada cell phone numbers are the same as land line numbers. You usually get the same number as your area code. Usually. Dave just got a new phone and the area code he got was cellphone specific, and wasn't a 416 or 905 Toronto area code. So saying, the format was still XXX-YYY-ZZZZ cheers, Chris Maunder
Actually, that's only true in smaller cities. In larger cities, you get your choice of area codes related to that city. That's why in Atlanta, one person might have several phone numbers with each having a different area code - 404, 770, 678, etc. Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
-
Actually, that's only true in smaller cities. In larger cities, you get your choice of area codes related to that city. That's why in Atlanta, one person might have several phone numbers with each having a different area code - 404, 770, 678, etc. Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
You crazy Atlanta types. :) cheers, Chris Maunder
-
Actually it is now possible to give up your land line and have the number transfered to your cell phone. It is also possible to do this to VOIP like Vonage (I did this, moving my POTS telephone number to Vonage). So there is no way to differentiate them. Gary Thom The palest ink is better than the best memory. - Chinese Proverb
At the moment I'll just settle for validating that the number is in the correct form. Is there a certain number of digits in the number? Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
http://www.briandela.com/pictures Now with a pictures section :-D
http://www.briandela.com/rss/newsrss.xml RSS Feed -
Actually it is now possible to give up your land line and have the number transfered to your cell phone. It is also possible to do this to VOIP like Vonage (I did this, moving my POTS telephone number to Vonage). So there is no way to differentiate them. Gary Thom The palest ink is better than the best memory. - Chinese Proverb
I've been thinking of getting a Vonage system for some time - I especially like the idea of having numbers from anywhere in the country for my clients to use. How's your experience been with them? What plan did you get and how has it worked out? Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
-
You crazy Atlanta types. :) cheers, Chris Maunder
Now you see why a previous mayor stated that Atlanta is "the city that is too busy to hate". We're just too damn busy sitting around picking out phone numbers to get into the whole hatred and anger thang. :-D Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
-
In the US, your area code is dictated where you live - not by the type of phone you have. Also, in larger cities - such as Atlanta, NY, etc. - where multiple area codes exists and 10-digit dialing is mandatory, you have your choice of what area code you want. Rearding "1" that's for any long distance call. 011 is for international calls. Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
Tom Archer wrote: Rearding "1" that's for any long distance call. 011 is for international calls. Yeah. The rest of the world seem to use 00 for international dialing and the US use 01... the "1" I was referring to is the international dialing code for the US... so if I wanted to ring a US number I'd dial 001 .... but in the validation I'm doing I'm ignoring the 00... so it would just be 1. Over here, and all over europe, you also drop the 0 prefix that all numbers have... e.g. 0871234567 becomes 00353871234567.. dropping the first 0. Are US and Canadian numbers like this also? Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
http://www.briandela.com/pictures Now with a pictures section :-D
http://www.briandela.com/rss/newsrss.xml RSS Feed -
I worked for VeriSign - which does a lot of mobile phone billing - so I'll ping my former boss and see if he knows the answer to your main question of how to validate US mobile phone numbers. Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
Cool. Thanks Tom. I appreciate that. Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
http://www.briandela.com/pictures Now with a pictures section :-D
http://www.briandela.com/rss/newsrss.xml RSS Feed -
Actually, that's only true in smaller cities. In larger cities, you get your choice of area codes related to that city. That's why in Atlanta, one person might have several phone numbers with each having a different area code - 404, 770, 678, etc. Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
Actually its true even of smaller cities. Here in Logan I know people who have area codes of 435 , 801 and 825. And its a really tiny town. You can get from one end to another in 15 mins flat. Go figure ! "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."
-
Now you see why a previous mayor stated that Atlanta is "the city that is too busy to hate". We're just too damn busy sitting around picking out phone numbers to get into the whole hatred and anger thang. :-D Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
whole hatred and anger thang. I can just hear a Georgian saying that too. :rolleyes: Did Krista get the invite I sent her? :-D Since she's on Yahoo, it might have gone to her bulk mail folder...may want to have her check. :)
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
-
whole hatred and anger thang. I can just hear a Georgian saying that too. :rolleyes: Did Krista get the invite I sent her? :-D Since she's on Yahoo, it might have gone to her bulk mail folder...may want to have her check. :)
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
David Stone wrote: Did Krista get the invite I sent her? She's still in bed :) , but I told her last night to be on the lookout for it and she's definitely stoked! Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
-
Actually its true even of smaller cities. Here in Logan I know people who have area codes of 435 , 801 and 825. And its a really tiny town. You can get from one end to another in 15 mins flat. Go figure ! "One of the Georges," said Psmith, "I forget which, once said that a certain number of hours' sleep a day--I cannot recall for the moment how many--made a man something, which for the time being has slipped my memory."
That's probably because the speed at which area codes get used up has to do with the breadth of coverage for that area code. Therefore, in your case the area codes are being used by so many other cities that you've run out of numbers and had to add area codes. Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
-
Tom Archer wrote: Rearding "1" that's for any long distance call. 011 is for international calls. Yeah. The rest of the world seem to use 00 for international dialing and the US use 01... the "1" I was referring to is the international dialing code for the US... so if I wanted to ring a US number I'd dial 001 .... but in the validation I'm doing I'm ignoring the 00... so it would just be 1. Over here, and all over europe, you also drop the 0 prefix that all numbers have... e.g. 0871234567 becomes 00353871234567.. dropping the first 0. Are US and Canadian numbers like this also? Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
http://www.briandela.com/pictures Now with a pictures section :-D
http://www.briandela.com/rss/newsrss.xml RSS FeedBrian Delahunty wrote: Over here, and all over europe, you also drop the 0 prefix that all numbers have... e.g. 0871234567 becomes 00353871234567.. dropping the first 0. Are US and Canadian numbers like this also? The only prefix we have to do is the "1" if it's long distance. When I was a kid that meant any number having a different area code. However, now that many area codes have been exhausted such that multiple area codes have to be used for a single area, it can be confusing whether or not you need to use a "1". For example, when I go to Microsoft, I always have to look up which numbers I can dial with 10-digit dialing versus which are long-distance and require the "1". Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
-
whole hatred and anger thang. I can just hear a Georgian saying that too. :rolleyes: Did Krista get the invite I sent her? :-D Since she's on Yahoo, it might have gone to her bulk mail folder...may want to have her check. :)
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
David Stone wrote: I can just hear a Georgian saying that too. Actually, I was doing the exagerated "cool, black" talk. :) After I wrote it, I figured though that it would be taken as a Georgian bit :) Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
-
David Stone wrote: I can just hear a Georgian saying that too. Actually, I was doing the exagerated "cool, black" talk. :) After I wrote it, I figured though that it would be taken as a Georgian bit :) Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
I figured though that it would be taken as a Georgian bit You guys just have that twang to your voice that's kinda irritating. ;) The new girl at our local Blockbuster just moved here from Georgia. She's got this really thick accent. It's just like listening to Shakespeare* , you have to concentrate on every syllable... *Well, 'cept for the fact that Shakespeare was brilliant. ;P
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
-
Brian Delahunty wrote: Over here, and all over europe, you also drop the 0 prefix that all numbers have... e.g. 0871234567 becomes 00353871234567.. dropping the first 0. Are US and Canadian numbers like this also? The only prefix we have to do is the "1" if it's long distance. When I was a kid that meant any number having a different area code. However, now that many area codes have been exhausted such that multiple area codes have to be used for a single area, it can be confusing whether or not you need to use a "1". For example, when I go to Microsoft, I always have to look up which numbers I can dial with 10-digit dialing versus which are long-distance and require the "1". Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
We don't add a number if it's long distance. E.g. My local area code is 051... so say I want to ring 05154321 I just dial 54321 .... to ring a number in a different area code, say area code 053 and the number is 54321, i'd just dial 05354321 ... I don't add a prefix... But with international numbers we add a 00 + country code (which for the US is 1) + area code + the number. So... am I correct is thinking that US area codes also start with a 0 (I presume I'll drop this 0 for internationally formatted number)? Christ.. the damn US like to do everything different.. just look at ye're mobile phone technology... Ye use CDMA and TDMA whereas the rest of the world use GSM/UMTS (although GSM is sortof TDMA) and any parts of the US that do use GSM use it on 1900Mhz whereas the rest of the world have more or less standardised on 1800Mhz for GSM these days. :rolleyes: Ah well. In Ireland we drive on the left had side... going against the grain as regards europe. So we all have our problems :sigh: Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
http://www.briandela.com/pictures Now with a pictures section :-D
http://www.briandela.com/rss/newsrss.xml RSS Feed -
David Stone wrote: Did Krista get the invite I sent her? She's still in bed :) , but I told her last night to be on the lookout for it and she's definitely stoked! Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
She's still in bed, but I told her last night to be on the lookout for it and she's definitely stoked! I think it's kinda funny that your wife is nearly as famous as you are in the developer community. :) Krista is one cool lady, Tom. Keep her around for a while, eh? ;)
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
-
She's still in bed, but I told her last night to be on the lookout for it and she's definitely stoked! I think it's kinda funny that your wife is nearly as famous as you are in the developer community. :) Krista is one cool lady, Tom. Keep her around for a while, eh? ;)
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
David Stone wrote: I think it's kinda funny that your wife is nearly as famous as you are in the developer community. I know. She gets a real kick out of that :) Funny thing is that she was in IS for 15 years at Data General running their data operations center so she definitely knows her way around servers and hardware. David Stone wrote: Krista is one cool lady, Tom. Keep her around for a while, eh? Definitely agreed. I think I'll keep her :) Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
-
Cool. Thanks Tom. I appreciate that. Regards, Brian Dela :-) http://www.briandela.com IE 6 required.
http://www.briandela.com/pictures Now with a pictures section :-D
http://www.briandela.com/rss/newsrss.xml RSS FeedWe're looking into it, but as you could tell from other posts, it's probably not going to be good news. VeriSign is now checking with Acxiom - who provide the services for the USPS and many other companies that have everyone's SSN and address. They should know for sure. Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
-
I've been thinking of getting a Vonage system for some time - I especially like the idea of having numbers from anywhere in the country for my clients to use. How's your experience been with them? What plan did you get and how has it worked out? Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework
So far so good. Had it about 6 months. I initially had an issue where I had to reboot the telephone adaptor about once a week (my firewall was tight), they prefer to be the first inline after the cable modem, but they don't pass port 80 through, which is a pain for my website :mad: One nagging problem (and it could be my telephone) is that when I delete messages form voicemail (using the handset) the voicemail icon does not clear from the handset until I go to the website and delete the message from the deleted messages folder (you can access everything in a hotmail / dare I say gmail type view). I especially like the fact I can have them automatically e-mail a wav of the voicemail to me wherever I am. I have very consistent service from Time Warner Cable which helps of course. I call the UK from NYC frequently and the line quality is very good, the rate is cheap (3 cents per minute). I took the unlimited local plan $25 per month with 500 mins long distance. They transferred my number within the time specified, and gave me a temporary incoming number, I could use the outgoing immediately and it showed up on other peoples caller displays correctly. You have you register your number for 911 service as they have to figure out where you really are⦠as the numbers can be virtual. Gary