Glad that helped! Sadly I don't have an explanation for the error you are seeing, can you paste a typical output from your service? Is it possible for your service to not output any answer and see if that fixes your problem?
Regards, Juan L On 28/12/2012, at 22:37, Aldo Zavala <[email protected]> wrote: > I used to have this: > max-messages = 2 > omit-empty = true > > And now after changed it to max-messages = 0 it finally made the trick you > are right... I failed to read again the docs... I just did't consider that > it's necessarily to read it again after upgrade my opensmpp, bearerbox, > sqlbox to latest SVN... but considering that many things can change from one > *old* version to latest... I should do it... again thanks! > > By the way the smsbox log line: "ERROR: Failed to convert msgdata from > charset <UTF-8> to <UTF-8>, will leave as is." is still appearing.. even > when I setup all my php.ini and inetrnal variables to use UTF-8, also I put > this on kannel: "alt-charset = UTF-8" > > Any idea what causes that? > > Thanks again! > > > Aldo Zavala > > ________________________________________ > From: Juan Luis Gómez Correa [[email protected]] > Sent: Friday, December 28, 2012 7:00 PM > To: Aldo Zavala; [email protected] > Subject: Re: smsbox: Failed to convert msgdata from charset <UTF-8> to <UTF-8> > > 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 > >
