"Can you please stop requesting Delivery Report from your side when you reply on each short code?"
I'm not quite sure how to take that, as setRegistered = 0.
My current implementation of responding is:
SubmitSMRespsmResp=(SubmitSMResp)con.sendRequest((SMPPRequest)submit);if(smResp.getCommandStatus()==0){
logger.info("Message sent to "+sm.getCellnumber()+" on "+sm.getShortCode());markSuccess(dbconn,sm);
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's more relevant how you create your submit packet. For example, are you calling setRegistered on it? If so, stop doing that, leave the registered flag at its default of 0 (or false).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the reply. No, set registered on the submit is set as it's default and verified as 0. It's pretty barebones, maybe thats where the issue lies?
SubmitSM submit = new SubmitSM();
Address dest = new Address(1, 1, sm.getCellnumber());
submit.setDestination(dest);
Address src = new Address(0, 0, sm.getShortCode());
submit.setSource(src);
submit.setMessageText(sm.getMessage());
SubmitSMResp smResp = (SubmitSMResp) con.sendRequest((SMPPRequest) submit);
Perhaps I'm doing something wrong or I'm misunderstanding what my smsc contact is telling me.
Last edit: 321 2015-12-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I received this note from my smsc:
"Can you please stop requesting Delivery Report from your side when you reply on each short code?"
I'm not quite sure how to take that, as setRegistered = 0.
My current implementation of responding is:
It's more relevant how you create your
submitpacket. For example, are you callingsetRegisteredon it? If so, stop doing that, leave theregisteredflag at its default of0(orfalse).Thanks for the reply. No, set registered on the submit is set as it's default and verified as 0. It's pretty barebones, maybe thats where the issue lies?
Perhaps I'm doing something wrong or I'm misunderstanding what my smsc contact is telling me.
Last edit: 321 2015-12-28
Hi? Use network scanner tools (like wireshark, tcpdump etc.) to see real value of Delivery Reciept Request.
Last edit: Oleg Alekseev 2016-12-22