• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How can I encode a telephone number which, when chosen, starts a call?

Guest
Jun 05, 2019 Jun 05, 2019

Copy link to clipboard

Copied

2019-06-06-04T00:05Z

How can I encode a telephone number such that when a person chooses it, it starts a phone call.  This would be analogous to a hypertext marker with the command "GO to URL" or "Message Client."

Thanks!

Views

318

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 06, 2019 Jun 06, 2019

It would appear that one would use URI Scheme "tel":
message URL tel:+1-201-555-0123
per RFC3966

But as Jeff's StackOverflow thread reference indicates, whether or not it works may be client-dependent. If it doesn't, and you control the client (device, browser), then provisional URI Scheme callto: might be worth a test.

A further question arises as to whether the URI is delivered to the client via HTML/XML, or inside a PDF.

I've never needed to try any of it.

Votes

Translate

Translate
Community Expert ,
Jun 06, 2019 Jun 06, 2019

Copy link to clipboard

Copied

A quick google reveals - https://stackoverflow.com/questions/1164004/how-to-mark-up-phone-numbers

Have you tried any of those ideas?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 06, 2019 Jun 06, 2019

Copy link to clipboard

Copied

It would appear that one would use URI Scheme "tel":
message URL tel:+1-201-555-0123
per RFC3966

But as Jeff's StackOverflow thread reference indicates, whether or not it works may be client-dependent. If it doesn't, and you control the client (device, browser), then provisional URI Scheme callto: might be worth a test.

A further question arises as to whether the URI is delivered to the client via HTML/XML, or inside a PDF.

I've never needed to try any of it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 06, 2019 Jun 06, 2019

Copy link to clipboard

Copied

LATEST

2019-06-06-04T23:40Z

The reply from Bob Niland (Error 7103) is correct.

    NOTE

    FrameMaker changed the plus sign ( + ) to an exclamation point ( ! ).

In the hypertext marker, I used the command Go to URL with the content message URL tel:!1-260-745-2907.

On my Samsung Galaxy J7 with Android ver 8.1.0 with the tel nbr encoded in a PDF file, when I choose the "hot" nbr, it ran the default app for phone.  To call the nbr, I had to choose the green tel handset icon.  This intermediate step provides a convenient opportunity to either stop the process or to continue it.

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines