Question by sender SMS using number substitution on some text?

Hello, respected Hebraist! Perhaps the question title wasn't very clear what I want to ask. I'll try to explain.


I'm writing a spam filter for SMS messages under Android. Everyone knows that spam doesn't come from some rooms (i.e. +7-123-456-78-90) and some name (FunkyMama, Posh). The question is, in fact, dependent on whether these names are case-sensitive. For example, POSHFRIENDS and POSHfriends is physically different senders or not? Just important for me to understand the case-sensitivity when filtering or not. And then if I make the sender's case insensitive and the user add to the black list the sender's name, for example, bEELINe, the text messages from the mobile operator Beeline also won't come.


Thanks for the advice!
October 8th 19 at 01:25
7 answers
October 8th 19 at 01:27
Case sensitive, of course. Ie, "BEELINE" and "Beeline" — these are two completely different source_addr (PDF, page 59, bottom)
Thank you! You a plus! But I honestly did not see in the present document are clear indications of registronacional. - jocelyn_Dickens commented on October 8th 19 at 01:30
Explicitly specifying no. Of course, some phones can show initiative, but I haven't heard of it. In the case alphanum source_addr comparison should be byte-by-byte. - Tre_Ledn commented on October 8th 19 at 01:33
October 8th 19 at 01:29
By the way I was thinking, I guess, ideally, should not ban a number or alpha sender name and pair number(alpha-name)-the number of the SMS centre.
Since the real SMS from beeline will be sent via the sms centre of the Beeline and through the fake "left" SMS center.
PS I do Not know whether it is possible to obtain the SMS center sender in Android, but in older Nokias such infa was shown, and thus to its possible.
Thank you! Will have to see the opportunity in Android. - jocelyn_Dickens commented on October 8th 19 at 01:32
Found this possibility :)
SmsMessage.getServiceCenterAddress()
Returns the address of the SMS service center that relayed this message or null if there is none. - Tre_Ledn commented on October 8th 19 at 01:35
Although You know the problem of registravimosi alpha first name in the pair remains. The pair {Beeline, +71234567890} and {BEELINE, +71234567890} are equivalent or not? - jocelyn_Dickens commented on October 8th 19 at 01:38
Unless the phone is not connected to one "native" SMS-center operator? - jocelyn_Dickens commented on October 8th 19 at 01:41
This refers to the SMS center sender. Or I not correctly understood? - jocelyn_Dickens commented on October 8th 19 at 01:44
Right. It is about the heart of the sender. - Tre_Ledn commented on October 8th 19 at 01:47
Unless this information is sent in a text message? - jocelyn_Dickens commented on October 8th 19 at 01:50
Yes, passed. - Adrien.Tremblay commented on October 8th 19 at 01:53
October 8th 19 at 01:31
The company which I use, SMS, Sms and Sms is 3 different sender, and each of them is required to approve separately. But does the register Android — I will not say.
Maybe we should send 2 SMS from odnogo sender in a different register, and then test it on them?
who must approve alias numbers? - jocelyn_Dickens commented on October 8th 19 at 01:34
The company through which you are sending sms. - Tre_Ledn commented on October 8th 19 at 01:37
October 8th 19 at 01:33
Another question, where can such smsgate where it is possible to substitute?
Thousands of them. Here, just for instance: smsxchange.com - jocelyn_Dickens commented on October 8th 19 at 01:36
littlesms.ru - Tre_Ledn commented on October 8th 19 at 01:39
October 8th 19 at 01:35
why not just bring all names to the same register? In other words, how large is the probability that a text from BeeFon super-duper necessary, and SMS from BEEFON extremely harmful to the wallet?
The probability is extremely small. But still the needs of users are different. I would not want that because of me someone lost an important SMS. - jocelyn_Dickens commented on October 8th 19 at 01:38
October 8th 19 at 01:37
POSHFRIENDS and POSHfriends is physically different senders or not?
This question cannot be answered. Can be different, and may be one. Could also be that one sender id will be send different SMS senders.

Better to make an option "case sensitive" in filter settings
A very sensible idea. Thank you! - jocelyn_Dickens commented on October 8th 19 at 01:40
October 8th 19 at 01:39
Use sip-ring.com. The only one working substitute number.
Tested it personally. Everything works.

Find more questions by tags AndroidSMSSpam filtering