简体   繁体   中英

How to construct a telephone number link on Android that includes an extension

On a web page I have a link to a telephone number with extension like this:

<a href="tel:011234404,123456">call now</a>

When I tap this link in an iPhone browser, the iPhone will dial 011234404 and then when the call is answered it will dial the extension 123456. This is wonderful, however it does not appear to work at all on android (the main number is dialed and the extension is ignored).

Other people seem to be using ";" or even "p" instead of the comma separator on Android with some success, but I am unable get anything to work.

What is the standard for this type of link on Android?

Please take a look at this forum for several examples of people overcoming the problem you're describing.

Summary: It would appear that there are 2 general ways to do this.

  • You can add a series of , characters, which will create a brief pause, or
  • You can add a w character, which prompts the Android phone to wait for you to press a second button before it will dial the extension.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM