通过号码检测移动运营商

发布于 2024-08-17 14:53:22 字数 1539 浏览 5 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

贪了杯 2024-08-24 14:53:22

我知道这已经过时了,但是您需要通过 SMS 网关(例如 InfoBip)执行称为 HLR 查找的操作。

I know this out of date, but you would need to do something called a HLR lookup via a sms gateway, InfoBip for example.

汹涌人海 2024-08-24 14:53:22

在英国,你不能这样做。号码可以从一个运营商转移到另一个运营商,这一切都非常流畅。每个运营商都知道如何在它们之间路由这些号码,但他们不会将该路由暴露给外部各方。

In the UK, you cannot do this. Numbers can be ported from operator to operator, it's all very fluid. Each operator will know how to route these numbers between themselves, but they don't expose that routing to outside parties.

余生一个溪 2024-08-24 14:53:22

在澳大利亚则不然——手机号码可能会分批交给运营商,但它们属于用户,并且可以转移到用户选择使用的任何运营商。

当然,仍然有一些方法可以查找单个号码并找出它所在的运营商 - 必须有,才能将呼叫路由到适当的运营商。不过,如果不投入大量资金建立电信公司,您就无法获得这一服务。

所有这些几乎肯定与您无关,因为您没有说您对澳大利亚特别感兴趣;但话又说回来,你也没有说你对澳大利亚不感兴趣。

Not in Australia - mobile numbers might be handed to operators in blocks, but they belong to the user and can be ported to any carrier the user chooses to use.

Of course, there are still ways to look up an individual number and find out which carrier it's on - there have to be, in order for the call to be routed to the appropriate carrier. You're not going to get access to that without investing a significant amount of money to set up a telco though.

All of this is almost certainly irrelevant to you as you didn't say you were specifically interested in australia; but then again, you didn't say you weren't interested in Australia either.

情深缘浅 2024-08-24 14:53:22

我发现这样一个服务似乎提供了一个 API 用于在世界各地许多国家查找运营商: http://numberportabilitylookup.com /

I found such a service which seems to provide an API for lookup of the operator in many countries around the world: http://numberportabilitylookup.com/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文