Questions tagged [phone-number]

A telephone number or phone number is a sequence of digits used to call from one telephone line to another in a public switched telephone network(PSTN). When telephone numbers were invented, they were short — as few as one, two or three digits — and were given orally to a switchboard operator. As phone systems have grown and interconnected to encompass the world, telephone numbers have become longer.

A telephone number or phone number is a sequence of digits used to call from one telephone line to another in a public switched telephone network. When telephone numbers were invented, they were short — as few as one, two or three digits — and were given orally to a switchboard operator. As phone systems have grown and interconnected to encompass the world, telephone numbers have become longer. In addition to telephones, they now access other devices, such as computers and fax machines.

Telephone numbers must not be stored using numerical data types.

The format of telephone numbers internationally follows ITU-T Recommendation E.164, described here.

This is a useful reference for people creating software to handle telephone numbers: Falsehoods Programmers Believe About Phone Numbers.

1228 questions
-1
votes
1 answer

How to properly style a phone number label?

I want to display a phone number using UILabel in my iOS app. What are the best font settings to make the numbers look nice? I tried mono spaced but it does not feel right.
funkenstrahlen
  • 3,032
  • 2
  • 28
  • 40
-1
votes
1 answer

phone number validation in magento 1.9.2

i have add class "validate-phoneStrict" with phone number input but still i am able to add alphabets in phone number field. what i have to do to solve problem?
akshay
  • 23
  • 5
-1
votes
1 answer

Php: Strlen() vs. count () Problems: Warning: strlen() expects parameter 1 to be string, array given

I use these code to splite a Phone number String into area code and call number. When i use "strlen($areacode)" i get a php warning strlen() expects parameter 1 to be string, array given. When is use count () instead of strlen(), the script is…
soo29
  • 17
  • 8
-1
votes
1 answer

Standardise telephone number format

I have a column with 32 different phone formats that I need to consolidate into one format type: (###)###-####. The goal is to upload this formatted data into an existing db. I did find some formulas that help but these require helper cell. I think…
-1
votes
1 answer

Website which can make a call to a given phone number

Is there any website/server through which I can do a tie-up for doing following: I will pass my user Id and a phone number. Using my user Id, it will know who I am and what is my phone number. 3.1 It will make a call to the phone number which I…
Anand007
  • 1
  • 1
-1
votes
1 answer

How to input phone numbers without the leading +1

In the PhoneNumber field for django, how do you allow users to input phone numbers without the leading +1 in the beginning? This will be a form they fill out. class Phone(models.Model): name = models.CharField(max_length=30) phoneNumber =…
thatguy
  • 97
  • 9
-1
votes
1 answer

Mobile application phone, email edit text validation using expressions

I need to validate phone and email Edit texts in android application. Email text I want it to match the familiar email syntax "example@gmail.com" Phone text I want it to be like this "xxx-xxx-xxxx" where x is numbers only I want the validation to…
Areej
  • 13
  • 6
-1
votes
3 answers

JavaScript Regex French Phone Number

I try to define a regex in Javascript who can accept separators like spaces, points, double-points and dashes. My regex is working when there is no separators but when I add space or other separator, it's not working. I have to precise: this regex…
-1
votes
1 answer

Show different number in twilio call REST API creating calls

Imagine that I'm creating a new call with REST API and set the parameters like this: $client->account->calls->create("+15017250604", "+14155551212", $urlCallback); When the phone rings, I don't wanna show the +15017250604 as the caller, but I…
Iuri Brindeiro
  • 143
  • 1
  • 8
-1
votes
1 answer

Phone number format in Peoplesoft 9.1

I'm trying to find where the phone number format is specified and stored in Peoplesoft 9.1. When ever I enter a phone number(like XXXXXXXX) in the personal data page, after saving it, the phone number is getting stored in a particular format (like…
-1
votes
1 answer

ZipCode and Phone error message doesn't disappear with Parsley

I'm using Parsley to validate my inputs (not the form) and almost everything works great! The only problem I have is that if I leave zipcode and phone fields empty, the error message appear but when I focusin and start typing, it doesn't leave like…
Collin
  • 1
  • 4
-1
votes
1 answer

I want to add "-" mark after 3 number to a jtextfield for phone number. but here i loosing typed numbers. EX 099-1234534

I want to add - mark after 3 number to a jtextfield for phone number. But here I'm loosing typed numbers. EX 099-1234534 jTextField3.addKeyListener(new KeyAdapter() { public void keyTyped(KeyEvent e) { char c = e.getKeyChar(); …
-1
votes
1 answer

Sending Text Messages via Twilio API using Java

I registered with Twilio and have the following details from my account Account SID : 34 characters long Auth Token : 34 characters long I executed the below code with jar files for com.twilio.sdk loaded in classpath. The program compiled and…
-1
votes
1 answer

Android - Getting phone number of an address

I am developing an app, where I am just finding an address based on a search, based on search I got the address latitude longitude and place Id, but I need one more thing -- Phone number of that address. When I read the Places API tuitorial it is…
Jocheved
  • 1,125
  • 3
  • 15
  • 32
-1
votes
1 answer

How can I get the phone number without getLine1Number() method

I'm having troubles getting the phone number in certain phones with EURO operators, I try with TelephonyManager using getLine1Number() for get the SIM number, that work fine but in order to get a GSM phone number the method return a empty string.…