<p></p>
<p>I created PR that resolve this issue.<br>
To trim spaces I used the module function <code>lost_trim_content</code>.<br>
This trim string and add <code>\0</code> ad the end of the string.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2569#issuecomment-737403184">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZK3BUI2IQ2Q7I6H7ULSSZ7J7ANCNFSM4UHW5LHQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJFXL2WP467EY6UUDDSSZ7J7A5CNFSM4UHW5LH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFPZ6CMA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2569#issuecomment-737403184",
"url": "https://github.com/kamailio/kamailio/issues/2569#issuecomment-737403184",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>