Highlighted

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

New Here ,
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!

Adobe Community Professional
Correct answer by Bob_Niland | Adobe Community Professional

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.

Views

125

Likes

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

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

New Here ,
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!

Adobe Community Professional
Correct answer by Bob_Niland | Adobe Community Professional

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.

Views

126

Likes

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
Jun 05, 2019 0
Adobe Community Professional ,
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?

Likes

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
Reply
Loading...
Jun 06, 2019 1
Adobe Community Professional ,
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.

Likes

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
Reply
Loading...
Jun 06, 2019 1
New Here ,
Jun 06, 2019

Copy link to clipboard

Copied

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!

Likes

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
Reply
Loading...
Jun 06, 2019 0