Member-only story
How to Coda Calling and Texting?
Set up calls and send messages directly from a doc
The basic logic of dealing with phone numbers is turning them into a hyperlink. For calling we make use of “tel” and for texting “sms”. We glue these together using a Format()
or Concatenate()
function with Hyperlink()
and off we go. Or not? Well actually not directly and I quote:
Throughout the world, every country has a country code list that is unique, making it easy to place calls anywhere in the world to any other county. However, before you dial international calling codes, you need to notify the telephone system by including all the appropriate information.
We thus not only need to take care of the elements ‘tel’ and ‘sms’, but also of the number related to the country of the recipient. For these we need country codes, like below.
Once we have these prefixes, we get closer:
- Dial the IDD, which for majority of the world is 00 or 011.
- Add the country code from the country code list.
- Then dial the target number, leaving off the first zero if there is one.