~mil/sxmo-docs

5e2b05953e9481276eb27ae030b4666751950610 — Stacy Harper 3 months ago 0e40096
Update international numbers part including the deduplication fixes
1 files changed, 14 insertions(+), 6 deletions(-)

M USERGUIDE.md
M USERGUIDE.md => USERGUIDE.md +14 -6
@@ 356,15 356,23 @@ those contacts. You can add, edit and delete all of your contacts.

Note that you should **always** prefix numbers you call out with, text to,
or add to the contact system **with their international prefix code**
and **with** the initial plus sign. Behind the scenes for `mmcli`, numbers always
come into the system with international prefixes from my testing. So if
you receive a call from the number `54321` for example; it would come
into mmcli as `+154321` if this was a US number. This means if you dial, text, and store contacts *with
the internationl prefix*, you can be assured that texts / outgoing /
and **with** the initial plus sign. The contact app menu will softly force you
to register your contacts with the leading country code. Note that you still
can register "invalid" phone number (by example 123 or 888 or whatever your
provider use).

Behind the scenes for `mmcli`, numbers sometime come into the system with
international prefixes and sometime without. We think that this issue only
happen with local country code phone numbers. So if you recieve a call from the
number `54321` for example; it could come into mmcli as `+154321` or as `54321`
if this was a US number. To manage this, we use an environment variable named
`DEFAULT_COUNTRY` to indicate which country your provider is. By example, if you
are in France, you should configure this in your xinit `export DEFAULT_COUNTRY=FR`.
Then Sxmo will handle not prefixed incoming phone number as French ones and add
the `+33` prefix by itself. You then can be assured that texts / outgoing /
incoming calls will line up in regards to deduplication of contacts in
menus and text message threads will stay intact.


## **Included Scripts and Applications**

In the [global system menu](#strongincluded-menusstrong) there are entries for both applications and