I have the following set up
 bb --- sqlbox ---- smsbox ---- [my app (apache)]

There has been a huge discrepancy between the number of MOs in sqlbox and
the ones in my app. Sqlbox contains more MOs than my application. I read the
user's guide and i figured the cause was when the sms was forwarding the
message to my application. So I added file-store options to core group
configuration. I was hoping that would solve my problem but it has not.

If the issue can not be fixed by changing my configurations is it possible
to have a duplicate of sqlbox where i can use it as a queue and delete
messages as i process them? 

This is my setup
I am running svn repository version: svn-r4913

kannel.conf
=============
#Core group
group = core
admin-allow-ip = 172.17.4.2
admin-port = 13000
admin-password = bar
smsbox-port = 13002
dlr-storage = mysql
log-file = "/usr/local/sbin/bb.log"
log-level = 1
store-type = file
store-location = "/usr/local/sbin/kannel.store"

#smsc connection
group = smsc
smsc-id = "SMSC"
log-file = "/usr/local/sbin/smsc.log"
log-level = 0
smsc = smpp
host = xxx.xxx.xx.xx
port = xxxx
transceiver-mode = true
smsc-username = xxxxxxxxxxxxxxx
smsc-password = xxxxxxxxxxxxxx
system-type = "VMA"
msg-id-type = 0x01


#smsbox
group = smsbox 
bearerbox-host = 172.17.4.2
bearerbox-port = 13005
sendsms-port = 13013
log-file = "/usr/local/sbin/smsbox.log"
log-level = 0 


#sendsms
group = sendsms-user
username = xxxxxxxx
password = xxxxxxxx
dlr-url =
http%3A%2F%2Flocalhost%2Fdispatch%2Fdelivery_status%3Fbulkmt_id%3D3%26status%3D%25d


group = sms-service
keyword = default
post-url =
"http://172.17.4.2:3010/parser/parse_request?query=%a&number=%p&timestamp=%t&shortcode=%P";
max-messages = 0
concatenation = true



#Delivery report
group = mysql-connection
id = delivery_report_table
host = 127.0.0.1
username = xxxxxxxxxxxx
password = xxxxxxxxxxxx
database = kanneldlr
max-connections = 1

group = dlr-db
id = delivery_report_table
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxid

sqlbox.conf
===========
group = mysql-connection
id = sqlbox-db
host = 127.0.0.1
port = 3306
username = xxxxxxxxxxxx
password = xxxxxxxxxxxx
database = ksqlbox
max-connections = 1

#sqlbox
group = sqlbox
id = sqlbox-db
smsbox-id = sqlbox
bearerbox-host = 172.17.4.2
bearerbox-port = 13002
smsbox-port = 13005
sql-log-table = sent_sms
sql-insert-table = send_sms
log-file = "/usr/local/sbin/sqlbox.log"
log-level = 0


-- 
View this message in context: 
http://old.nabble.com/MOs-being-dropped-when-they-get-to-my-application-tp32216483p32216483.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to