telephone

A comprehensive regex for phone number validation

I'm trying to put together a comprehensive regex to validate phone numbers. Ideally it would handle international formats, but it must handle US formats, including the following: 1-234-567-8901 1-234-567-8901 x1234 1-234-567-8901 ext1234 1 (234) 567-8901 1.234.567.8901 1/234/567/8901 12345678901 I'll answer with my current attempt, b...

How to format a string as a telephone number in C#

I have a string "1112224444' it is a telephone number. I want to format as 111-222-4444 before I store it in a file. It is on a datarecord and I would prefer to be able to do this without assigning a new variable. I was thinking: String.Format("{0:###-###-####}", i["MyPhone"].ToString() ); but that does not seem to do the trick. ** ...

Android telephone directory

Is there any open source telephone directory application for Android or how can I make one myself? ...

How can I compare international phone numbers in Perl?

Are there any modules that can help me compare phone numbers for equality? For example, the following three numbers are equivalent (when dialling from the UK) +44 (0)181 1234123 00441811234123 0181 1234123 Is there a perl module that can tell me this? ...

dialing on iphone/ipod touch not working with documented procedures

I'm trying to set up an iphone app to the phone number of a various sports store using the tel:// url passing method- I am developing on an ipod touch- usually on the touch you see the error message "Unsupported URL - This URL wasn't loaded tel://99887766" when you try and dial a number. I cant get this message to appear on the simulato...

android Convert phone number in International Format

I'd like to know whether it's possible to have phone numbers converted into international format when a call is outgoing. For instance, if a french user (sorry it's the only format i know i won't make a mistake :-) try to call with the national format : 01.47.12.34.56 then a method will convert it into international format like this : +...

Account verification Yelp style, how is it more "secure" than traditional verification?

For business owners to "take control" of their business page on Yelp, they register for it. The Yelp system performs a telephone call-back. From watching to the video here, it sounds like a telephone version of what we all typically do - e-mail check. For e-mail check, it basically goes like this: User registers > verify e-mail sent ...

Find telephonenumbers - finding number with and without an phone extension

Hello there I've a table with about 130 000 records with telephonenumbers. The numbers are all formated like this +4311234567. The numbers always include international country code, local area code and then the phonenumber and sometimes an extension. There is a webservice which checks for the caller's number in the table. That servic...

Telephone Number to Geolocation UK

Is there a service that provides latitude and longitude for UK phone numbers? For example: Query: 0141 574 xxx, Returns: (55.8659829, -4.2602205) [Glasgow City Centre] Allow me to stress that I am not looking for a reverse-directory-enquires. I am more interested in 'local area' for things like weather by phone or "Where's my nearest P...

iPhone: How to Extract a Numerical Value from a String?

Is it possible to extract a number from a string. For example, I have a string: my name is shishir and my number is 98890876478 Can I extract on 98890876478 from the above string? Or if my string is: my name is shishir and my number is XXX98890876478XXX In this condition can I extract `98890876478", which is in between of XXX. Is...

Android: Retrieve contact name from phone number

I would like to retrieve the name of a contact associated with an incoming telephone number. As I process the incoming number in the broascastreceiver having a String with the name of the incoming caller would help my project greatly. I would think this involves a query using the sql WHERE clause as a filter, but do I need to sort the c...

Resources for playing with my landline phone ?

I have few projects ideas that involve plugging a computer or an arduino to my landline phone (or just before it). For example, I would like to grab the caller ID sent when someone calls, do a lookup on the web or in an address book, and display the associated name on a LED screen. The problem is that I can't find any resources on the p...

Quickly checking for telephone number format in input text using PHP?

What's the most efficient way to quickly check for telephone number format from a form input text? ...

Getting Incoming Phone Numbers

Is it possible with some hardware to get the incoming calls and phone numbers from an ADSL line (in a windows application) ? I guess I need a driver program of a specific hardware doing this but I don't even know any term to make a search about this. ...

How do I use the FB Graph API to retrieve a user's mobile phone?

How do I use the FB Graph API to retrieve a user's mobile phone? Is this even possible? It's not listed as part of the extended permissions, but I was wondering if there was a way I could retrieve that piece of information ...