I think I can answer my own question. Tested and works.
Not sure it's the best way to do it as I think it should be much more
simple then that.
Thanks for pushing me in a right direction.
If anyone is curious below are the steps to encode:
1) Convert Unicode (UTF-16BE) -> Bytes, NOTE: SPACE ->
Hi,
Does it mean, it cannot be achieved with cgi-bin/sendsms? at all.
Or one has to craft special combination of encoding in metadata?
Let say message-payload is defined as TLV in kannel config.
Can it be achieved with
cgi-bin/sendsms? ...
&coding=2&charset=ucs-2&text=&meta-data=?smpp?message
Hi,
Kannel doesn’t re-encode metadata fields like text field in request. Therefore
you have to
prepare TLV data by yourself and encode to SMSC charset GSM03.38/UCS2 whatever.
Regards,
Alex
Am 26. Mai 2020, 03:00 +0200 schrieb lbrezs...@gmx.co.uk :
> When submitting Unicode message using smpp pro
Not sure why there is no responses. Nobody is facing the same problem?
On 6/8/2020 10:25 AM, lbrezs...@gmx.co.uk wrote:
I cannot submit unicode in TLV parameters as internally Kannel strips 00.
I cannot submit unicode in TLV parameters as internally Kannel strips 00.
Όλα Καλά:
Submitted
00 ce 00 8c 00 ce 00 bb 00 ce 00 b1 00 20 00 ce 00 9a 00 ce 00 b1 00 ce
00 bb 00 ce 00 ac
becomes
ce 8c ce bb ce b1 20 ce 9a ce b1 ce bb ce ac
On 5/25/2020 9:00 PM, lbrezs...@gmx.co.uk wrote:
When
When submitting Unicode message using smpp protocol via regular "text"
field by specifying coding=2 and char-set=utf-8, message is delivered
correctly.
&coding=2&charset=utf8&text=Unicode+Greek+Όλα Καλά
2020-05-25 20:37:03 [24722] [6] DEBUG: short_message:
2020-05-25 20:37:03 [24722] [