Hi, 
my kannel had been working but recently I cannot send SMS from it i.e. all
the SMS are queued: 

============================================= 

lynx -dump "http://localhost:13000/status?password=bar"; 
   Kannel bearerbox version `1.5.0'. Build `Jul 19 2013 18:52:53', 
   compiler `4.7.2 20120921 (Red Hat 4.7.2-2)'. System Linux, release 
   3.3.4-5.fc17.i686.PAE, version #1 SMP Mon May 7 17:37:39 UTC 2012, 
   machine i686. Hostname tumatext-gw, IP 41.78.27.218. Libxml version 
   2.7.8. Using OpenSSL 1.0.0k-fips 5 Feb 2013. Compiled with MySQL 
   5.5.32, using MySQL 5.5.32. Using native malloc. 

   Status: running, uptime 0d 13h 55m 1s 

   WDP: received 0 (0 queued), sent 0 (0 queued) 

   SMS: received 0 (0 queued), sent 0 (0 queued), store size 17 
   SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) 
   msg/sec 

   DLR: received 0, sent 0 
   DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) 
   msg/sec 
   DLR: 0 queued, using internal storage 

   Box connections: 
       smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 13h 54m 52s) 

   SMSC connections: 
       TUMATEXT[TUMATEXT]    AT2[TUMATEXT] (re-connecting, rcvd: sms 0 / 
   dlr 0, sent: sms 0 / dlr 0, failed 0, queued 17 msgs) 

============================================= 

below is my kannel and sqlbox configurations but my sqlbox has never worked: 

============================================= 

=========== 
kannel.conf 
=========== 

#--------------------------------------------- 
# CORE 
#--------------------------------------------- 
group = core 
admin-port = 13000 
smsbox-port = 13001 
admin-password = bar 
#status-password = foo 
admin-deny-ip = "*.*.*.*" 
admin-allow-ip = "127.0.0.1" 
log-file = "/var/log/kannel/bearerbox.log" 
log-level = 0 
box-deny-ip = "*.*.*.*" 
box-allow-ip = "127.0.0.1" 
access-log = "/var/log/kannel/access.log" 
store-file = "/var/log/kannel/kannel.store" 
#THIS DEFINES EXTERNAL DLR STORAGE 
#store-type = mysql 
dlr-storage = internal 

#--------------------------------------------- 
# SMSC CONNECTIONS 
#--------------------------------------------- 
group = smsc 
smsc = at 
modemtype = auto 
device = /dev/ttyACM0 
my-number = 354387xxxxxxxx90 
speed = 460800 
smsc-id = xxx 
log-level = 0 
log-file = "/var/log/kannel/smsc.log" 
log-level = 0 
sim-buffering = true 
#dlr-mask = 1+2 

#--------------------------------------------- 
group = modems 
id = Sony Ericsson 
name = "Sony Ericsson C702" 
detect-string = "Sony" 
#init-string = "ATZ" 
#init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" 
init-string = "AT+CNMI=2,0,0,0" 
message-storage = "SM" 

#--------------------------------------------- 
# SMSBOX SETUP 
#--------------------------------------------- 
group = smsbox 
bearerbox-host = 127.0.0.1 
sendsms-port = 13013 
global-sender = "+2xxxxxxxx584" 
log-file = "/var/log/kannel/smsbox.log" 
log-level = 1 

#--------------------------------------------- 
# SEND-SMS USERS 
#--------------------------------------------- 
group = sendsms-user 
username = tester 
password = foobar 
concatenation = true 
max-messages = 3 

#--------------------------------------------- 
# SERVICES 
#--------------------------------------------- 
group = sms-service 
keyword-regex = .* 
catch-all = true 
max-messages = 3 
omit-empty = true 
catch-all = true 
###THIS HANDLES INCOMING SMS TO PLAYSMS
INBOX##################################################### 
get-url = "
http://localhost/playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a"; 

======================= 
/etc/sqlbox.conf 
======================= 
#sqlbox group 
group = sqlbox 
id = tt-sqlbox 
smsbox-id = sqlbox 
global-sender = "+2xxxxxx584" 
bearerbox-host = 127.0.0.1 
bearerbox-port = 13001 
smsbox-port = 13005 
smsbox-port-ssl = false 
sql-log-table = sent_sms 
sql-insert-table = send_sms 
log-level = 0 
log-file = "/var/log/kannel/sqlbox.log" 

#MySQL Connection 
group = mysql-connection 
id = tt-sqlbox 
host = localhost 
username = root 
password = "" 
database = tt 

=========================== 

Kindly advise on how to resolve this 

Thanks, 

Duncan
<http://localhost/playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a> 



--
View this message in context: 
http://kannel.6189.n7.nabble.com/Messages-Queued-Not-delivered-tp28854.html
Sent from the Kannel - User mailing list archive at Nabble.com.

Reply via email to