i have set up kannel to receive messages from the GSM modem route them to smpp.My configuration file looks like this:
# # Sample configuration file for Kannel bearerbox on Debian. # See the documentation for explanations of fields. # # HTTP administration is disabled by default. Make sure you set the # password if you enable it. #----------------------------- #Core Group, the bearer box #----------------------------- group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar dlr-storage = mysql #^^internal - in memory admin-deny-ip = "*.*.*.*" admin-allow-ip = "" wapbox-port = 13002 wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" access-log = "kannel.log" #unified-prefix = "+254 #------------------------------- # SMSBox Group # Helps configure the part of the system that dispatches # SMSes received by the core SMS or receives SMSes before # they are sent out. #------------------------------- group = smsbox bearerbox-host = localhost sendsms-port = 6013 global-sender = 6013 #sendsms-url = log-file = "/var/log/smsbox.log access-log = "kannel.access" log-level = 0 #------------------------------- # Send SMS User # Allows an application to send SMS messages # using the kannel. #------------------------------- group = sendsms-user username = nmvictor password = nmvickyssmsaccess concatenation = true default-smsc = HUWAEI-E220 max-messages = 10 #------------------------------- # SMS Service Group # Configures how the kannel gets messages to your # application. #------------------------------- group = sms-service keyword = estudent accepted-smsc = HUWAEI_E220 catch-all = yes max-messages = 0 get-url = "http://localhost/sms?phone=%p&text=%a" #-------------------------------- # MYSQL Connection #-------------------------------- group = mysql-connection id = mydlr-db host = localhost username = -------------- password =------------------ database = ESTUDENTS max-connections = 1 #------------------------------- # DLR Table Structure #------------------------------- group = dlr-db id = mydlr-db table = estudent_delivery_report field-smsc = smsc field-timestamp = timestamp field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc_id #--------------------------- # SMPP Connection #--------------------------- group = smsc smsc = smpp smsc-id = SMS-In system-type = 'VMA' port = 2775 #receiver-port = 1000 transceiver-mode = 1 host = 127.0.0.1 smsc-username = '-------r' smsc-password = '--------' my-number = 3333 connect-allow-ip = "127.0.0.1" log-level = 0 #----------------------------- # GSM modem Configuration #----------------------------- group = smsc smsc = at preferred-smsc-id = SMS-In smsc-id = Huawei-E220-Modem speed = 9600 #pin = 3717 pin = 6529 modemtype = HUAWEI_E220 device = /dev/ttyUSB1 keepalive = 10 #my-number =------------- my-number = -------------- sms-center = --------------- host = "127.0.0.1" port = 1000 connect-allow-ip = "127.0.0.1 log-level = 0 #------------------------------------------ # SMS-Routing # Huawei-E220-Modem ---> SMPP #------------------------------------------ group = smsbox-route smsbox-id = HUWAEI_E220 smsc-id = SMS-In # THE HUAWEI E220 MODEM #----------------------------- group = modems id = HUAWEI_E220 detect-string = "huawei" init-string = "ATQ0 V1 E1 S0=0 &D2 +FCLASS=0" speed = 9600 message-storage = sm ## SETTINGS FOR WAP PUSH, NOT IN A HURRY!!! group = wapbox bearerbox-host = localhost log-file = "/var/log/kannel/wapbox.log" ------------------------------------------------------------------------------------ My problem is that i when i send the message to the modem, thei is no indication that a message has been received.In fact, as soon as the bearerbox has connected the to smpp and the modem, all i see is an endless version of the lines below repeating over and over 2010-01-03 15:06:25 [6520] [7] DEBUG: AT2[Huawei-E220-Modem]: <-- ^DSFLOWRPT:00002318,00000000,00000000,000000000005B36C,00000000001C6139,0003E800,0000E678 2010-01-03 15:06:27 [6520] [7] DEBUG: AT2[Huawei-E220-Modem]: <-- ^DSFLOWRPT:0000231A,00000000,00000000,000000000005B36C,00000000001C6139,0003E800,0000E678 2010-01-03 15:06:29 [6520] [7] DEBUG: AT2[Huawei-E220-Modem]: <-- ^DSFLOWRPT:0000231C,00000000,00000000,000000000005B36C,00000000001C6139,0003E800,0000E678 2010-01-03 15:06:30 [6520] [7] DEBUG: AT2[Huawei-E220-Modem]: --> AT^M 2010-01-03 15:06:30 [6520] [7] DEBUG: AT2[Huawei-E220-Modem]: <-- AT 2010-01-03 15:06:30 [6520] [7] DEBUG: AT2[Huawei-E220-Modem]: <-- OK 2010-01-03 15:06:31 [6520] [7] DEBUG: AT2[Huawei-E220-Modem]: <-- ^DSFLOWRPT:0000231E,00000000,00000000,000000000005B36C,00000000001C6139,0003E800,0000E678 2010-01-03 15:06:33 [6520] [7] DEBUG: AT2[Huawei-E220-Modem]: <-- ^DSFLOWRPT:00002320,00000000,00000000,000000000005B36C,00000000001C6139,0003E800,0000E678 2010-01-03 15:06:35 [6520] [7] DEBUG: AT2[Huawei-E220-Modem]: <-- ^DSFLOWRPT:00002322,00000000,00000000,000000000005B36C,00000000001C6139,0003E800,0000E678 2010-01-03 15:06:37 [6520] [7] DEBUG: AT2[Huawei-E220-Modem]: <-- ^DSFLOWRPT:00002324,00000000,00000000,000000000005B36C,00000000001C6139,0003E800,0000E678 Anybody tell me whats going on?