We have a mobile web site with some phone number links, like this:
href=\"tel:12345678,123\"
This works fine on most devices, but it appears it doesn\'t work
According to the documentation, the tel:
scheme supports RFC 3966. Reading these RFCs is a bit like reading cuneiform on clay tablets, but from what I can tell, your syntax is not part of that standard. It looks like you would want tel:12345678;ext=123
.
Something you can consider since tel:5553334444;ext=123
only works for less than 4.0 and tel:5553334444,123
works for 4.0+ would be to check the user agent and put out the appropriate one.
I just tested both methods with Android 2.1.
tel:5553334444;ext=123
ends up dialing an extension of 358123 instead of 123 because it converts ext into a number instead.
The right way is to use comma.
tel:5553334444,123
Tried that with our extension here and it connected me through immediately. It first dials the number, then pauses, and then punches in the extension 123 on its own.