简体   繁体   中英

HTML tel: link for private calls

Trying to find out if there is a way to keep the callers number private when the user touches a tel link on a mobile webpage. We tried prefixing the phone number with *67, however, apple's iOS prevents the call when the number has * or #, as stated in their documentation. For example,

<a href="tel:*67215-555-5555">call</a>

Will look like a valid link, but won't make the call on the iPhone. Any ideas?

Thanks.

Here is few line of code to make a call inside mobile webpage.

<p>Making call from webpage.</p>
<a href='#' id='contact' tel:'+1800229933'>contact: 1800229933</a>

and if you want to see live, then brows this url in your mobile. http://openstrides.com/mobile-openstrides-website/contact.html

here is a useful link for depth learning. http://www.mobilexweb.com/blog/click-to-call-links-mobile-browsers

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