concatenated (multipart) SMS

175 views
Skip to first unread message

Omar Abdel-Rahman

unread,
Oct 16, 2016, 6:52:14 PM10/16/16
to Jasmin SMS Gateway
Hello,
I am new to linux plus Jasmin i manage to install everything correctly and i followed the "Sending your first SMS" tutorial 
It works fine when i send any SMS less than 160 anything after that the SMS isn't received , the SMSC is GOIP which is already tested and have live traffic on it it can handle SMS's that came in parts i think 
My conclusion is that Jasmin doesn't send in parts or something like that i tried changing "long_content_split = udh" from UDH to SAR 
The SMS is recieved but only the 160 character anything after the 160 is missing 

Also another question when i restart the server i have to start over as non of the steps in the "Sending your first SMS" is saved !!
Thanks in advance

Bruno C

unread,
Oct 20, 2016, 1:01:25 PM10/20/16
to Jasmin SMS Gateway
Hi,

You're loosing the config because you don't persist them through jcli.

As for the long messages, can you provide tcp traces ?

Regards

Omar Abdel-Rahman

unread,
Oct 25, 2016, 10:17:14 AM10/25/16
to Bruno C, Jasmin SMS Gateway
Hi Bruno,
Thanks for your reply ok i will persist the changes next time 
Meanwhile i am not sure to do the tcp traces can you please send me a documentation on this ?

--
Jasmin SMS Gateway -- http://jasminsms.com
---
You received this message because you are subscribed to a topic in the Google Groups "Jasmin SMS Gateway" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jasmin-sms-gateway/9_8aFjUnTVc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jasmin-sms-gateway+unsub...@googlegroups.com.
Visit this group at https://groups.google.com/group/jasmin-sms-gateway.
To view this discussion on the web, visit https://groups.google.com/d/msgid/jasmin-sms-gateway/3704e7f4-9f8c-4cb2-b3a6-c769cfdca47f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Omar Abdel-Rahman

unread,
Oct 25, 2016, 10:33:33 AM10/25/16
to Jasmin SMS Gateway
Hi Ok i got how to get the tcp report will do it and post 

Omar Abdel-Rahman

unread,
Oct 25, 2016, 11:40:36 AM10/25/16
to Jasmin SMS Gateway
This is normal short sms : 

tcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
17:36:39.269085 IP (tos 0x0, ttl 64, id 46842, offset 0, flags [DF], proto TCP (6), length 68)
    18.03.32a9.ip4.static.sl-reverse.com.58222 > d8.68.7a9f.ip4.static.sl-reverse.com.http: Flags [P.], cksum 0xb4d3 (incorrect -> 0xb853), seq 3192526425:3192526441, ack 164598032, win 262, options [nop,nop,TS val 733623 ecr 230284], length 16: HTTP
17:36:39.378981 IP (tos 0x0, ttl 61, id 57320, offset 0, flags [DF], proto TCP (6), length 52)
    d8.68.7a9f.ip4.static.sl-reverse.com.http > 18.03.32a9.ip4.static.sl-reverse.com.58222: Flags [.], cksum 0xab27 (correct), seq 1, ack 16, win 1716, options [nop,nop,TS val 232237 ecr 733623], length 0
17:36:39.378998 IP (tos 0x0, ttl 61, id 57321, offset 0, flags [DF], proto TCP (6), length 68)
    d8.68.7a9f.ip4.static.sl-reverse.com.http > 18.03.32a9.ip4.static.sl-reverse.com.58222: Flags [P.], cksum 0x2af4 (correct), seq 1:17, ack 16, win 1716, options [nop,nop,TS val 232237 ecr 733623], length 16: HTTP
17:36:39.379003 IP (tos 0x0, ttl 61, id 57322, offset 0, flags [DF], proto TCP (6), length 52)
    d8.68.7a9f.ip4.static.sl-reverse.com.http > 18.03.32a9.ip4.static.sl-reverse.com.58222: Flags [F.], cksum 0xab16 (correct), seq 17, ack 16, win 1716, options [nop,nop,TS val 232237 ecr 733623], length 0
