--
You received this message because you are subscribed to a topic in the Google Groups "jsmpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jsmpp/QttlFTcTTQE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jsmpp+un...@googlegroups.com.
To post to this group, send email to js...@googlegroups.com.
Visit this group at http://groups.google.com/group/jsmpp.
For more options, visit https://groups.google.com/d/optout.
It is not possible to send a message greater than 254 characters in smpp, if you want to send a mesage having more than 254 characters, then you have to break it into multiple segments. In which each segment can have max to max 254 characters.
There are three ways by which you can send a large message,
1. Use mesage payload TLV in which you can send a message of any length.
2. Use SAR TLVs i.e. sar_msg_refnum, sar_segment_seqnum, sar_total_segments which identifies each segment of a single message properly...
3. Use UDHI i.e. user data header indicator for the same
Not a single character will be missed with all the options I have specified in previous mail.
You just have to make fragments of a single message e.g. if you want to send a message of 258 characters then devide the message into 2 fragments one fragmebt of 254 character and another with 4 characters (254+4).
Hi Gargi,
The SubmitMultiSM is similar to submitSm only, the only difference is using submitMultiSm you can specify multiple recipient for the same message and then it becomes SMSC's responsibility that it should send the same message to all the recipients specified in destination address.
Using SubmitMultiSm won't solve your problem because with this also you can not send a message having length more than 254.
As I have told you earlier, you have to use any one of the option among the options I have explained you in prevuous mail.
Hello Gargi,
In jsmpp jar, you will find a class called optional parameters and as you know while submitting a message one can provide any number of optional parameters.
So using an optinal parameter you can create a TLV I.e. message_payload tlv. This tlv has a constant tag which you can find in smpp specification.
So create an optinal parameter I.e. message payload tlv with specified tag and a value I.e. your long message and its length and add it while submitting the message and make sure that the submitSm should not contain any message in its body the whole message should be present in tlv only.