Problems using extensions in tel: hyperlinks on Android 4

We have a mobile website with some phone numbers, for example:

href = "tel: 12345678.123"

This works great on most devices, but it doesn't seem to work on many / all Android 4 devices. The extension just doesn't appear in the dialer when you click a link.

Has anyone found a solution?

+4
source share
3 answers

According to the documentation , the tel: circuitry supports RFC 3966 . Reading these RFCs is a bit like reading cuneiform writing on clay tablets, but from what I can tell, your syntax is not part of this standard. It looks like you would like tel:12345678;ext=123 .

+4
source

I just tested both methods with Android 2.1.

tel:5553334444;ext=123 finishes dialing 358123 instead of 123, because instead it converts ext to a number.

The correct way is to use a comma.

tel:5553334444,123

Tried this with our extension here, and it immediately connected me. First he dials a number, then stops, and then he hits extension 123.

+1
source

Something you can consider, since tel:5553334444;ext=123 works only on 4.0, and tel:5553334444,123 works for 4.0+, it will check the user agent and pull out the appropriate one.

+1
source

Source: https://habr.com/ru/post/1403065/


All Articles