Re: %b parameter question

Bruno David Rodrigues <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <1023406053.396.17.camel@davi>
On Tue, 2002-06-04 at 18:44, Avner Sternheim wrote:
> > Hi all,
> > 
> > I've encountered a problem while using %b parameter in the SMS-service
> > section in the configuration file,
> > while using this option I can't redirect the message to different URL,
> > since the Kannel can't read the the keyword (the first word in the
> > message) that according to it the Kannel redirect the message.
> > 
> > Is there a known fix ? workaround ? another paramter ?

There might be some kind of bug.

Kannel looks for how many %s (or %k,%r,%a) exists to know how
many words should be present to use that service.

If you only use %b, it might now work. (Sorry, I'm now too tired
to look at the code).

You could try to use "catch-all = true" in service config, 
or else just use url = http://...?text=%a&raw=%b. 
That one works with me.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.