In your sms service if you don’t want kannel to reply back set the max-messages 
= 0


 please consider the environment - do you really need to print this email?

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
James Mutuku
Sent: Wednesday, February 18, 2009 17:50
To: [email protected]
Subject: stopping kannel from auto reply

I have setup kannel and I am using a gsm modem as my smsc. I have 
created an sms-service . I am able to receive and send sms, but when 
receiving sms, I am getting a reply back on my phone <empty sms from 
service provider>. I am using get-url to insert messages into mysql 
database, and it's working fine. I want to stop the auto reply. Here are 
my settings. Please tell me what is wrong with my configs.

# Default kannel configuration file
group = core
admin-port = 13000
admin-password = root
status-password = root
#admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1, 
10.2.2.13,192.168.171.99,192.168.171.88,*.*.*.*"
smsbox-port = 13001
#wapbox-port = 13002
#box-deny-ip = "*.*.*.*"
box-allow-ip = "*.*.*.*"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
store-location = "/var/log/kannel/kannel.store"
access-log = "/var/log/kannel/access.log"
log-level = 0
#dlr-storage = mysql

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
sendsms-chars = "0123456789 +-"
#global-sender = 12345
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
#access-log = "access.log"
#white-list =
#black-list =
#reply-couldnotfetch =
#reply-couldnotrepresent =
#reply-requestfailed =
#reply-emptymessage =

# SENDSMS USERS SETUP
group = sendsms-user
username = root
password = root

# SMSC Fake
group = smsc
smsc = fake
port = 10000
#connect-allow-ip = 127.0.0.1

#modem setup

include = "/etc/kannel/modems.conf"

group = smsc
smsc = at
smsc-id = atsmsc1
modemtype = auto
device=/dev/ttyUSB2
#my-number = 254722490994
connect-allow-ip = 127.0.0.1
log-level = 0

# test sms service
group = sms-service
keyword = Test
get-url = 
"http://192.168.100.1/receive.php?from=%p&sms_text=%b&keyword=%k&to=%P";

# SMS SERVICE Default
# there should be default always
group = sms-service
keyword = default
get-url = 
"http://192.168.100.1/receive.php?from=%p&sms_text=%b&keyword=%k&to=%P";


 


Reply via email to