I have the solution. It was provided to me by someone that I
have not received permission from to use his or her name, so I
won't, but they are MORE than welcome to come and take credit for
finding this solution. I am merely the "journalist" in this regard
and am MORE than happy to report how to post custom TLV codes for
SMS!
Here's the simple documentation - this should be all you need
to finish the job:
* Process the outgoing mesage struct and set
optionalParameters that are not
* defined by the SMPP specification.
* See section 5.3 of SMPP.
*
* Two ways to set these values:
* <ol>
* <li> A single value using optionalParamter (no 's')
* out.optionalParamter = 0x1500
* out.optionalParamterValue = "1,2,3,4"
* </li>
* <li> Multiple values using optionalParameters (with
's') and a struct.
* params = StructNew()
* params["0x1501"] = BinaryDecode("1a2b3c4d", "hex")
* params["0x1522"] = CharsetDecode("my value", "utf-8")
* out.optionalParameters = params
* </li>
* </ol>