Kannel automatically divides messages into necessary pieces. Only the logs
show them as 1 message, otherwise the message is received on the handset in
2 separate parts. You can test it.

There is no separate configuration of this, if you original config is OK.

On Mon, Dec 12, 2011 at 11:29 PM, Augusto Costa <[email protected]>wrote:

> Hello,  friends.
>
> I need to send big messages (more than 160 characters) from MT to MO. I
> want let Kannel divide the "big SMS" in two or more.
> How can I configure?
>
> *My current setup is (kannel.conf):*
> group = sms-service
> keyword = nk
> post-url = "http://10.1.25.31:8080/contextWeb/sms";
> accept-x-kannel-headers = true
> send-sender = true
> concatenation = true
> max-messages = 20
>
> *My Web Server log:*
>
> http://10.1.25.30:13013/cgi-bin/sendsms?username=tester&password=foobar&to=556182180200&type=settings&udh=%06%05%04%1C%E8%00%00&text=f1%7C857DE%7C8%7C2ae87bd5-e673-4cc7-bb6d-42f227050cf3%3BTest+Lab001%3B1323443916896%40eda1ebc9-26f8-4a9a-9cf8-1edb20aa75a5%3BLonger+%2B+Test+%2B+Incubation+Team%3B1321966186397%40421861ff-e680-4834-9a96-354fd2116ffd%3BRecife+Demo%3B1321387510794%40f3ed4ac5-08b5-47a1-b7c3-3889cfa21fd8%3Bnk%3B1321260640539
> >>>>> Response from Kannel: 0: Accepted for delivery
>
> *Kannel Log:*
> 2011-12-12 11:00:55 [915] [2] DEBUG: HTTP: Creating HTTPClient for
> `10.1.25.31'.
> 2011-12-12 11:00:55 [915] [2] DEBUG: HTTP: Created HTTPClient area
> 0x7f7f000029c0.
> 2011-12-12 11:00:55 [915] [3] INFO: smsbox: Got HTTP request
> </cgi-bin/sendsms> from <10.1.25.31>
> 2011-12-12 11:00:55 [915] [3] INFO: sendsms used by <tester>
> 2011-12-12 11:00:55 [915] [3] INFO: sendsms sender:<tester:13013>
> (10.1.25.31) to:<556182180200>
> msg:<f1|857DE|8|2ae87bd5-e673-4cc7-bb6d-42f227050cf3;Test
> Lab001;1323443916896@eda1ebc9-26f8-4a9a-9cf8-1edb20aa75a5;Longer + Test +
> Incubation Team;1321966186397@421861ff-e680-4834-9a96-354fd2116ffd;Recife
> Demo;1321387510794@f3ed4ac5-08b5-47a1-b7c3-3889cfa21fd8;nk;1321260640539>
> 2011-12-12 11:00:55 [915] [3] DEBUG: Stored UUID
> 6399ada2-0f53-4fde-8735-768a2a26bdf7
> 2011-12-12 11:00:55 [915] [3] DEBUG: message length 272, sending 1
> messages
> 2011-12-12 11:00:55 [915] [3] DEBUG: Status: 202 Answer: <Sent.>
> 2011-12-12 11:00:55 [915] [3] DEBUG: Delayed reply - wait for bearerbox
> 2011-12-12 11:00:55 [915] [0] DEBUG: Got ACK (0) of
> 6399ada2-0f53-4fde-8735-768a2a26bdf7
> 2011-12-12 11:00:55 [915] [0] DEBUG: HTTP: Resetting HTTPClient for
> `10.1.25.31'.
> 2011-12-12 11:01:03 [915] [1] DEBUG: HTTP: Destroying HTTPClient area
> 0x7f7f000029c0.
> 2011-12-12 11:01:03 [915] [1] DEBUG: HTTP: Destroying HTTPClient for
> `10.1.25.31'.
> 2011-12-12 11:01:10 [915] [8] DEBUG: HTTP: Server closed connection,
> destroying it <10.1.25.31:8080:0::><0x18acfe0><fd:27>.
>
> Only one message was sent, instead of two (or more, if necessary).
>
> Thanks in advance.
>
> Augusto Costa
>

Reply via email to