title: SMPP Invalid destination address submitting international message
body: <p>Good day guys!. I'm having a problem trying to submit an international sms vía SMPP (using Logica Java library). I'm gonna summarize the tests I've done. I'm using WireShark to monitor SMPP related activities.</p>
  
  <ol>
  <li><p>(Working)</p>
  
  <pre><code>    //Connect and stablish session
      Connection conn = new TCPIPConnection(providerAddress, port);
      Session session = new Session(conn);
      BindRequest breq = new BindTransmitter();
      breq.setSystemId(user);
      breq.setPassword(pass);
      breq.setSystemType("CMT");
      breq.setInterfaceVersion((byte)34);
      breq.setAddressRange((byte)0x01, (byte)0x01,null);
      Response resp = session.bind(breq);
  
      //Create message
      SubmitSM msg = new SubmitSM();
      msg.setDestAddr((byte)1, (byte)1, "58412014XXXX");
      msg.setSourceAddr((byte)1, (byte)1, "58412014XXXX");
      msg.setShortMessage("Test from tedexis","ISO-8859-1");  
  
      //Here we submit message
      session.submit(msg);
  
      //Disconnect
      session.unbind();
  </code></pre></li>
  </ol>
  
  <p>Result:  Message is delivered correctly. Here we validate credentials are valid, and notice the source and destination addresses are the same</p>
  
  <ol>
  <li><p>(Failing) The code remains the same except for the message destination address which is now set for an INTERNATIONAL PHONE NUMBER</p>
  
  <pre><code>    msg.setSourceAddr((byte)1, (byte)1, "1321237XXXX");
  </code></pre></li>
  </ol>
  
  <p>Result: Fails, checking WireShark I observe the following exception during the submit:
  <strong>SMPP Submit_sm - resp: "Invalid destination address"</strong></p>
  
  <p>We may think that our credentials are not valid for international deliveries but we are currently using these credentials delivering international messages through their webservice interface.</p>
  
  <p>I must be missing a configuration setting or wrongly setting one already, but I ran out of ideas, if anyone can point me in the right direction I would be glad.</p>