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