17:36:39.379706 IP (tos 0x0, ttl 64, id 46843, offset 0, flags [DF], proto TCP (6), length 52)
    18.03.32a9.ip4.static.sl-reverse.com.58222 > d8.68.7a9f.ip4.static.sl-reverse.com.http: Flags [F.], cksum 0xb4c3 (incorrect -> 0xb0a8), seq 16, ack 18, win 262, options [nop,nop,TS val 733650 ecr 232237], length 0
17:36:39.488969 IP (tos 0x0, ttl 61, id 57323, offset 0, flags [DF], proto TCP (6), length 52)
    d8.68.7a9f.ip4.static.sl-reverse.com.http > 18.03.32a9.ip4.static.sl-reverse.com.58222: Flags [.], cksum 0xaaef (correct), seq 18, ack 17, win 1716, options [nop,nop,TS val 232248 ecr 733650], length 0
17:36:49.380765 IP (tos 0x0, ttl 64, id 48554, offset 0, flags [DF], proto TCP (6), length 60)
    18.03.32a9.ip4.static.sl-reverse.com.58224 > d8.68.7a9f.ip4.static.sl-reverse.com.http: Flags [S], cksum 0xb4cb (incorrect -> 0xbbf9), seq 3216541245, win 29200, options [mss 1460,sackOK,TS val 736151 ecr 0,nop,wscale 7], length 0
17:36:49.488988 IP (tos 0x0, ttl 61, id 0, offset 0, flags [DF], proto TCP (6), length 60)
    d8.68.7a9f.ip4.static.sl-reverse.com.http > 18.03.32a9.ip4.static.sl-reverse.com.58224: Flags [S.], cksum 0x7ffd (correct), seq 2612358279, ack 3216541246, win 5792, options [mss 1460,sackOK,TS val 233248 ecr 736151,nop,wscale 2], length 0
17:36:49.489031 IP (tos 0x0, ttl 64, id 48555, offset 0, flags [DF], proto TCP (6), length 52)
    18.03.32a9.ip4.static.sl-reverse.com.58224 > d8.68.7a9f.ip4.static.sl-reverse.com.http: Flags [.], cksum 0xb4c3 (incorrect -> 0xc464), seq 1, ack 1, win 229, options [nop,nop,TS val 736178 ecr 233248], length 0
17:36:49.490051 IP (tos 0x0, ttl 64, id 48556, offset 0, flags [DF], proto TCP (6), length 87)
    18.03.32a9.ip4.static.sl-reverse.com.58224 > d8.68.7a9f.ip4.static.sl-reverse.com.http: Flags [P.], cksum 0xb4e6 (incorrect -> 0xe66a), seq 1:36, ack 1, win 229, options [nop,nop,TS val 736178 ecr 233248], length 35: HTTP
17:36:49.598261 IP (tos 0x0, ttl 61, id 58275, offset 0, flags [DF], proto TCP (6), length 52)
    d8.68.7a9f.ip4.static.sl-reverse.com.http > 18.03.32a9.ip4.static.sl-reverse.com.58224: Flags [.], cksum 0xbf73 (correct), seq 1, ack 36, win 1448, options [nop,nop,TS val 233259 ecr 736178], length 0
17:36:49.598279 IP (tos 0x0, ttl 61, id 58276, offset 0, flags [DF], proto TCP (6), length 73)
    d8.68.7a9f.ip4.static.sl-reverse.com.http > 18.03.32a9.ip4.static.sl-reverse.com.58224: Flags [P.], cksum 0xcfcd (correct), seq 1:22, ack 36, win 1448, options [nop,nop,TS val 233259 ecr 736178], length 21: HTTP
