Hi,

GSM modems are not different than mobiles as far as kannel is concerned. Both use a SIM to work. MOs are send to the SIM's phone number and are picked up by bearerbox for further processing.

BR,
Nikos
----- Original Message ----- From: "Harbhag Singh Sohal" <[email protected]>
To: <[email protected]>
Sent: Saturday, September 11, 2010 9:04 AM
Subject: Receiving messages using kannel


I can send messages using kannel and kannel is successfully connected
to the mysql database, but I want to know that how can I receive
messages using kannel and where the received messages will go as I am
not using cellphone as modem, I am using huawei e220 modem. Below is
my current configuration file.

group = core
admin-port = 13015
admin-password = ****
admin-deny-ip = "*.*.*.*"
admin-allow-ip = ""
dlr-storage = mysql
smsbox-port = 13016
#wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
log-level = 1

#group = wapbox
#bearerbox-host = localhost
#log-file = "/var/log/kannel/wapbox.log"

group = smsc
smsc = at
modemtype = auto
device= /dev/ttyUSB0
my-number = ********
connect-allow-ip = 127.0.0.1
log-level = 0

# DLR with MySQL support configuration
group = mysql-connection
id = mydlr
host = localhost
username = ******
password = *******
database = ******

group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-source=source
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

group = modems
id = huawei
name = "Huawei E220"
detect-string = "huawei"
init-string = "ATZ"
init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

group = smsbox
bearerbox-host = **************
sendsms-port = 13017
global-sender = *************
log-level = 0

group = sendsms-user
username = *********
password = *********
concatenation= true
max-messages = 10



Reply via email to