Re: Message length limit

Luca Corti <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <1288486753.5344.10.camel@luca-laptop>
On Sun, 2010-10-31 at 01:31 +0200, Luca Corti wrote:
> If anyone thinks this is worthwhile I'll submit a patch to add
> max-sms-octets to sendsms-user groups too.
> 
> This would allow to specify max-sms-octets for both sendsms-user and
> smsc and then allow you to inject and route messages > 140 characters
> without interfering with other sendsms-users/SMSCs which are limited to
> smaller message sizes.

While reading smsbox.c I found the smsbox group accepts an undocumented
option, sms-length, which allows to modify maximum sms length globally
in smsbox.

I tested group smsc max-sms-octets plus group smsbox sms-length together
and they allow larger than 140 characters messages to enter sendsms and
exit an smsc driver. This is enough for my purposes.

If anyone is interested a per sendsms-user sms-length may still make
sense.

ciao

Luca
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.