简体   繁体   中英

href=“tel:” and Toll free numbers (0800) variable device behaviour

I have a UK client with a toll-free and standard phone number. On their website there are two clickable <a href="tel:"/> links respectively:

    <a href="tel:0800000000">0800 000 000</a>
    <a href="tel:+441462000000">+44 1462 000000</a>

On clicking the toll-free number different devices handle this in different ways. My client has an Apple phone which strips the leading 0 and adds +44 (the UK code) which means dialing the number fails. The same happens with Skype. On my android device, the number is dialed as clicked.

Is there any way to account for this device-specific behaviour?

Thanks in advance.

Have you tried with WTAI URI ?:

<a href="wtai://wp/mc;0800000000">Call 0800-000-000</a>

I hope that this work for you!

Keep rocking!

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