We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
我知道这已经过时了,但是您需要通过 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.
在英国,你不能这样做。号码可以从一个运营商转移到另一个运营商,这一切都非常流畅。每个运营商都知道如何在它们之间路由这些号码,但他们不会将该路由暴露给外部各方。
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.
在澳大利亚则不然——手机号码可能会分批交给运营商,但它们属于用户,并且可以转移到用户选择使用的任何运营商。
当然,仍然有一些方法可以查找单个号码并找出它所在的运营商 - 必须有,才能将呼叫路由到适当的运营商。不过,如果不投入大量资金建立电信公司,您就无法获得这一服务。
所有这些几乎肯定与您无关,因为您没有说您对澳大利亚特别感兴趣;但话又说回来,你也没有说你对澳大利亚不感兴趣。
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.
我发现这样一个服务似乎提供了一个 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/