Hi,
I call this: queue policies ;)
those are implemented in centrium-tree... unfortunately I'm not at centrium
anymore and have no sources for this... will try to implement this second
time and commit to cvs.
fred wrote:
> 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)
>
> 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