thanx for opening my message. I have a few problems running my kannel system. And I hope, that you can and be so kind to help me!
Here they are: 1. My English is not so good 2. I have no experience with UNIX or Linux 3. I have no technical background, how to run a sms gateway 4. I am a absolut Newbie
Now my real problem with Kannel:
0. I want to build up a system that can receive sms incl. keywords and answers them with different texts from a php-application.
1. I have installed cygwin on my WIN-XP! It works! Do not ask me how I did that!
2. I have installed kannel on my system and it also seems to works
3. I have bought a datalink cable for my Siemens ME45 and connect the phone withmy PC
4. I try to configure the smskannel.conf
5. I start ./bearerbox -v -1 smskannel.conf
6. and then ./smsbox -v -1 smskannel.conf
7. anything seems to work. i only got one warning: "DLR: using the default 'internal" for storage type
8. and one "bad" info: "modemtype not found, revert to autodetect."
9. Now I sent a sms to the connected phone, but nothing happend, after it recieved it! I thaught I have to get automatic answer!
Here is my configfile (smskannel.conf). The most of it, I copy from differnt examples from the net:
**********************************************************************
group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" #log-file = "/tmp/kannel.log" #log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" unified-prefix = "00358,0" #access-log = "access.log" #store-file = "kannel.store" #ssl-certkey-file = "mycertandprivkeyfile.pem"
# SMSC CONNECTIONS group = smsc smsc = at2 smsc-id = SiemensME45 modemtype = siemens-me45 speed = 19200 device = COM1 pin = 181275
# SMSBOX SETUP
group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 #sendsms-chars = "0123456789 +-" #log-file = "/tmp/smsbox.log" #log-level = 0 #access-log = "access.log"
# MODEMS CONFIGURATION group = modems id = siemens_me45 name = "Siemens ME45" detect-string = "SIEMENS" detect-string2 = "ME45" init-string = "AT+CNMI=1,2,0,0,1" enable-hwhs = "AT\\Q3" need-sleep = true no-pin = false no-smsc = false sendline-sleep = 100 keepalive-cmd = "AT" broken = false message-storage = "SM" enable-mms = false
# SEND-SMS USERS
group = sendsms-user username = tester password = foobar #user-deny-ip = "" #user-allow-ip = ""
group = sendsms-user username = kannel password = rL4y user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1"
# SERVICES
group = sms-service keyword = nop text = "You asked nothing and I did it!"
group = sms-service
keyword = relay
get-url = "http://localhost:15130/sms?user=kannel&pass=rL4y&from=%p&to=%P&text=%r"
max-messages = 0
group = sms-service keyword = default text = "No service specified"
**********************************************************************
Hope you can help me! Sorry for my bad english and my bad skill.
Thanx Markus
_________________________________________________________________
MSN Hotmail� - �Absolut kostenfrei! Der weltweit gr��te E-Mail-Anbieter im Netz: http://www.msn.de/hotmail
