You can use throughput directive. 

sangprabv
[email protected]


On Jun 21, 2010, at 12:02 PM, T.K.Thapa wrote:

> Hello,
> 
> Two more questions:
> 
> 1. Can sqlbox submit sms to bearerbox at a configurable rate? Lets say 5 
> message per second so that no queue is built at bearerbox for particular smsc.
> 2. If there is a queue at bearerbox (particular smsc), lets say 100 then till 
> the time queue come down to less than 100, sqlbox do not push further 
> messages to that particular smsc.
> 
> Regards
> Tapan Thapa
> 
> --- On Mon, 21/6/10, T.K.Thapa <[email protected]> wrote:
> 
> From: T.K.Thapa <[email protected]>
> Subject: RE: Scheduling Question
> To: "Rene Kluwen" <[email protected]>
> Cc: "Kannel list" <[email protected]>
> Date: Monday, 21 June, 2010, 9:37 AM
> 
> Hello,
> 
> I have seen the same feature requested by many users. Can't we have the same 
> by default in source code of sqlbox and put the query in configuration file.
> 
> Regards
> Tapan Thapa
> 
> --- On Sun, 20/6/10, Rene Kluwen <[email protected]> wrote:
> 
> From: Rene Kluwen <[email protected]>
> Subject: RE: Scheduling Question
> To: "'sangprabv'" <[email protected]>, "'T.K.Thapa'" 
> <[email protected]>
> Cc: [email protected]
> Date: Sunday, 20 June, 2010, 11:11 PM
> 
> Yes, sqlbox does scheduling of writing with a simple (1-line) patch.
> 
>  
> You can find it on the mailinglist, but to facilitate your search, here it is 
> again:
> 
>  
> in gw/sqlbox_mysql.h
> 
>   something like:
> 
>   SELECT sql_id, momt, sender, receiver, udhdata, \
> msgdata, time, smsc_id, service, account, id, sms_type, mclass, mwi, coding, \
> compress, validity, deferred, dlr_mask, dlr_url, pid, alt_dcs, rpi, \
> charset, boxc_id, binfo, meta_data FROM %S WHERE time < UNIX_TIMESTAMP(NOW()) 
> LIMIT 0,1"
> 
>  
> == Rene
> 
>  
> From: [email protected] [mailto:[email protected]] On Behalf Of 
> sangprabv
> Sent: zondag 20 juni 2010 16:04
> To: T.K.Thapa
> Cc: [email protected]
> Subject: Re: Scheduling Question
> 
>  
> Quick and dirty way is patch the query in the sqlbox source code.
> 
>  
>  
>  
> sangprabv
> [email protected]
> 
> 
> 
>  
> On Jun 20, 2010, at 4:15 PM, T.K.Thapa wrote:
> 
> 
> 
> Hello, 
> 
> Does kannel bearerbox,smsbox or sqlbox support scheduling of messages? If yes 
> how?
> 
> Regards
> Tapan Thapa
> 
>  
>  
> 
> 

Reply via email to