forwarded to the list.

Stipe

mailto:[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG

M�nsterstr. 248
40470 D�sseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:[EMAIL PROTECTED]
http://www.wapme-systems.de/
-------------------------------------------------------------------

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.2 (Cygwin)

mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-----END PGP PUBLIC KEY BLOCK-----
--- Begin Message ---
Hi Joseph

SOrry to bother you like this, but I am new to this
and don't know how to get kannel to work. I have sent
a message to the kannel mailing list with subscribe in
the subject, but didn't get any reply.

Basically I want to get to know how kannel works and I
have just read all teh user documentation. I have just
bought a siemens MC35i and connected it to a linux box
runing Redha Linux 9.0. I am including my kannel.conf
file as an attachment. I would appreciate any help you
could give me.


What I want to do is just receive a text message and
look at some of the parameters like the sender's phone
number, etc. I have written a java servlet which just
reads the parameters from the url and writes them to a
database. The servlet works if you manually enter the
url with a query string.

However, when I send a text message to this number, i
don't get anything in any of the log files or in my
database and I am just wondering if I am doing the
write thing.

The way I undestand kannel is that you define an
sms-service and specify a url to fetch when a message
is received. Now, i don't want to fetch a url. I just
want to see the sender's details and the message. The
modem seems to work fine.

I look forward to hearing from you.

Mnay thanks

James

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
#
# THIS IS A CONFIGURATION FOR SMS KANNEL
#
# It is run like this:
#
#  1% bearerbox -v 1 /etc/kannel/kannel.conf
#  2% smsbox -v 1 /etc/kannel/kannel.conf
#  3% wapbox -v 1 /etc/kannel/kannel.conf
#  4% test/fakesmsc -p 10000 -H localhost -i 1 -m 100 "123 345 text nop"
#
 # ..all 3 commands in separate shells (or screen sessions)
#
# For any modifications to this file, see Kannel User Guide 
# If that does not help, send email to [EMAIL PROTECTED]

#----------------------
#CORE GROUP settings
#----------------------
group = core
admin-port = 13000
smsbox-port=13001
wapbox-port = 13002
admin-password = helloworld
status-password = helloworld
admin-allow-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1;195.82.43.*"
#admin-deny-ip = ""
wdp-interface-name = "*"
log-level = 5
log-file = "/var/log/kannel.log"
box-allow-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1;200.100.0.*"
#box-deny-ip = "*.*.*.*"
unified-prefix = "+44,0"
access-log = "/var/log/kannel.access"
store-file = "/var/log/kannel.store"
include = "/etc/kannel/modems.conf"
#ssl-certkey-file = "mycertandprivkeyfile.pem"


#--------------
#WAPBOX config
#--------------
group = wapbox
bearerbox-host = localhost
log-level = 5
log-file = "/var/log/wapbox.log"



#--------------
#SMSBOX config
#--------------
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
sendsms-chars = "0123456789 +-"
log-level = 5
log-file = "/var/log/smsbox.log"
access-log = "/var/log/kannel.access"


#---------------
# SEND-SMS USERS
# One can define 
# several of these
# groups
#---------------
group = sendsms-user
username = boo
password = boo
#user-deny-ip = "*.*.*.*"
user-allow-ip = "*.*.*.*"


#----------------------------------------------------
# this sender is for Kannel relay testing (http_smsc)
#----------------------------------------------------
group = sendsms-user
username = kannelrelay
password = kannelrelay
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"


#--------------------------------------
#       SMS CENTER
#--------------------------------------
#GSM modem used as an SMS center 
#for sending and receiving SMS messages
#---------------------------------------
group = smsc
smsc = at
validityperiod = 167
modemtype = siemens_mc35
#modemtype = siemens_tc35
device = /dev/ttyS1
#pin = 5555
smsc-id = siemens_mc35
#smsc-id = siemens_tc35

#-----------------------------------------------------------
#       SERVICES FOR INCOMING MESSAGES
#       These groups define SMS Services in the smsbox
#       Each service is recognized from the first word in an 
#       SMS message and by the number of arguments accepted 
#       by the service configuration
#-----------------------------------------------------------
#-----------------------------------
# 
# General Discussions 
#-----------------------------------
group = sms-service
keyword = talk
get-url = 
"http://kings.mydomain.net/sms/GetMessage.jsp?keyword=%k&sender=%q&receiver=%Q&time=%t&smsc-id=%i&deliveryreport=%d&sendsms-user=%n&message=%r";
omit-empty = true
max-messages = 0




#-----------------------------------------------------------
# this service is for Kannel relay testing, when this Kannel
# works as relay gateway
#-----------------------------------------------------------
group = sms-service
keyword = relay
get-url = 
"http://localhost:15130/sms?user=kannelrelay&pass=kannelrelay&from=%p&to=%P&text=%r";
max-messages = 0

#------------------------------------------
# Default group
#------------------------------------------
# There should always be a default group
# If the incoming message is not routed to 
# any other service, default 'sms-service' 
# group is used
#------------------------------------------
group = sms-service
keyword = default
text = "No service specified"

--- End Message ---

Reply via email to