Could not fetch content, sorry.
Joseph Koech
kippontherun at gmail.com
Tue Sep 11 21:00:31 CEST 2012
If you get such a response, try to make sure kannel fetches the required
content. Don't try to hack the core files as this will be overridden in
future versions of kannel when you upgrade. You can leave the
reply-couldnotfetch string empty if you don't want a response (as suggested
by Rudy) or pass a custom 'reply-couldnotfetch' string if you would like to
get a response when kannel fails to fetch the url content.
On Tue, Sep 11, 2012 at 5:48 PM, Rudy Matela <rudy at matela.com.br> wrote:
> Hello,
>
> Doing a little more research on kannel documentation, I've solved the
> problem. For future reference to someone cheking the log on the list:
>
> If you have omit-empty = true on sms-service and
> on the smsbox group you configure:
>
> reply-couldnotfetch = ""
>
> Kannel will be silent when no content is fetched from the url and will
> reply only if something is found.
>
> Regards,
> Rudy
>
> On Tue, Sep 11, 2012 at 11:31 AM, Rudy Matela <rudy at matela.com.br> wrote:
> > Hello,
> >
> > When configuring an sms-service like this:
> >
> > group = sms-service
> > keyword = default
> > post-url= "http://someserver.example.com/address"
> > omit-empty = true
> >
> > Is there a way to suppress the message "Could not fetch content,
> > sorry." when the url "http://someserver.example.com/address" does not
> > exist? I've searched the web and kannel documentation about the topic
> > and did not find anything.
> >
> > I'd like a service that returns the content of the url when it has
> > content and returns nothing when some "strange" http code is returned
> > (404, 500, 201).
> >
> > Regards,
> > Rudy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.kannel.org/pipermail/users/attachments/20120911/4d02f3c1/attachment.html>
More information about the users
mailing list