Re: sms-incoming-queue-limit

[email protected]
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
> this parameter will limit the incoming MO (from smsc) messages right ?
> 
> I need to limit the number of messages the bearerbox accepts from the
> smsbox, ( and therefor holds in the store file,
> the store file can get really big >20MB, the overhead of managing this
> store
> file is then  unacceptable)
This is something I pointed out in a posting to the mailing list. As no
response came I supposed that this is a more "theoretical" problem of my
tests.
The reason is that the store file and the lists in memory are not suitable
for such large amounts of data.

> 
> when the limit is reached the smsbox will NOT respond with "Sent" from a
> sendsms service;
> 
> current cvshead smsbox.c has
> read_messages_from_bearerbox(void)
> {
> .......
>  } else if (msg_type(msg) == ack) {
>      /*
>       * do nothing for now. Later we will handle this
>       * gracefully...
>       */
>      msg_destroy(msg);
>  } else {
> .............
> so if the bearerbox can send a ack(with a nack item indicating send-queue
> full); the smsbox will set a flag to not accept sendsms messages;
> 
> well this is part of the plan, i'd like to get any comments from the group
> thanks
> 
> 
Simply not sending some of the messages is not what users will like. I would
prefer improving the store implementation. Possibly a database (sqlbox)
could help - I dont spent time on its details, so maybe I am wrong in this
point.

-- 
Andreas W.

NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.