SMPP SMS Send Long SMS












1














I have a java code to submit long SMS to SMPP but while excecution I'm getting "length must be less than or equal to 254. Actual length is 270" error. When using a lengthy string or any arabic characters.



Can anyone help me to identify the cause and suggest me how to fix the problem.



Below is the code that I'm trying.



import java.io.IOException;
import java.util.Date;
import java.util.Random;

import org.jsmpp.InvalidResponseException;
import org.jsmpp.PDUException;
import org.jsmpp.bean.Alphabet;
import org.jsmpp.bean.BindType;
import org.jsmpp.bean.ESMClass;
import org.jsmpp.bean.GeneralDataCoding;
import org.jsmpp.bean.MessageClass;
import org.jsmpp.bean.NumberingPlanIndicator;
import org.jsmpp.bean.OptionalParameter;
import org.jsmpp.bean.OptionalParameters;
import org.jsmpp.bean.RegisteredDelivery;
import org.jsmpp.bean.SMSCDeliveryReceipt;
import org.jsmpp.bean.TypeOfNumber;
import org.jsmpp.extra.NegativeResponseException;
import org.jsmpp.extra.ResponseTimeoutException;
import org.jsmpp.session.BindParameter;
import org.jsmpp.session.SMPPSession;
import org.jsmpp.util.AbsoluteTimeFormatter;
import org.jsmpp.util.TimeFormatter;

public class SendLongSMSMessage
{
private static TimeFormatter timeFormatter = new AbsoluteTimeFormatter();

public String submitLongSMS(String MSISDN, String senderAddr, String message) throws Exception
{
SMPPSession session = getSession();

String msgId = null;
int splitSize = 135;
int totalSize = 140;
int totalSegments = 0;

RegisteredDelivery registeredDelivery = new RegisteredDelivery(SMSCDeliveryReceipt.DEFAULT);

GeneralDataCoding dataCoding = new GeneralDataCoding(false, false, MessageClass.CLASS1,
Alphabet.ALPHA_8_BIT);
ESMClass esmClass = new ESMClass();

if (message != null && message.length() > totalSize)
{
totalSegments = getTotalSegmentsForTextMessage(message);
}

Random random = new Random();
OptionalParameter sarMsgRefNum = OptionalParameters.newSarMsgRefNum((short) random.nextInt());
OptionalParameter sarTotalSegments = OptionalParameters.newSarTotalSegments(totalSegments);

String segmentData = splitIntoStringArray(message, splitSize, totalSegments);

msgId = new String[totalSegments];
for (int i = 0, seqNum = 0; i < totalSegments; i++)
{
seqNum = i + 1;
OptionalParameter sarSegmentSeqnum = OptionalParameters.newSarSegmentSeqnum(seqNum);
try
{ byte byteText = segmentData[i].getBytes("UTF-16BE");
msgId[i] = session.submitShortMessage("", TypeOfNumber.NATIONAL,
NumberingPlanIndicator.ISDN, "9999999999", TypeOfNumber.NATIONAL,
NumberingPlanIndicator.ISDN, MSISDN, esmClass, (byte) 0, (byte) 0, timeFormatter
.format(new Date()), null, registeredDelivery, (byte) 0, dataCoding, (byte) 0, byteText, sarMsgRefNum, sarSegmentSeqnum, sarTotalSegments);

System.out.println("Message id for segment " + seqNum + " out of totalsegment "
+ totalSegments + "is" + msgId[i]);

}
catch (PDUException e)
{
System.out.println("PDUException has occured" + e.getMessage());
}
catch (ResponseTimeoutException e)
{
System.out.println("ResponseTimeoutException has occured" + e.getMessage());
}
catch (InvalidResponseException e)
{
System.out.println("InvalidResponseException has occured" + e.getMessage());
}
catch (NegativeResponseException e)
{
System.out.println("NegativeResponseException has occured" + e.getMessage());
}
catch (IOException e)
{
System.out.println("IOException has occured" + e.getMessage());
}
}
session.unbindAndClose();
return msgId;
}

private SMPPSession getSession() throws Exception
{
return newSession();
}

private SMPPSession newSession() throws Exception
{
BindParameter bindParam = new BindParameter(BindType.BIND_TX, "<user_name>", "<pass_word>", "tdd",
TypeOfNumber.UNKNOWN, NumberingPlanIndicator.UNKNOWN, null);

return new SMPPSession("17.1.1.1", 6666, bindParam);
}

public int getTotalSegmentsForTextMessage(String message)
{
int splitPos = 135;
int totalsegments = 1;
if (message.length() > splitPos)
{
totalsegments = (message.length() / splitPos) + ((message.length() % splitPos > 0) ? 1 : 0);
}
return totalsegments;
}

public String splitIntoStringArray(String msg, int pos, int totalSegments)
{
String segmentData = new String[totalSegments];
if (totalSegments > 1)
{
int splitPos = pos;

int startIndex = 0;

segmentData[startIndex] = new String();
segmentData[startIndex] = msg.substring(startIndex, splitPos);

for (int i = 1; i < totalSegments; i++)
{
segmentData[i] = new String();
startIndex = splitPos;
if (msg.length() - startIndex <= pos)
{
segmentData[i] = msg.substring(startIndex, msg.length());
}
else
{
splitPos = startIndex + pos;
segmentData[i] = msg.substring(startIndex, splitPos);
}
}
}
return segmentData;
}

public static void main(String args) throws Exception
{
SendLongSMSMessage slSMS = new SendLongSMSMessage();

String message = "Tech Dive heralds the arrival of a community of Developers "
+ "who share, collaborate and exchange ideas, concepts, technical know-how. "
+ "This forum lets you take a deep dive in technical topics that are hot and happening as well as on legacy systems."
+ "The idea of the forum is to ensure collaboration amongst developers through exchange of ideas/concepts "
+ "so their technical skills are enhanced."
+ "We plan to bring in experienced professionals on board so content/blog written is authentic and precise."
+ "Come, join us and be a part of new way of collaboration!";

String MSISDN = "9500000000";

String senderAddr = "8500000000";

slSMS.submitLongSMS(MSISDN, senderAddr, message);
}
}









