Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 309
Farthest Shore Avatar asked Aug 07 '12 14:08

Farthest Shore


1 Answers

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.
like image 188
Troy Alford Avatar answered Nov 07 '22 08:11

Troy Alford