Support forum
I can't find anything wrong with the message but I notice that you have changed the 'Use16BitConcatenationId' property in the advanced settings of the GSM Modem Gateway to 'True'. It is possible that the modem or your mobile operator does not support 16-bit concatenation ID's properly and it is worth a try to re-set it to the default value 'False'.
If changing the 'Use16BitConcatenationId' property does not solve the problem then the only cause of the error I can think of is some sort of a communication or timeout problem between the modem and the mobile network. It might help to change the location of the modem or antenna but there is nothing that you can change in Diafaan SMS Server to solve these kind of problems.
Regards, Henk
1:28 pm
OK, this shows the error:
First SMS is going through fine....
2016/04/18 13:18:38.278 < OK
2016/04/18 13:18:49.374 > AT+CMGS=39
2016/04/18 13:18:49.415
2016/04/18 13:18:49.415 > 0791349609009199315C0C913466346553760000B71CD4F29C0E6A81D274507A0EBABFE5EBB4FB0C32A7DD65902E05
2016/04/18 13:18:52.043 < +CMGS: 84
2016/04/18 13:18:52.054 < OK
2016/04/18 13:19:22.107 > AT+CMGL=4
2016/04/18 13:19:22.161 < OK
2016/04/18 13:19:34.192 < +CDS: 25
2016/04/18 13:19:42.211 > AT+CMGL=4
2016/04/18 13:19:42.266 < OK
2016/04/18 13:20:02.319 > AT+CMGL=4
2016/04/18 13:20:02.373 < OK
2016/04/18 13:20:22.461 > AT+CMGL=4
2016/04/18 13:20:22.516 < OK
2016/04/18 13:20:42.585 > AT+CMGL=4
2016/04/18 13:20:42.640 < OK
2016/04/18 13:21:02.788 > AT+CMGL=4
2016/04/18 13:21:02.852 < OK
2016/04/18 13:21:19.454 > AT+CMGS=154
2016/04/18 13:21:19.500
2016/04/18 13:21:19.500 > 0791349609009199715D0C913466346553760000B7A006080400020201CB72BA5D0685EB66D056AEA797D7693ABDCC7683EC65F99C5E1EAFE90A05315D065DCB6CFAB93CAFBBC9E8729A3E7FCBCF61777A1EA6A7DF6ED09C5E66B3E92072D90DDACAF5F4723BECA697D9A0B41B649487CF651728E906B5CB6879595E7683A6F43A395D7683EE6539B90C7287C7E873F99E2ECFCB6E16881C9ECF41E1BA19442EBB41
2016/04/18 13:21:19.557 < ERROR
2016/04/18 13:21:19.809
2016/04/18 13:21:20.063 < +CMS ERROR: 500
2016/04/18 13:21:22.828 > AT+CMGL=4
2016/04/18 13:21:22.879 < OK
2016/04/18 13:21:43.007 > AT+CMGL=4
2016/04/18 13:21:43.062 < OK
2016/04/18 13:22:03.205 > AT+CMGL=4
2016/04/18 13:22:03.251 < OK
2016/04/18 13:22:21.134 > AT+CMGS=154
2016/04/18 13:22:21.178
2016/04/18 13:22:21.178 > 0791349609009199715F0C913466346553760000B7A006080400030201CB72BA5D0685EB66D056AEA797D7693ABDCC7683EC65F99C5E1EAFE90A05315D065DCB6CFAB93CAFBBC9E8729A3E7FCBCF61777A1EA6A7DF6ED09C5E66B3E92072D90DDACAF5F4723BECA697D9A0B41B649487CF651728E906B5CB6879595E7683A6F43A395D7683EE6539B90C7287C7E873F99E2ECFCB6E16881C9ECF41E1BA19442EBB41
2016/04/18 13:22:21.231 < ERROR
2016/04/18 13:22:21.482
2016/04/18 13:22:21.734 < +CMS ERROR: 500
Your log does not contain any messages longer than 76 character so I am not able to see in the log what happens when you send a long message.
The difference between the failed messages and the successful message in the log is that the failed messages are sent to a local number, starting with a '0'. The successful message is sent to an international number, starting with '+43'. By default, Diafaan SMS Server marks all phone numbers without a prefix as international and your mobile operator rejects messages to local numbers that are marked as international. The best way to prevent this error is to use only number in international number format in Diafaan SMS Server.
If you set the 'DefaultAddressType' in the advanced settings of the GSM Modem Gateway to 'National', the GSM Modem Gateway will mark messages with numbers that do not start with a '+' as national numbers. Most mobile operators accept numbers in national number format.
Diafaan SMS Server can also convert number formats automatically with the 'NumberTemplate' property of each gateway.
Regards, Henk
9:53 am
it seems the problem is our gsm gateway
(ecotel vierling - based on siemens Cinterion MC55i, connected via TCP/IP)
All SMS with more than 80(!) Charactes will not be sent.
Error:
300, Error: Unknown error after PDU sent.
Modem Log see here:
2016/04/18 09:14:22.942 > AT+CMGL=4
2016/04/18 09:14:22.994 < OK
2016/04/18 09:14:26.349 > AT+CMGS=25
2016/04/18 09:14:26.402
2016/04/18 09:14:26.402 > 079134960900919931560C916099916635640000B70CC8309BFD0605DDE4740804
2016/04/18 09:14:28.866 < +CMS ERROR: 69
2016/04/18 09:14:43.064 > AT+CMGL=4
2016/04/18 09:14:43.126 < OK
2016/04/18 09:15:03.259 > AT+CMGL=4
2016/04/18 09:15:03.333 < OK
2016/04/18 09:15:23.271 > AT+CMGL=4
2016/04/18 09:15:23.318 < OK
2016/04/18 09:15:29.526 > AT+CMGS=25
2016/04/18 09:15:29.573
2016/04/18 09:15:29.573 > 079134960900919931570C916099916635640000B70CC8309BFD0605DDE4740804
2016/04/18 09:15:31.848 < +CMS ERROR: 69
2016/04/18 09:15:43.488 > AT+CMGL=4
2016/04/18 09:15:43.550 < OK
2016/04/18 09:16:03.731 > AT+CMGL=4
2016/04/18 09:16:03.781 < OK
2016/04/18 09:16:23.867 > AT+CMGL=4
2016/04/18 09:16:23.914 < OK
2016/04/18 09:16:32.366 > AT+CMGS=25
2016/04/18 09:16:32.413
2016/04/18 09:16:32.413 > 079134960900919931580C916099916635640000B70CC8309BFD0605DDE4740804
2016/04/18 09:16:34.743 < +CMS ERROR: 69
Short SMS are working:
2016/04/18 09:46:37.790 < OK
2016/04/18 09:46:44.794 > AT+CMGS=80
2016/04/18 09:46:44.837
2016/04/18 09:46:44.837 > 0791349609009199315B0C913456507651950000B74BD3B30B6494BB4047795D5C96B340C7B27C4F07DDD37232285C9F9FCBF4707D3E46D3592072B85E96D341EEF7180D2AA7DD2078382C0751C3E732A805629F4143EA12
2016/04/18 09:46:51.736 < +CMGS: 83
2016/04/18 09:46:51.751 < OK
2016/04/18 09:47:02.646 < +CDS: 25
2016/04/18 09:47:21.851 > AT+CMGL=4
2016/04/18 09:47:21.898 < OK
2016/04/18 09:47:41.905 > AT+CMGL=4
2016/04/18 09:47:41.952 < OK
2016/04/18 09:48:01.907 > AT+CMGL=4
Thank you for Helping!
Hello Frank,
Diafaan SMS Server automatically splits long SMS messages in multiple parts. The GSM Modem Gateway and SMPP Gateway have a default limit of 10 message parts per message but this can be increased in the advanced settings of the gateways.
Most of the connectors in Diafaan SMS Server do not have a maximum length for each SMS message but the Email Connector is an exception. To prevent excessively long messages, the Email Connector has a default limit of 160 characters for each SMS message that it generates. To increase the character limit, open the Email Connector properties, select 'Send SMS' and click on 'Edit SMS message template'.
Regards, Henk
Most Users Ever Online: 529
Currently Online:
1 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 680
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1156
Posts: 3946
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1511