Spawning more smsboxes will probably make things worse, instead of better.
But there's alternatives that you have. Check the userguide for
http-request-retry and related configuration options.

Setting up a cascaded sqlbox requires no code changes.

== Rene


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of digiTonik
Sent: Monday, 08 August, 2011 15:43
To: [email protected]
Subject: RE: MOs being dropped when they get to my application


I will do more investigation on the apache side of the application.

Will spawning more smsboxes alleviate my problem? I am currently running one
smsbox.

The set up of two use two sql boxes require any source code changes? Ideally
I would like to avoid this.


Rene Kluwen wrote:
> 
> In principle the following setup is possible:
> 
> bb --- 1st_sqlbox --- 2nd_sqlbox --- smsbox --- application
> 
> I've seen a similar scenario where sms's were dropped. It had to do with
> too
> many incoming messages (or in my case: dlrs). Smsbox couldn't establish
> that
> many http connections at the same time (or: apache didn't accept them
> all).
> The request in question isn't being retried, which results in loss of the
> message.
> 
> == Rene
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of digiTonik
> Sent: Monday, 08 August, 2011 11:04
> To: [email protected]
> Subject: MOs being dropped when they get to my application
> 
> 
> 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-tp32
> 216483p32216483.html
> Sent from the Kannel - User mailing list archive at Nabble.com.
> 
> 
> 
> 
> 
> 
> 

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





Reply via email to