<p></p>
<p dir="auto">Hello,</p>
<p dir="auto">seems to me that if cellphone sends an SMS shorter than 3 characters (eg: "aa") it is sent as empty string</p>
<p dir="auto">this maybe because of some snafu in PDU "payload" management in smsops_impl.c , pointer arithmetic between different characters' coding (ASCII, UTF8, UCS2, etc)</p>
<p dir="auto">(tested with OnePlus 5t, 6t, Open5GS, SRSRAN)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3211">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIKJ5LWGIQ3FBKW3JDVYJDU3ANCNFSM56ASB6JA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZO4ZLUAYP3K54SISJLVYJDU3A5CNFSM56ASB6JKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4T3WRQFQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3211</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3211",
"url": "https://github.com/kamailio/kamailio/issues/3211",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>