silentSMS icon indicating copy to clipboard operation
silentSMS copied to clipboard

[ BUG ] The sms is not silent, recipient gets the message

Open rancidfrog opened this issue 11 years ago • 5 comments

Sms are received on the recipient end and appear in messaging app

rancidfrog avatar Dec 12 '13 23:12 rancidfrog

Hi,

thanks a log for filing this bug. Could you tell me what kind of phone did you use as receiver? Did you use the app itself, or the telnet-service of the app to send the message?

domi007 avatar Dec 13 '13 06:12 domi007

I used app itself.

It seems that the issue lies here:

pdus.encodedMessage[size + 4] = (byte) 0x40;

Whereas in the code of - bratwurzt / ZeroSMS the following code works as it should more or less

if (radioVm1.isChecked())
      {
        pdus.encodedMessage[size + 5] = (byte)0xC8; //voicemail on
      }
      else if (radioVm0.isChecked())
      {
     ** pdus.encodedMessage[size + 5] = (byte)0xC0; //voicemail off **
      }
      else if (radioFlash.isChecked())
      {
        pdus.encodedMessage[size + 5] = (byte)0xF0; //flash
      }

rancidfrog avatar Dec 15 '13 21:12 rancidfrog

So you suggest that sometimes the offset is 5 bytes instead of 4? I can add a radiobutton for this to the UI easily, and then you can check it whether it solves the problem for you, would that be OK?

domi007 avatar Dec 15 '13 21:12 domi007

Sorry guys, I haven't been updating this code a lot so those comments don't necessarily mean what they are supposed to mean. =) With offsets - mostly I've been try-fail testing and sadly only voicemail on/off works for sure.

bratwurzt avatar Jan 22 '14 09:01 bratwurzt

I think the best would be if I could add just a single field to the app which you can use to specify the offset value itself, making the trial-error testing easy and possible. However I'm not sure when I will have time to do this, and rancidfrog doesn't seem to be interested anymore so it might take longer for me to do this.

domi007 avatar Jan 22 '14 11:01 domi007