Hi Aldo, as you can see from the docs:

"This service grabs any SMS with two words and 'www' as the first
     word, and then does an HTTP request to an URL which is taken from
     the rest of the message. Any result is sent back to the phone
     (or requester), but is truncated to the 160 characters that will
     fit into an SMS message, naturally."

So, the problem you're facing is that kannel is trying to "parse" your
service answer as an SMS, and assuming it's an html, then kannel can't
convert this answer to an SMS hence the error SMS you're receiving.

To avoid this problem your service must not output any answer, then add
this variables to the sms-service group:

max-messages = 0

omit-empty = true



Hope this helps!


Juan L


On 12/28/12 7:57 PM, "Aldo Zavala" <[email protected]> wrote:

>am I the only one that has faced this situation...? come on...
>
>thanks guys!
>
>
>Aldo Zavala
>________________________________________
>From: Aldo Zavala
>Sent: Monday, December 17, 2012 11:25 AM
>To: [email protected]
>Subject: smsbox: Failed to convert msgdata from charset <UTF-8> to <UTF-8>
>
>Hi, I am constantly getting this message: "Failed to convert msgdata from
>charset <UTF-8> to <UTF-8>" from the smsbox.log, it happens after execute
>a sms service, the process flow works as bearerbox executes the remote
>server script, the remote server process the information and request a
>sms submission back to bearerbox and then smsbox generated these log
>files and it sends the service SMS plus an annoying message that says:
>"Result cannot be represented as an SMS message" every time. Could this
>be a bug?
>
>Thanks in advance!
>
>Aldo Zavala
>
>



Reply via email to