naidu / telephone

Automatically exported from code.google.com/p/telephone
Other
0 stars 0 forks source link

numbers with 10 or more digits should be (optionally?) prefixed with a long distance code #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have someone in your phonebook with a 10 digit number (John Doe
202-555-1212)
2. Type that person's name in to the dialer (John Doe)
3. Get a "I'm sorry, that is a long distance number" error

What is the expected output?

There should be a way for telephone to detect that the number will be long
distance (10 or more digits feels like the right way) and prepend a long
distance code.

What version of the product are you using? On what operating system?

0.13.2 on OSX

Please provide any additional information below.

Probably worthwhile to use locale settings to detect numbers that would be
international long distance and at that point prepend the international
dialing code (011), too.

Original issue reported on code.google.com by mbeltz...@gmail.com on 6 Mar 2009 at 7:21

GoogleCodeExporter commented 9 years ago
How can we determine the exact number of digits for the long distance call? 
What about dialing plans where 
number of digits varies?

How can we determine international dialling code of one's PBX?

Original comment by eofs...@gmail.com on 6 Mar 2009 at 8:19

GoogleCodeExporter commented 9 years ago
 eofster: "exact number of digits" is a preference, such as "the international
dialing code"
in terms on russian PSTN:
1) Record is: +7 777 1234567 //Kazah mobile number
PBX _may_ not undestend '+'
or record may miss '+'
or PBX may not accept e164 and wait for 81077771234567 in russian or 
0077771234567 in US

I'm too lazy to provide details in english I'll send you email. ok?

Original comment by motto.ui...@gmail.com on 6 Mar 2009 at 11:44

GoogleCodeExporter commented 9 years ago
Issue 103 has been merged into this issue.

Original comment by eofs...@gmail.com on 8 Mar 2009 at 2:38

GoogleCodeExporter commented 9 years ago
Sorry for my duplicate... Didn't found this issue.
Back to topic: In Germany it's easy. There only have to be a check whether the 
first
number is zero or a "+". If not, a predefined prefix could be placed before the 
number.

Original comment by ja...@php4you.de on 8 Mar 2009 at 2:43

GoogleCodeExporter commented 9 years ago
What if the number is a local extension 0123? How can we know whether it is 
local or long distance? What if it's 
not Germany?

Original comment by eofs...@gmail.com on 8 Mar 2009 at 2:52

GoogleCodeExporter commented 9 years ago
In Germany it's no problem: There aren't any numbers beginning with "0". In 
other
countries I know like France it's a bit different: There you have to use the 
prefix
every time also when you make a local distance call. That's why there are 
numbers
with a zero as the first number but this should not make problems because the 
french
users shouldn't be accustomed in calling number without typing the prefix.
But I understand that it's not very easy to find a solution for every 
country... 

Original comment by ja...@php4you.de on 8 Mar 2009 at 3:02

GoogleCodeExporter commented 9 years ago
Not even every country, but every PBX configuration.

And the beautiful thing is... international format solves all these problems.

Original comment by eofs...@gmail.com on 8 Mar 2009 at 3:09

GoogleCodeExporter commented 9 years ago
Not really - I have no problems with calling. I only have to use the prefix 
every
time. Also for local destination calls. When making internatonal calls I use the
countrycode. But with a regular phone I can make local destination calls without
having to use the prefix.
It would only be a little bit more comfort when telephone detects these local
destination calls without a prefix automatically, but it's not that important 
and I
think the priority can be set to low.

Original comment by ja...@php4you.de on 8 Mar 2009 at 3:16

GoogleCodeExporter commented 9 years ago
Do you mean dialling numbers, that are not in the address book?

Original comment by eofs...@gmail.com on 8 Mar 2009 at 3:25

GoogleCodeExporter commented 9 years ago
I mean both. In the address book I only have numbers in the long destination or
international format. I know, this differs a bit from the original problem but
generally its the same feature.

Original comment by ja...@php4you.de on 8 Mar 2009 at 3:28

GoogleCodeExporter commented 9 years ago
Issue 142 has been merged into this issue.

Original comment by eofs...@gmail.com on 17 Jun 2009 at 5:34

GoogleCodeExporter commented 9 years ago
10 digits is mandatory where I live, even for local calls. Your solution 
doesn't work.
I live in Montreal, and for the same area code (514) some numbers are long 
distance
and others are local. Microsoft implemented a local call detection in their 
Telephony
API where they would try and detect which numbers where local and which where 
not by
detecting area codes and even refining to the next three digits of the number.

I don't think there is a simple solution to the problem. It depends on where you
live, your provider (callcentric treats every call as long distance, problem 
solved),
and wouldn't work for everybody.

I personally like the way Telephone doesn't try to handle this. If it ain't 
broke,
don't fix it, right?

Original comment by pcai...@gmail.com on 27 Jun 2009 at 12:37

GoogleCodeExporter commented 9 years ago
Issue 199 has been merged into this issue.

Original comment by eofs...@gmail.com on 19 Aug 2009 at 9:56

GoogleCodeExporter commented 9 years ago
Issue 211 has been merged into this issue.

Original comment by eofs...@gmail.com on 30 Aug 2009 at 5:11

GoogleCodeExporter commented 9 years ago
Issue 285 has been merged into this issue.

Original comment by eofs...@gmail.com on 2 Feb 2010 at 11:40

GoogleCodeExporter commented 9 years ago
Issue 326 has been merged into this issue.

Original comment by eofs...@gmail.com on 12 Jun 2010 at 4:14

GoogleCodeExporter commented 9 years ago
@foxx : in France, all numbers are 10 digits long, first 2 mandatory digits are 
zone + fairs prefixes (01 to 09) :
0123456789 is a ground phone in Paris
0621123456 is a cell phone
0490464646 is a ground phone in south
0899119911 is a special number just as 1-800

I think that mac os already deal with number formatting depending on the 
region. Perhaps Telephone.app could use this ?

Original comment by gasp...@gmail.com on 20 Jun 2010 at 10:54

GoogleCodeExporter commented 9 years ago
gaspard, there's no such feature in Mac OS X.

Original comment by eofs...@gmail.com on 27 Jun 2010 at 5:12

GoogleCodeExporter commented 9 years ago
I am voting for a "for numbers longer than NN digits, prepend YY" feature.

Original comment by jcapa...@gmail.com on 7 Dec 2010 at 4:28

GoogleCodeExporter commented 9 years ago
I am also voting for "for numbers longer than NN digits, prepend YY", where NN 
and YY are configurable.

Original comment by enakud...@gmail.com on 3 May 2011 at 1:28