Stefano Baronio wrote:
> 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 ?
The User's Guide is worth reading, it says (Table 5-4. Parameters (Escape
Codes)):
%a all words of the SMS message, including the first one
So the line
url = "http://test.domain.com/uview?call=play.Kannel&sender=%p&text=%a"
should do the trick.
--
Tuomas Luttinen
Application Developer -- Reach U
**************