Yes bsnqt, I wrote it with B4A. I used "StartServiceAt" and it is not killed. I don't know whether it is supposed to get killed. I am attaching the B4A project. Probably it will not blink the led on your phone, as different manufacturer makes it differently. You may play an audio or something like that for detecting missed call.
By the way, the code is not cleaned
- I wish to make something more with it like call filter/blacklist in future.
Best regards.