17:36:49.598288 IP (tos 0x0, ttl 64, id 48557, offset 0, flags [DF], proto TCP (6), length 52)
    18.03.32a9.ip4.static.sl-reverse.com.58224 > d8.68.7a9f.ip4.static.sl-reverse.com.http: Flags [.], cksum 0xb4c3 (incorrect -> 0xc406), seq 36, ack 22, win 229, options [nop,nop,TS val 736205 ecr 233259], length 0
17:36:52.204575 IP (tos 0x0, ttl 64, id 48558, offset 0, flags [DF], proto TCP (6), length 108)
    18.03.32a9.ip4.static.sl-reverse.com.58224 > d8.68.7a9f.ip4.static.sl-reverse.com.http: Flags [P.], cksum 0xb4fb (incorrect -> 0x566a), seq 36:92, ack 22, win 229, options [nop,nop,TS val 736857 ecr 233259], length 56: HTTP
17:36:52.308433 IP (tos 0x0, ttl 61, id 58277, offset 0, flags [DF], proto TCP (6), length 77)
    d8.68.7a9f.ip4.static.sl-reverse.com.http > 18.03.32a9.ip4.static.sl-reverse.com.58224: Flags [P.], cksum 0x646c (correct), seq 22:47, ack 92, win 1448, options [nop,nop,TS val 233531 ecr 736857], length 25: HTTP
17:36:52.308450 IP (tos 0x0, ttl 64, id 48559, offset 0, flags [DF], proto TCP (6), length 52)
    18.03.32a9.ip4.static.sl-reverse.com.58224 > d8.68.7a9f.ip4.static.sl-reverse.com.http: Flags [.], cksum 0xb4c3 (incorrect -> 0xc000), seq 92, ack 47, win 229, options [nop,nop,TS val 736882 ecr 233531], length 0
^C
16 packets captured
16 packets received by filter
0 packets dropped by kernel



this is for long sms : 

tcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
17:34:39.264873 IP (tos 0x0, ttl 64, id 46832, offset 0, flags [DF], proto TCP (6), length 430)
    18.03.32a9.ip4.static.sl-reverse.com.58222 > d8.68.7a9f.ip4.static.sl-reverse.com.http: Flags [P.], cksum 0xb63d (incorrect -> 0x9b74), seq 3192525946:3192526324, ack 164597236, win 229, options [nop,nop,TS val 703622 ecr 217605], length 378: HTTP
17:34:39.388569 IP (tos 0x0, ttl 61, id 57308, offset 0, flags [DF], proto TCP (6), length 77)
    d8.68.7a9f.ip4.static.sl-reverse.com.http > 18.03.32a9.ip4.static.sl-reverse.com.58222: Flags [P.], cksum 0x08ac (correct), seq 1:26, ack 378, win 1716, options [nop,nop,TS val 220238 ecr 703622], length 25: HTTP
17:34:39.388586 IP (tos 0x0, ttl 64, id 46833, offset 0, flags [DF], proto TCP (6), length 52)
    18.03.32a9.ip4.static.sl-reverse.com.58222 > d8.68.7a9f.ip4.static.sl-reverse.com.http: Flags [.], cksum 0xb4c3 (incorrect -> 0x5860), seq 378, ack 26, win 229, options [nop,nop,TS val 703653 ecr 220238], length 0
^C
3 packets captured
3 packets received by filter
0 packets dropped by kernel


On Thursday, October 20, 2016 at 7:01:25 PM UTC+2, Bruno C wrote:
Message has been deleted

Omar Abdel-Rahman

unread,
Oct 30, 2016, 10:39:18 AM10/30/16
to Jasmin SMS Gateway
Well now i know the problem and the solution i just need to know how :) :
I need jasmin to combine any incoming message parts and then send it in one part even if it was over 160 char. in one PDU and the GOIP will do the job 
I see from options only SAR and UDH ! i tried OZEKI there is an option in it not to use SAR , but in Jasmin i tried both UDH and SAR , UDH trim the sms to 160 char only


On Thursday, October 20, 2016 at 7:01:25 PM UTC+2, Bruno C wrote:
Reply all
Reply to author
Forward
Message has been deleted
0 new messages