We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

Automatically add home country code when roaming [answered]

asked 2014-02-08 07:29:31 +0300

00prometheus gravatar image

When going abroad, I get the problem of dialing a number in my contacts that doesn't have my home country code in front of it.

When at home, the country code isn't needed, and contacts that are added from caller ID on incoming calls don't have the country code. To use a contact abroad, I must first edit the contact and manually add my home country code before I can dial it.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by JSEHV
close date 2016-02-01 17:32:06.809985

3 Answers

Sort by » oldest newest most voted
8

answered 2014-02-08 14:22:59 +0300

Stefanix gravatar image

Numbers should always be stored in international format. The problem is that the OP frequently saves CLIs in national format from incoming calls to the contacts. The better option in my opinion is to convert those into international format at the time of storage. This conversion process can be different depending on the country. But at least the most probable conversion could be suggested before storing the number. If the CLI is in national format, the first digit (often "0") could be removed and the country code, depending on the Mobile Country Code of the current cell ID could be added. To be confirmed before finally saving the entry. Conversion upon initiating outgoing calls is not a good idea. Some numbers are meant to be in local format for the visited location, e.g. service number (Taxi, etc.).

edit flag offensive delete publish link more

Comments

Yep, you are right. It is best to have all numbers in international format, having some without code and some with is poor design and asking for future trouble. Now all I need is an internationalizater for all my local contacts that don't have dialing code!

00prometheus ( 2014-02-18 19:20:05 +0300 )edit
2

answered 2014-02-08 07:34:10 +0300

00prometheus gravatar image

Add a setting where you can enter your home country code. When abroad, any number in your contacts that doesn't already start with a country code gets the entered country code added automatically when used.

A further setting may be turned on to strip leading zeroes if your home country needs it.

edit flag offensive delete publish link more

Comments

I got convinced by Stefanix argument in his Answer and have voted for it. Others might still think this is the right way to go, so I am leaving the answer here to vote for, but I personally don't agree with it any longer.

00prometheus ( 2014-02-18 19:21:26 +0300 )edit
1

answered 2014-02-08 13:08:38 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-02-08 13:08:38 +0300

jgr gravatar image

Just enter international numbers only in your Contacts. This will then work always. I am not sure that any automatism is smart enough to understand for all numbers and situations, what you want. (Keep in mind special service numbers that may be working within your providers network only, but there it works independent of the country where you are right at the moment.)

edit flag offensive delete publish link more

Question tools

Follow
1 follower

Stats

Asked: 2014-02-08 07:29:31 +0300

Seen: 2,399 times

Last updated: Feb 08 '14