简体   繁体   English

HTML tel:私人电话链接

[英]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. 我们尝试为电话号码添加* 67前缀,但是,Apple的iOS会在电话号码带有*或#的情况下阻止呼叫,如其文档所述。 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. 看起来像是有效的链接,但不会在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 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 http://www.mobilexweb.com/blog/click-to-call-links-mobile-browsers

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM