On Sat, 2010-10-30 at 21:15 +0200, Alexander Malysh wrote:
> Hi,

Hi Alex,

Thanks a lot for your suggestions.

> it should be possible in bearerbox and in smsbox but smsbox will need to be 
> modified.
> 
> In bearerbox you have to use max-sms-octets config variable to set maximum 
> length for SMSC module/connection.
> 
> Btw. SMPP allow message up to 64K using message_payload...

I did some tests by implementing a stub smsc. All I had to do to get
sendsms pick up the entire message and have it reach my smsc was
increasing MAX_SMS_OCTETS in gw/sms.h.

I didn't have to set max-sms-octets for the smsc and I got a message of
256 characters from sendsms to my smsc, because increasing
MAX_SMS_OCTETS raises the limit automatically for smscs too in bearebox
(smscconn_create).

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.

ciao

Luca


Reply via email to