hi all, thanks for your continued support. however, i am still not able to receieve incoming messages in kannel. i am not talking delivery reports. i am talking about sending a message to the sim card in the huawei E620 modem connected to kannel. i would like help on how i can be able to view the messages sent to the number i am using for kannel. i am able to send by calling the URL; http://localhost:13013/cgi-bin/sendsms?username=kannel&password=kannel&to=0977875812&from=kali&text=TEST is there a special url i can use for receiving as is the case for sending? also, Find attached my config file for your review and assist in case i am missing an important setting that can allow me to achieve this. regards Kali Lupenga Head - Operations & IT Savannacom LTD Lusaka. On 05/09/2012 12:12 PM, spameden wrote: you need to add 2 parameters, dlr-url & dlr-mask to receive DLR (Delivery reports) messages from your smsc. |
# The Core Group (BearerBox) .................................... group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = "/var/log/kannel/bearerbox.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1"
include = "/etc/kannel/smpp.conf" include = "/etc/kannel/smsbox.conf" include = "/etc/kannel/smsuser.conf" include = "/etc/kannel/smsservices.conf" include = "/etc/kannel/modems.conf" # The SMSC Connections ........................................... group = smsc smsc = at smsc-id = bms #modemtype = auto modemtype = "huawei" device = /dev/ttyUSB_utps_modem speed = 9600 my-number = +260962424244 sms-center = "+26096060015" allowed-smsc-id = bms preferred-smsc-id = bms #validityperiod = 167 sim-buffering = true #keepalive = 5 # SMS Service Group group = sms-service keyword = default text = "No services defined" get-url = "http://localhost/playsms/web/plugin/gateway/kannel/geturl.php?keyword=%k&keyword_2=%s&keyword_3=%r&mobile_num=%p&scode=%P&t=%t&q=%q&a$$ omit-empty = true # modems group = modems id = huawei name = "huawei E620" detect-string = "E620" init-string = "AT+CNMI=1,2,0,1,0" #init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" #init-string = "AT+CNMI=1,2,0,1,0" speed = 115200 #message-start = 0 message-storage = "sm" # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 sendsms-chars = "0123456789 +-" log-file = "/var/log/kannel/smsbox.log" log-level = 4 http-request-retry = 5 # sms users group = sendsms-user username = kannel password = kannel concatenation = true user-allow-ip = "*.*.*.*" forced-smsc = bms