I currently have a webpage serving up phone numbers, some of these phone numbers have extensions so I have written the HTML like this:
<a href="tel:+44-1234-567;ext=88">+44-1234-56788</a> / <a href="tel:+44-1234-567;ext=99">+44-1234-56799</a
When I hit this page in my Android browser and tap one of the phone numbers, it loads up in my phone dialer (UK Samsung Galaxy s2 stock) as:
+44-1234-567;ext=88
which I don't think is correct. Surely it should omit the ;ext=
word.
Have I misread the RFC for implementing tel
?
Type "ext." followed by a space and then the extension number. For example: XXX-XXX-XXXX, ext. 766.
The telephone URI (tel URI) is used to identify resources using a telephone number. SIP allows requests to be sent to a tel URI. This means that the request-URI of a SIP request can contain a tel URI. The tel URI can contain a global number or a local number.
Seems the proper way to do it is use a comma:
<a href="tel:441234567,88">+44-1234-567 ext.88</a>
Just tested with iPhone and Android OS 2.1. Using ;ext=88
converts the ext bit into a number that is dialed with the extension (so it dials something like 35888 instead of 88).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With