Menu

Stop requesting Delivery Report

321
2015-12-23
2016-12-22
  • 321

    321 - 2015-12-23

    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:

    SubmitSMResp smResp = (SubmitSMResp) con.sendRequest((SMPPRequest) submit);
    
    if (smResp.getCommandStatus() == 0) {
      logger.info("Message sent to " + sm.getCellnumber() + " on " + sm.getShortCode());
      markSuccess(dbconn, sm);
    }
    
     
  • Oran Kelly

    Oran Kelly - 2015-12-27

    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).

     
  • 321

    321 - 2015-12-28

    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
  • Oleg Alekseev

    Oleg Alekseev - 2016-12-22

    Hi? Use network scanner tools (like wireshark, tcpdump etc.) to see real value of Delivery Reciept Request.

     

    Last edit: Oleg Alekseev 2016-12-22

Log in to post a comment.

MongoDB Logo MongoDB