Queued for later delivery results while Sending SMS Using Kannel Sms Gateway and GSM modem SIM900A
Anjaly Kurian <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi I a setting up Kannel SMS gateway (Version 1.4.4) Using Cygwin in Windows. I am Using GSM modem "SIM900A" for sending SMS’s. When I am sending sms it shows “3.Queued For later delivery”. I think my Bearerbox and Smsbox are running Correctly. When am sending a message , the bearerbox.log file shows the following.. 2014-09-23 17:25:13 [4272] [7] DEBUG: Routing failed, re-queued. 2014-09-23 17:25:13 [4272] [7] DEBUG: sms_router: time to sleep 30.00 secs. I don’t Understand where is my problem..Any one please help me.. I am attaching kannel.conf, and modems.conf files -- With regards, Anjaly Kurian
kannel.conf
(text/plain, 3.9 KB)
# # THIS IS A SAMPLE CONFIGURATION FOR KANNEL # # For any modifications to this file, see Kannel User Guide # If that does not help, send email to [email protected] # group = core admin-port = 13000 admin-password = bar smsbox-port = 13001 #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/Kannel/log/bearerbox.log" log-level = 0 #dlr-storage = mysql #access-log = "access.log" #http-proxy-host = "127.0.0.1" #http-proxy-port = 8080 #http-proxy-exceptions = "127.0.0.1" #http-proxy-username = "user" #http-proxy-password = "password" #ssl-certkey-file = "mycertandprivkeyfile.pem" # SMSC SMPP #group = smsc #smsc = smpp #host = 127.0.0.1 #port = 10000 #receive-port = 16400 #smsc-username = kannel #smsc-password = kannel #system-type = type #address-range = # SMSC GSM group = smsc smsc = at #modemtype = auto device = /dev/ttyS0 pin = 1234 smsc-id = MDM #validityperiod = 167 log-file = "/Kannel/log/smsc.log" smsc-username = kannel smsc-password = kannel # SMSC Fake #group = smsc #smsc = fake #host = #port = 10000 #connect-allow-ip = 127.0.0.1 #log-file = "/Kannel/log/smsc.log" # SMSC HTTP #group = smsc #smsc = http #system-type = kannel #send-url = #port = #connect-allow-ip = #username = #password = # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 bearerbox-port = 13001 sendsms-chars = "0123456789 +-" global-sender = +918129113929 log-file = "/Kannel/log/smsbox.log" log-level = 0 #access-log = "access.log" #white-list = #black-list = #reply-couldnotfetch = #reply-couldnotrepresent = #reply-requestfailed = #reply-emptymessage = smsbox-id = smsc1 group = smsbox-route smsbox-id = smsc1 smsc-id = MDM # SEND-SMS USERS group = sendsms-user username = tester password = foobar #user-deny-ip = "" #user-allow-ip = "" # this sender is for Kannel relay testing (http_smsc) group = sendsms-user username = kannel password = rL4y user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1" #name = service_kannel #forced-smsc = ID #default-smsc = ID #faked-sended = #max-messages = 1 #concatenation = 1 #split-chars = #split-suffix = #omit-empty = #header = #footer = #allowed-prefix = #denied-prefix = #white-list = #black-list = # SMS SERVICES #group = sms-service #name = nothing #keyword = nop #aliases = "noppy;niente" #text = "You asked nothing and I did it!" #get-url = "http://" #post-url = "http://" #file = "/tmp/" #accepted-smsc = ID #allowed-prefix = #denied-prefix = #catch-all = false #send-sender = false #strip-keyword = false #faked-sender = #max-messages = 1 #accept-x-kannel-headers = false #assume-plain-text = false #concatenation = false #split-chars = #split-suffix = "+" #omit-empty = true #header = #footer = #prefix = #suffix = #white-list = #black-list = # SMS SERVICE GET-URL EXAMPLE #group = sms-service #keyword = relay #get-url = "http://localhost/service?phone=%p&text=%r&binary=%b&smsc=$i&time=%t # SMS SERVICE black-list #group = sms-service #keyword = black-list #text = "You are not alowed to use this service, Go away!" # SMS SERVICE Default # there should be default always group = sms-service keyword = default text = "No service specified" include = /Kannel/cfg/modems.conf #mysql connection #group = mysql-connection #id = sqlbox-db #host = localhost #username = root #password = #database = kanneldb #max-connections = 10 # DLR SETUP #mysql connection #group = mysql-connection #id = mydlr #host = localhost #username = root #password = #database = kanneldb #max-connections = 10 #group = dlr-db #id = mydlr #table = kannel_dlr #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
modems.conf
(text/plain, 2.9 KB)
# Modems configuration # # Example and default values # # group = modems # id = "my-id" # name = "my-name" # detect-string = "MODEM" # detect-string2 = "" [Default] # init-string = "AT+CNMI=1,2,0,0,0" [Default] # speed = 9600 [Default] # enable-hwhs = "AT+IFC=2,2" [Default] # need-sleep = false [Default] # no-pin = false [Default] # no-smsc = false [Default] # sendline-sleep = 100 [Default, miliseconds] # keepalive-cmd = "AT" [Default] # broken = false [Default] # message-storage = "SM" # enable-mms = false [Default] # If modemtype=auto, try everyone and defaults to this one group = modems id = MDM name = "Generic Modem" group = modems id = wavecom name = Wavecom detect-string = "WAVECOM" group = modems id = simcom name = Simcom detect-string = "SIMCOM" group = modems id = premicell name = Premicell detect-string = "PREMICEL" no-pin = true no-smsc = true group = modems id = siemens_tc35 name = "Siemens TC35" detect-string = "SIEMENS" detect-string2 = "TC35" init-string = "AT+CNMI=3,2,0,1,1" speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true reset-string = "AT+CFUN=1" keepalive-cmd = "AT+CSQ" group = modems id = siemens_m20 name = "Siemens M20" detect-string = "SIEMENS" detect-string2 = "M20" speed = 19200 enable-hwhs = "AT\\Q3" keepalive-cmd = "AT+CBC;+CSQ" need-sleep = true group = modems id = siemens_sl45 name = "Siemens SL45" detect-string = "SIEMENS" detect-string2 = "SL45" init-string = "AT+CNMI=1,2,2,2,1" keepalive-cmd = "AT+CBC;+CSQ" speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true message-storage = "SM" group = modems id = nokiaphone name = "Nokia Phone" detect-string = "Nokia Mobile Phone" need-sleep = true keepalive-cmd = "AT+CBC;+CSQ" enable-mms = true group = modems id = falcom name = "Falcom" detect-string = "Falcom" #no-smsc = true group = modems id = ericsson_r520m name = "Ericsson R520m" detect-string = "R520m" init-string = "AT+CNMI=3,2,0,0" group = modems id = ericsson_t68 name = "Ericsson T68" detect-string = "T68" init-string = "AT+CNMI=3,3" keepalive-cmd = "AT+CBC;+CSQ" broken = true group = modems id = sonyericsson_gr47 name = "Sony Ericsson GR47" detect-string = "GR47" message-storage = "ME" # use this init-string for non sim-buffering init-string = "AT+CNMI=3,2,0,0" # use this init-string for sim-buffering #init-string = "AT+CNMI=3,1,0,0" reset-string = "ATZ" broken = true group = modems id = alcatel name = "Alcatel" detect-string = "Alcatel" init-string = "AT+CNMI=3,2,0,0" group = modems id = sonyericsson_T630-T628 name = "Sony Ericsson T630-T628? init-string = "AT+CNMI=2,3,2,0,0;+CMGF=0? keepalive-cmd = "AT+CBC;+CSQ;+CMGF=0? broken = true group = modems id = sonyericsson_p1i name = "Sony Ericsson P1i" detect-string = "Sony Ericsson P1i" init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" message-storage = "SM" reset-string = "ATZ" broken = true