Message getting truncated
Posted: Mon Jun 24, 2019 8:54 am
We are currently using the Inetlab.SMPP for a USSD application, currently the application can receive request and send request. When the message gets to the user end, it always truncated at the 102nd character.
Below is the code currently being used.
Below is the code currently being used.
Code: Select all
var text = string.Format("1|121:{0}|123:{1}|110:{2}|116:{3}", Util.ToBase64(sessOut.Message),
Util.ToBase64(resp), Util.ToBase64(sessionId), Util.ToBase64("1"));
var builder = SMS.ForSubmit().From(data.DestAddr)
.To(data.SourceAddr)
.Text(text).ServiceType(data.ServiceType).Coding(data.DataCoding)
.AddParameter(OptionalTags.UssdServiceOp, new byte[] { respOut })
.AddParameter(OptionalTags.ItsSessionInfo, sessionString);