Dear users, I’m having some trouble configuring my Kannel service. First, I needed to make the DLR_URL work when inserting directly into the send_sms table… after a long research I found the answer: I needed to put the same smsbox-id on both smsbox and sqlbox conf. and reroute the SMSC connexions. Its working fine and the DLR-MO are not longer queued in the store-file. Now im having another issue… when I restart my kannel service it seems the MO message get stuck in the store-file… not all the MO message, just the first ones, its kind a funny cause it never happened!! And the MO seems to get stuck forever… even if a restart again… the MO are still queued. Any idea on how to avoid to get thos first MO queued?? I really want every message to get process, its part of a high quality standart we are trying to implement! Thanks a lot.
Looking at the core.log I found this error: WARNING: smsbox_list empty!... not sure what to do? create anothe smsbox? Status: running, uptime 0d 0h 24m 16s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 477 (5 queued), sent 1455 (0 queued), store size 19 SMS: inbound (0.23,0.35,0.33) msg/sec, outbound (0.34,0.78,1.00) msg/sec DLR: 0 queued, using internal storage Box connections: smsbox:smsbox, IP 127.0.0.1 (14 queued), (on-line 0d 0h 24m 11s) smsbox:smsbox, IP 127.0.0.1 (0 queued), (on-line 0d 0h 24m 6s) Kannel conf: group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar wdp-interface-name = "*" log-file = "/var/log/kannel/core.log" log-level = 1 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;10.27.1.*,130.7.*.*,10.10.10.*" access-log = "/var/log/kannel/access.log" unified-prefix = "+502,00502,0;+,00" dlr-storage = internal store-type = "file" store-file = "/var/log/kannel/tmp.log" store-dump-freq = 1 smsbox-max-pending = 1000 sms-outgoing-queue-limit = -1 sms-incoming-queue-limit = 100 sms-resend-freq = 15 sms-resend-retry = 100 sms-combine-concatenated-mo = 0 include = "/etc/kannel/modems.conf" include = "/etc/kannel/smsbox.conf" group = smsc smsc-id= XXX smsc = smpp host=XX.XX.XX.XX port = 5016 smsc-username= YYY smsc-password= YYYY system-type= "SMSAGLOB" source-addr-ton= 0 source-addr-npi= 0 dest-addr-ton= 0 dest-addr-npi= 0 throughput = 2 flow-control = 0 wait-ack = 1 wait-ack-expire = 0x02 validityperiod = 60 transceiver-mode= true enquire-link-interval = 10 msg-id-type = 0x01 allowed-smsc-id = "XXX" denied-smsc-id = "UUU;IIIII;OOOO;PPPP" alt-charset = ISO-8859-1 reconnect-delay = 60 group = smsbox-route smsbox-id = smsbox smsc-id = " UUU;IIIII;OOOO;PPPP;XXX" SQLBox conf: group = sqlbox id = mydlr smsbox-id = smsbox bearerbox-host = localhost bearerbox-port = 13001 smsbox-port = 13003 smsbox-port-ssl = false sql-log-table = sent_sms2 sql-insert-table = send_sms log-file = "/var/log/kannel/kannel-sqlbox.log" log-level = 0 SMSbox conf: group = smsbox smsbox-id = smsbox bearerbox-host = localhost bearerbox-port = 13003 sendsms-url= /sendsms sendsms-port= 13200 reply-requestfailed = "xxxxxxxxxxxx" reply-emptymessage = "xxxxxxxxxxxxxx reply-couldnotfetch = "El xxxxxxxxxxxxxxxxxxxxxxx" log-file = "/var/log/kannel/smsbox.log" log-level = 0 mo-recode = 1 Bernard
