> I have been using Kannel for around 6 months now. Just a couple
> of questions. Is there any way to disable the "request failed" sms which
> is sent back to the sender if an HTTP url request fails. Is this what
> the upgrade in the dev version 1.1.5 which states better handling of
> HTTP error codes is ?
I imagine so; "request failed" now occurs when there's no translation found,
that is no corresponding sms-service (e.g. no default service, too many %s
parameters). I think previously unless the HTTP status was 200 even
max-messages=0 couldn't stop it. So, in the new scheme of things just make
sure you have a default sms-service set. The situation now is as follows (be
delighted if someone would correct me if I'm wrong)
GET fails / server not available
"Could not fetch content, sorry" unless max-messages = 0 (still appears in
access log)
404 NOT FOUND
"Could not fetch content, sorry" unless max-messages = 0 (still appears in
access log)
Unknown Content-Type (neither text/html nor text/plain)
"Result could not be interpreted as an sms message" unless max-messages = 0
(still appears in access log)
Null body
"Empty reply from service provider" unless max-messages = 0 (still appears
in access log) or omit-empty = 1
No sms-service translation
"Request failed" regardless of configuration