A missed call is the simplest way to verify a number. The person calls the number you showed them, we don’t pick up, and that’s it: the number is verified. The call is free for them, and for you it’s the cheapest code, from 2 ₸.
But a missed-call check has a weak spot, and attackers know about it. In this article we’ll explain how they get around it, and how to build a check so that an honest person notices nothing while a fraudster gets tired and goes off to someone else.
If you don’t yet know how an incoming call works in the first place, start with our article on OTP by incoming call. It covers all four methods with examples.
What a missed-call check actually verifies
A missed-call check verifies only one thing: which number the call came from. And the caller’s number, also called Caller ID, is just a field in the call. It is filled in by the calling side. In a regular mobile network the carrier itself sets this field, and it can’t simply be faked.
But there are grey schemes. The call is routed through internet telephony, through so-called grey SIP trunks, and any number they like is written into the “who is calling” field. The call then arrives as if the number’s owner made it.
What it looks like in practice
- The fraudster takes someone else’s number, for example from a leaked database.
- They sign up with you using that number. You show them the number to call.
- They call through a grey trunk and substitute the victim’s number.
- We see a call from the right number. The number is verified, even though its owner doesn’t even know they signed up anywhere.
Why do this? Most often for sign-up bonuses and promo codes. Sometimes to create accounts for spam or to fake reviews. And the nastiest case is an attempt to log in to someone else’s account if your login is confirmed by a call.
Carriers are fighting it
Carriers in Kazakhstan know about number spoofing and fight it. Such calls are caught at network interconnects, and grey trunks are shut down.
Unfortunately, the problem isn’t fully solved. Such calls still occur in Kazakhstan’s network. So relying on the carrier alone isn’t wise; it’s better to add protection on your side too.
An honest person calls right away
Here is the key observation everything rests on. When a person enters their own number, they tap the “Call” button right away. The phone dials the number by itself, the call lasts a couple of seconds, and it’s done. They don’t go anywhere and don’t wait for anything.
For a fraudster it’s more complicated. They need to get the number to call, put someone else’s number into the trunk and start the call. Even if everything is automated, these are still extra steps. And every extra step is a chance that something goes wrong.
So the first tip is simple: don’t give extra time. An incoming call has a ttl parameter, the number of seconds we wait for the call. The default is 120, and you can set anywhere from 30 to 300. For a missed-call check, 60 to 120 seconds is enough; an honest person has time to spare.
A ladder of checks
The second tip is more important. If a person didn’t pass the missed-call check on the first try, don’t show them a missed-call check again. Each next attempt should be a bit harder than the previous one.
-
Missed call
Just call.
ttlof 60 to 120 seconds. Almost all honest users finish right here. from 2 ₸ -
Call and dial a code or say a word
The
pressandsaymethods. Calling is not enough: you also have to type the code from the screen on the keypad or say a word. from 3 ₸ - WhatsApp or Telegram The code arrives in the messenger on that number. A spoofed caller number won’t help at all here. from 7 ₸
Why this works. A fraudster who set up number spoofing for a missed-call check will be disappointed at the second step. Just calling is no longer enough: they have to wait for an answer and then dial a code or say a word. A simple bot that can only make calls breaks here.
And if instead of a code you give a task, such as “what is 7 plus 5,” or a question in Kazakh, it gets really sad. We collected such tricks in the previous article; there are five of them.
If time runs out the second time too, bring out the heavy artillery: a code in WhatsApp or Telegram. It goes to the messenger linked to the number. To get it, you need access to the messenger account itself. No number spoofing will help here.
It’s not about saving money
You might think the whole ladder is about saving money. The missed call is the cheapest, the messenger costs more, so we save. Saving is a nice bonus here, but the main thing is something else. It’s about fighting dishonest people.
Each step filters out those who passed the previous one dishonestly. An honest person usually passes on the first try and never even learns there were other steps. For a dishonest one, every step takes longer and costs more. At some point it’s easier for them to go to those who have no protection at all.
How to set it up on your side
Count attempts on your side, that is, how many times this number has already requested a code, say, in the last 10 minutes. Choose the method based on that count:
Attempt 1 → POST https://autocall.kz/api/v1/otp/incoming-call
{ "number": "+77011234567", "type": "missed", "ttl": 90 }
Attempt 2 → POST https://autocall.kz/api/v1/otp/incoming-call
{ "number": "+77011234567", "type": "press", "code": "4817", "ttl": 120 }
Attempt 3 → POST https://autocall.kz/api/v1/otp/whatsapp
{ "number": "+77011234567" }
And a couple of small things worth knowing:
- A new request for the same number cancels the previous one. The old number to call stops working immediately, so you can’t “catch up” with the first attempt.
- We accept no more than 5 requests per number in 10 minutes across all channels. This is brute-force protection, and it works on its own; you don’t need to do anything.
- If the person doesn’t have WhatsApp, we’ll tell you in the webhook (
no_whatsapp). Then just send the code via Telegram or SMS.
You can try every method on yourself for free on the incoming call page. All request parameters are in the API documentation.