share|improve this question



























    1














    I have a java code to submit long SMS to SMPP but while excecution I'm getting "length must be less than or equal to 254. Actual length is 270" error. When using a lengthy string or any arabic characters.



    Can anyone help me to identify the cause and suggest me how to fix the problem.



    Below is the code that I'm trying.



    import java.io.IOException;
    import java.util.Date;
    import java.util.Random;

    import org.jsmpp.InvalidResponseException;
    import org.jsmpp.PDUException;
    import org.jsmpp.bean.Alphabet;
    import org.jsmpp.bean.BindType;
    import org.jsmpp.bean.ESMClass;
    import org.jsmpp.bean.GeneralDataCoding;
    import org.jsmpp.bean.MessageClass;
    import org.jsmpp.bean.NumberingPlanIndicator;
    import org.jsmpp.bean.OptionalParameter;
    import org.jsmpp.bean.OptionalParameters;
    import org.jsmpp.bean.RegisteredDelivery;
    import org.jsmpp.bean.SMSCDeliveryReceipt;
    import org.jsmpp.bean.TypeOfNumber;
    import org.jsmpp.extra.NegativeResponseException;
    import org.jsmpp.extra.ResponseTimeoutException;
    import org.jsmpp.session.BindParameter;
    import org.jsmpp.session.SMPPSession;
    import org.jsmpp.util.AbsoluteTimeFormatter;
    import org.jsmpp.util.TimeFormatter;

    public class SendLongSMSMessage
    {
    private static TimeFormatter timeFormatter = new AbsoluteTimeFormatter();

    public String submitLongSMS(String MSISDN, String senderAddr, String message) throws Exception
    {
    SMPPSession session = getSession();

    String msgId = null;
    int splitSize = 135;
    int totalSize = 140;
    int totalSegments = 0;

    RegisteredDelivery registeredDelivery = new RegisteredDelivery(SMSCDeliveryReceipt.DEFAULT);

    GeneralDataCoding dataCoding = new GeneralDataCoding(false, false, MessageClass.CLASS1,
    Alphabet.ALPHA_8_BIT);
    ESMClass esmClass = new ESMClass();

    if (message != null && message.length() > totalSize)
    {
    totalSegments = getTotalSegmentsForTextMessage(message);
    }

    Random random = new Random();
    OptionalParameter sarMsgRefNum = OptionalParameters.newSarMsgRefNum((short) random.nextInt());
    OptionalParameter sarTotalSegments = OptionalParameters.newSarTotalSegments(totalSegments);

    String segmentData = splitIntoStringArray(message, splitSize, totalSegments);

    msgId = new String[totalSegments];
    for (int i = 0, seqNum = 0; i < totalSegments; i++)
    {
    seqNum = i + 1;
    OptionalParameter sarSegmentSeqnum = OptionalParameters.newSarSegmentSeqnum(seqNum);
    try
    { byte byteText = segmentData[i].getBytes("UTF-16BE");
    msgId[i] = session.submitShortMessage("", TypeOfNumber.NATIONAL,
    NumberingPlanIndicator.ISDN, "9999999999", TypeOfNumber.NATIONAL,
    NumberingPlanIndicator.ISDN, MSISDN, esmClass, (byte) 0, (byte) 0, timeFormatter
    .format(new Date()), null, registeredDelivery, (byte) 0, dataCoding, (byte) 0, byteText, sarMsgRefNum, sarSegmentSeqnum, sarTotalSegments);

    System.out.println("Message id for segment " + seqNum + " out of totalsegment "
    + totalSegments + "is" + msgId[i]);

    }
    catch (PDUException e)
    {
    System.out.println("PDUException has occured" + e.getMessage());
    }
    catch (ResponseTimeoutException e)
    {
    System.out.println("ResponseTimeoutException has occured" + e.getMessage());
    }
    catch (InvalidResponseException e)
    {
    System.out.println("InvalidResponseException has occured" + e.getMessage());
    }
    catch (NegativeResponseException e)
    {
    System.out.println("NegativeResponseException has occured" + e.getMessage());
    }
    catch (IOException e)
    {
    System.out.println("IOException has occured" + e.getMessage());
    }
    }
    session.unbindAndClose();
    return msgId;
    }

    private SMPPSession getSession() throws Exception
    {
    return newSession();
    }

    private SMPPSession newSession() throws Exception
    {
    BindParameter bindParam = new BindParameter(BindType.BIND_TX, "<user_name>", "<pass_word>", "tdd",
    TypeOfNumber.UNKNOWN, NumberingPlanIndicator.UNKNOWN, null);

    return new SMPPSession("17.1.1.1", 6666, bindParam);
    }

    public int getTotalSegmentsForTextMessage(String message)
    {
    int splitPos = 135;
    int totalsegments = 1;
    if (message.length() > splitPos)
    {
    totalsegments = (message.length() / splitPos) + ((message.length() % splitPos > 0) ? 1 : 0);
    }
    return totalsegments;
    }

    public String splitIntoStringArray(String msg, int pos, int totalSegments)
    {
    String segmentData = new String[totalSegments];
    if (totalSegments > 1)
    {
    int splitPos = pos;

    int startIndex = 0;

    segmentData[startIndex] = new String();
    segmentData[startIndex] = msg.substring(startIndex, splitPos);

    for (int i = 1; i < totalSegments; i++)
    {
    segmentData[i] = new String();
    startIndex = splitPos;
    if (msg.length() - startIndex <= pos)
    {
    segmentData[i] = msg.substring(startIndex, msg.length());
    }
    else
    {
    splitPos = startIndex + pos;
    segmentData[i] = msg.substring(startIndex, splitPos);
    }
    }
    }
    return segmentData;
    }

    public static void main(String args) throws Exception
    {
    SendLongSMSMessage slSMS = new SendLongSMSMessage();

    String message = "Tech Dive heralds the arrival of a community of Developers "
    + "who share, collaborate and exchange ideas, concepts, technical know-how. "
    + "This forum lets you take a deep dive in technical topics that are hot and happening as well as on legacy systems."
    + "The idea of the forum is to ensure collaboration amongst developers through exchange of ideas/concepts "
    + "so their technical skills are enhanced."
    + "We plan to bring in experienced professionals on board so content/blog written is authentic and precise."
    + "Come, join us and be a part of new way of collaboration!";

    String MSISDN = "9500000000";

    String senderAddr = "8500000000";

    slSMS.submitLongSMS(MSISDN, senderAddr, message);
    }
    }









    share|improve this question

























      1












      1








      1







      I have a java code to submit long SMS to SMPP but while excecution I'm getting "length must be less than or equal to 254. Actual length is 270" error. When using a lengthy string or any arabic characters.



      Can anyone help me to identify the cause and suggest me how to fix the problem.



      Below is the code that I'm trying.



      import java.io.IOException;
      import java.util.Date;
      import java.util.Random;

      import org.jsmpp.InvalidResponseException;
      import org.jsmpp.PDUException;
      import org.jsmpp.bean.Alphabet;
      import org.jsmpp.bean.BindType;
      import org.jsmpp.bean.ESMClass;
      import org.jsmpp.bean.GeneralDataCoding;
      import org.jsmpp.bean.MessageClass;
      import org.jsmpp.bean.NumberingPlanIndicator;
      import org.jsmpp.bean.OptionalParameter;
      import org.jsmpp.bean.OptionalParameters;
      import org.jsmpp.bean.RegisteredDelivery;
      import org.jsmpp.bean.SMSCDeliveryReceipt;
      import org.jsmpp.bean.TypeOfNumber;
      import org.jsmpp.extra.NegativeResponseException;
      import org.jsmpp.extra.ResponseTimeoutException;
      import org.jsmpp.session.BindParameter;
      import org.jsmpp.session.SMPPSession;
      import org.jsmpp.util.AbsoluteTimeFormatter;
      import org.jsmpp.util.TimeFormatter;

      public class SendLongSMSMessage
      {
      private static TimeFormatter timeFormatter = new AbsoluteTimeFormatter();

      public String submitLongSMS(String MSISDN, String senderAddr, String message) throws Exception
      {
      SMPPSession session = getSession();

      String msgId = null;
      int splitSize = 135;
      int totalSize = 140;
      int totalSegments = 0;

      RegisteredDelivery registeredDelivery = new RegisteredDelivery(SMSCDeliveryReceipt.DEFAULT);

      GeneralDataCoding dataCoding = new GeneralDataCoding(false, false, MessageClass.CLASS1,
      Alphabet.ALPHA_8_BIT);
      ESMClass esmClass = new ESMClass();

      if (message != null && message.length() > totalSize)
      {
      totalSegments = getTotalSegmentsForTextMessage(message);
      }

      Random random = new Random();
      OptionalParameter sarMsgRefNum = OptionalParameters.newSarMsgRefNum((short) random.nextInt());
      OptionalParameter sarTotalSegments = OptionalParameters.newSarTotalSegments(totalSegments);

      String segmentData = splitIntoStringArray(message, splitSize, totalSegments);

      msgId = new String[totalSegments];
      for (int i = 0, seqNum = 0; i < totalSegments; i++)
      {
      seqNum = i + 1;
      OptionalParameter sarSegmentSeqnum = OptionalParameters.newSarSegmentSeqnum(seqNum);
      try
      { byte byteText = segmentData[i].getBytes("UTF-16BE");
      msgId[i] = session.submitShortMessage("", TypeOfNumber.NATIONAL,
      NumberingPlanIndicator.ISDN, "9999999999", TypeOfNumber.NATIONAL,
      NumberingPlanIndicator.ISDN, MSISDN, esmClass, (byte) 0, (byte) 0, timeFormatter
      .format(new Date()), null, registeredDelivery, (byte) 0, dataCoding, (byte) 0, byteText, sarMsgRefNum, sarSegmentSeqnum, sarTotalSegments);

      System.out.println("Message id for segment " + seqNum + " out of totalsegment "
      + totalSegments + "is" + msgId[i]);

      }
      catch (PDUException e)
      {
      System.out.println("PDUException has occured" + e.getMessage());
      }
      catch (ResponseTimeoutException e)
      {
      System.out.println("ResponseTimeoutException has occured" + e.getMessage());
      }
      catch (InvalidResponseException e)
      {
      System.out.println("InvalidResponseException has occured" + e.getMessage());
      }
      catch (NegativeResponseException e)
      {
      System.out.println("NegativeResponseException has occured" + e.getMessage());
      }
      catch (IOException e)
      {
      System.out.println("IOException has occured" + e.getMessage());
      }
      }
      session.unbindAndClose();
      return msgId;
      }

      private SMPPSession getSession() throws Exception
      {
      return newSession();
      }

      private SMPPSession newSession() throws Exception
      {
      BindParameter bindParam = new BindParameter(BindType.BIND_TX, "<user_name>", "<pass_word>", "tdd",
      TypeOfNumber.UNKNOWN, NumberingPlanIndicator.UNKNOWN, null);

      return new SMPPSession("17.1.1.1", 6666, bindParam);
      }

      public int getTotalSegmentsForTextMessage(String message)
      {
      int splitPos = 135;
      int totalsegments = 1;
      if (message.length() > splitPos)
      {
      totalsegments = (message.length() / splitPos) + ((message.length() % splitPos > 0) ? 1 : 0);
      }
      return totalsegments;
      }

      public String splitIntoStringArray(String msg, int pos, int totalSegments)
      {
      String segmentData = new String[totalSegments];
      if (totalSegments > 1)
      {
      int splitPos = pos;

      int startIndex = 0;

      segmentData[startIndex] = new String();
      segmentData[startIndex] = msg.substring(startIndex, splitPos);

      for (int i = 1; i < totalSegments; i++)
      {
      segmentData[i] = new String();
      startIndex = splitPos;
      if (msg.length() - startIndex <= pos)
      {
      segmentData[i] = msg.substring(startIndex, msg.length());
      }
      else
      {
      splitPos = startIndex + pos;
      segmentData[i] = msg.substring(startIndex, splitPos);
      }
      }
      }
      return segmentData;
      }

      public static void main(String args) throws Exception
      {
      SendLongSMSMessage slSMS = new SendLongSMSMessage();

      String message = "Tech Dive heralds the arrival of a community of Developers "
      + "who share, collaborate and exchange ideas, concepts, technical know-how. "
      + "This forum lets you take a deep dive in technical topics that are hot and happening as well as on legacy systems."
      + "The idea of the forum is to ensure collaboration amongst developers through exchange of ideas/concepts "
      + "so their technical skills are enhanced."
      + "We plan to bring in experienced professionals on board so content/blog written is authentic and precise."
      + "Come, join us and be a part of new way of collaboration!";

      String MSISDN = "9500000000";

      String senderAddr = "8500000000";

      slSMS.submitLongSMS(MSISDN, senderAddr, message);
      }
      }









      share|improve this question













      I have a java code to submit long SMS to SMPP but while excecution I'm getting "length must be less than or equal to 254. Actual length is 270" error. When using a lengthy string or any arabic characters.



      Can anyone help me to identify the cause and suggest me how to fix the problem.



      Below is the code that I'm trying.



      import java.io.IOException;
      import java.util.Date;
      import java.util.Random;

      import org.jsmpp.InvalidResponseException;
      import org.jsmpp.PDUException;
      import org.jsmpp.bean.Alphabet;
      import org.jsmpp.bean.BindType;
      import org.jsmpp.bean.ESMClass;
      import org.jsmpp.bean.GeneralDataCoding;
      import org.jsmpp.bean.MessageClass;
      import org.jsmpp.bean.NumberingPlanIndicator;
      import org.jsmpp.bean.OptionalParameter;
      import org.jsmpp.bean.OptionalParameters;
      import org.jsmpp.bean.RegisteredDelivery;
      import org.jsmpp.bean.SMSCDeliveryReceipt;
      import org.jsmpp.bean.TypeOfNumber;
      import org.jsmpp.extra.NegativeResponseException;
      import org.jsmpp.extra.ResponseTimeoutException;
      import org.jsmpp.session.BindParameter;
      import org.jsmpp.session.SMPPSession;
      import org.jsmpp.util.AbsoluteTimeFormatter;
      import org.jsmpp.util.TimeFormatter;

      public class SendLongSMSMessage
      {
      private static TimeFormatter timeFormatter = new AbsoluteTimeFormatter();

      public String submitLongSMS(String MSISDN, String senderAddr, String message) throws Exception
      {
      SMPPSession session = getSession();

      String msgId = null;
      int splitSize = 135;
      int totalSize = 140;
      int totalSegments = 0;

      RegisteredDelivery registeredDelivery = new RegisteredDelivery(SMSCDeliveryReceipt.DEFAULT);

      GeneralDataCoding dataCoding = new GeneralDataCoding(false, false, MessageClass.CLASS1,
      Alphabet.ALPHA_8_BIT);
      ESMClass esmClass = new ESMClass();

      if (message != null && message.length() > totalSize)
      {
      totalSegments = getTotalSegmentsForTextMessage(message);
      }

      Random random = new Random();
      OptionalParameter sarMsgRefNum = OptionalParameters.newSarMsgRefNum((short) random.nextInt());
      OptionalParameter sarTotalSegments = OptionalParameters.newSarTotalSegments(totalSegments);

      String segmentData = splitIntoStringArray(message, splitSize, totalSegments);

      msgId = new String[totalSegments];
      for (int i = 0, seqNum = 0; i < totalSegments; i++)
      {
      seqNum = i + 1;
      OptionalParameter sarSegmentSeqnum = OptionalParameters.newSarSegmentSeqnum(seqNum);
      try
      { byte byteText = segmentData[i].getBytes("UTF-16BE");
      msgId[i] = session.submitShortMessage("", TypeOfNumber.NATIONAL,
      NumberingPlanIndicator.ISDN, "9999999999", TypeOfNumber.NATIONAL,
      NumberingPlanIndicator.ISDN, MSISDN, esmClass, (byte) 0, (byte) 0, timeFormatter
      .format(new Date()), null, registeredDelivery, (byte) 0, dataCoding, (byte) 0, byteText, sarMsgRefNum, sarSegmentSeqnum, sarTotalSegments);

      System.out.println("Message id for segment " + seqNum + " out of totalsegment "
      + totalSegments + "is" + msgId[i]);

      }
      catch (PDUException e)
      {
      System.out.println("PDUException has occured" + e.getMessage());
      }
      catch (ResponseTimeoutException e)
      {
      System.out.println("ResponseTimeoutException has occured" + e.getMessage());
      }
      catch (InvalidResponseException e)
      {
      System.out.println("InvalidResponseException has occured" + e.getMessage());
      }
      catch (NegativeResponseException e)
      {
      System.out.println("NegativeResponseException has occured" + e.getMessage());
      }
      catch (IOException e)
      {
      System.out.println("IOException has occured" + e.getMessage());
      }
      }
      session.unbindAndClose();
      return msgId;
      }

      private SMPPSession getSession() throws Exception
      {
      return newSession();
      }

      private SMPPSession newSession() throws Exception
      {
      BindParameter bindParam = new BindParameter(BindType.BIND_TX, "<user_name>", "<pass_word>", "tdd",
      TypeOfNumber.UNKNOWN, NumberingPlanIndicator.UNKNOWN, null);

      return new SMPPSession("17.1.1.1", 6666, bindParam);
      }

      public int getTotalSegmentsForTextMessage(String message)
      {
      int splitPos = 135;
      int totalsegments = 1;
      if (message.length() > splitPos)
      {
      totalsegments = (message.length() / splitPos) + ((message.length() % splitPos > 0) ? 1 : 0);
      }
      return totalsegments;
      }

      public String splitIntoStringArray(String msg, int pos, int totalSegments)
      {
      String segmentData = new String[totalSegments];
      if (totalSegments > 1)
      {
      int splitPos = pos;

      int startIndex = 0;

      segmentData[startIndex] = new String();
      segmentData[startIndex] = msg.substring(startIndex, splitPos);

      for (int i = 1; i < totalSegments; i++)
      {
      segmentData[i] = new String();
      startIndex = splitPos;
      if (msg.length() - startIndex <= pos)
      {
      segmentData[i] = msg.substring(startIndex, msg.length());
      }
      else
      {
      splitPos = startIndex + pos;
      segmentData[i] = msg.substring(startIndex, splitPos);
      }
      }
      }
      return segmentData;
      }

      public static void main(String args) throws Exception
      {
      SendLongSMSMessage slSMS = new SendLongSMSMessage();

      String message = "Tech Dive heralds the arrival of a community of Developers "
      + "who share, collaborate and exchange ideas, concepts, technical know-how. "
      + "This forum lets you take a deep dive in technical topics that are hot and happening as well as on legacy systems."
      + "The idea of the forum is to ensure collaboration amongst developers through exchange of ideas/concepts "
      + "so their technical skills are enhanced."
      + "We plan to bring in experienced professionals on board so content/blog written is authentic and precise."
      + "Come, join us and be a part of new way of collaboration!";

      String MSISDN = "9500000000";

      String senderAddr = "8500000000";

      slSMS.submitLongSMS(MSISDN, senderAddr, message);
      }
      }






      smpp jsmpp






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 18 '18 at 19:44









      Anjay RanjithAnjay Ranjith

      84




      84
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53364778%2fsmpp-sms-send-long-sms%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53364778%2fsmpp-sms-send-long-sms%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to send String Array data to Server using php in android

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Is anime1.com a legal site for watching anime?