It's not your phone that's handling the call; it hasn't got that far. It's TalkTalk's computer that (in much the same way that AB's server filters out certain words) is programmed to recognise offensive terms and to then terminate those calls automatically.
I hope that you're not expected too many calls from Russia though. If, say, Alexander Sodov was to phone you, his surname might get picked up as being offensive ;-)