Try %a (for all)

BTW: I have a local patch that adds the ME phone number
into a X-Kannel header. Anybody interested in this minor
addition? It's useful for us...

MfG
  Joerg

 > -----Ursprüngliche Nachricht-----
 > Von: Stefano Baronio [mailto:[EMAIL PROTECTED]]
 > Gesendet am: Donnerstag, 26. Juli 2001 18:36
 > An: Tuomas Luttinen; Stefano Baronio
 > Cc: devel@kannel
 > Betreff: R: keyword on sms-service
 > 
 > Thanks Thomas, thanks Andrea,
 >      but I can't find my mistake. This is the config part 
 > for the sms-box and
 > service:
 > 
 > group = smsbox
 > bearerbox-host = localhost
 > sendsms-port = 13013
 > global-sender = SMSC-TORINO
 > #sendsms-chars = "0123456789 +-"
 > log-file = "/var/log/kannel/smsbox.log"
 > log-level = 0
 > access-log = "/var/log/kannel/access.log"
 > max-messages=0
 > 
 > #group = sms-service
 > #keyword = nop
 > #text = "You asked nothing and I did it!"
 > 
 > group = sms-service
 > keyword = default
 > url = 
"http://test.domain.com/uview?call=play.Kannel&sender=%p&text=%r";
#
group = sendsms-user
username = test
password = test
faked-sender = +393481234567

Both %s and %r cut the first sms word. I can see this from the smsbox logs.
Any idea ?

Thank you
Stefano

Stefano Baronio wrote:

> hello everybody,
>       I'm trying to set up the java applet in order to receive sms from
kannel,
> but I don't use any keyword in the message. Is there a way to handle all
the
> sms words and send them to the url specified ? Maybe, with a parameter not
> listed on the docs...
> I'm using kannel 1.0.3. Do I have to upgrade to devel version ?

There is a special keyword "default" for this; it is used when there is no

other keyword that matches. So leave only the keyword "default" in your

configuration file and set it to point to the URL where your applet is
running.


Something like this:

group = sms-service
keyword = default
url = "http://my.applet.machine/Servlet/kludge2?sender=%p&text=%r";


--
Tuomas Luttinen
     Application Developer -- Reach U
         **************



Reply via email to