Hi,

recently I've updated a box from kannel 1.4.5 to 1.5.0-trunk, as a drop in replacement for a box that basically acts as SMPP client and forwards all messages to an HTTP gateway (as an sms-service). The HTTP gateway returns empty content (just 202 Accepted) and omit-empty is true.

In 1.4.5 this worked fine, but in current trunk there is a strange effect: For each inbound message there is an error: ERROR: Failed to convert msgdata from charset <utf-8> to <UTF-8>, will leave as is. and then a message is returned 'Result could not be represented as an SMS message.'

Inspection of the http response shows a Content-Length of 0, and other parameters seem to be honored correctly (for instance, I could set X-Kannel-Mclass to 0 for testing).

I also tried setting 'assume-plain-text' to bypass the conversion, but to no avail.

This seems like a regression of sorts, and I'm searching through the source to figure out where this happens. Any hints/pointers would be welcome though.

--
Yours sincerely,
Florian Overkamp

Reply via email to