Author: Thorsten Alteholz
filename_preview = number
Default value: not in use.
-Available from version >= 3.1. Defines how many characters of message text is concatenated to the name of a messsage file.
+Available from version >= 3.1. Defines how many characters of message text is concatenated to the name of a message file.
Characters used are a...z, A...Z, 0...9, - and period.
All other characters are replaced with _'s.
+CMGD: (1-30)
OK
-= is not supported, a modem does not give message numbers even if there is messsages available.
+= is not supported, a modem does not give message numbers even if there is messages available.
Index: smstools/doc/history3.html
===================================================================
--- smstools.orig/doc/history3.html 2020-08-05 19:02:50.448596133 +0000
+++ smstools/doc/history3.html 2020-08-05 19:02:50.440596105 +0000
@@ -2223,7 +2223,7 @@
Default value: 0.
adminmessage_count_clear = number
Default value: 0.
- With these settings sending of administrative messsages can be limited.
+ With these settings sending of administrative messages can be limited.
adminmessage_limit, defines a maximum number of messages to be sent.
adminmessage_count_clear defines a period to automatically clear the message counter.
This value is number of minutes.
@@ -2286,7 +2286,7 @@
Setting ms_purge_read defines if parts are read before they are deleted.
If internal_combine setting is used, parts are stored to the concatenation storage.
If missing part(s) are later received, there will be similar timeout before parts are purged.
- After this the messsage is complete and is stored to the incoming folder.
+ After this the message is complete and is stored to the incoming folder.
New setting for a modem: read_timeout = number.
@@ -2810,7 +2810,7 @@
New global setting: filename_preview = number. Defines how many characters of message text is concatenated - to the name of messsage file. Currently works with incoming message files. (3.1beta). + to the name of message file. Currently works with incoming message files. (3.1beta).
Modem is blocked only if sending has failed because of a modem related reason. (3.1beta).
"SMS sent" log information includes a message id and part information (while sending multipart messsages). (3.1beta). +
"SMS sent" log information includes a message id and part information (while sending multipart messages). (3.1beta).
Status report log information includes a message id and status value. (3.1beta). @@ -2933,7 +2933,7 @@
Bug fixes:
If both received and sent PDU's were stored to the messsage files, some sent PDU's were lost if +
If both received and sent PDU's were stored to the message files, some sent PDU's were lost if a message was received while the smsd was sending a multipart message. This is because the same buffer was used to store PDU's and receiving side cleaned it. Receiving and sending side now uses their own buffer to store PDU's. Index: smstools/src/extras.c =================================================================== --- smstools.orig/src/extras.c 2020-08-05 19:02:50.448596133 +0000 +++ smstools/src/extras.c 2020-08-05 19:02:50.440596105 +0000 @@ -816,7 +816,7 @@ else { // 3.1.5: This error is repeated: - snprintf(reason, sizeof(reason), "%s", "Dont know why. Check the file and directory permissions."); + snprintf(reason, sizeof(reason), "%s", "Don't know why. Check the file and directory permissions."); writelogfile0(LOG_ERR, 0, tb_sprintf("Cannot handle %s: %s", tmpname, reason)); alarm_handler0(LOG_ERR, tb); } Index: smstools/src/smsd_cfg.h =================================================================== --- smstools.orig/src/smsd_cfg.h 2020-08-05 19:02:50.448596133 +0000 +++ smstools/src/smsd_cfg.h 2020-08-05 19:45:55.000000000 +0000 @@ -94,7 +94,7 @@ #define CM_CMGL 3 #define CM_S_CMGL "CMGL is used." #define CM_CMGL_DEL_LAST 4 -#define CM_S_CMGL_DEL_LAST "CMGL is used and messages are deleted after all messsages are read." +#define CM_S_CMGL_DEL_LAST "CMGL is used and messages are deleted after all messages are read." #define CM_CMGL_CHECK 31 #define CM_S_CMGL_CHECK "CMGL is used and messages are taken from the list." #define CM_CMGL_DEL_LAST_CHECK 41 Index: smstools/scripts/sms3 =================================================================== --- smstools.orig/scripts/sms3 2020-08-05 19:02:50.448596133 +0000 +++ smstools/scripts/sms3 2020-08-05 19:02:50.440596105 +0000 @@ -112,7 +112,7 @@ echo "" dots=0 fi - echo "Timeout occured, killing $NAME hardly." + echo "Timeout occurred, killing $NAME hardly." kill -9 `ps $PSOPT | grep $NAME | grep -v grep | awk '{print $1}'` >/dev/null 2>&1 [ -f $PIDFILE ] && rm $PIDFILE seconds=0 Index: smstools/src/modeminit.c =================================================================== --- smstools.orig/src/modeminit.c 2020-08-05 19:02:50.448596133 +0000 +++ smstools/src/modeminit.c 2020-08-05 19:46:24.005736988 +0000 @@ -182,7 +182,7 @@ {38, "Network out of order"}, {41, "Temporary failure"}, {42, "Congestion"}, - {47, "Recources unavailable, unspecified"}, + {47, "Resources unavailable, unspecified"}, {50, "Requested facility not subscribed"}, {69, "Requested facility not implemented"}, {81, "Invalid short message transfer reference value"}, @@ -2270,7 +2270,7 @@ writelogfile(LOG_ERR, 0, "Couldn't resolve name '%s': %s.", hostname, (h_errno == HOST_NOT_FOUND) ? "Host not found" : ((h_errno == NO_ADDRESS) || (h_errno == NO_DATA)) ? "No data available" : - (h_errno == NO_RECOVERY) ? "A non-recoverable name server error occured" : (h_errno == TRY_AGAIN) ? "A temporary error occured." : "An unknown error occured"); + (h_errno == NO_RECOVERY) ? "A non-recoverable name server error occurred" : (h_errno == TRY_AGAIN) ? "A temporary error occurred." : "An unknown error occurred"); memcpy(&(sa.sin_addr), he->h_addr, he->h_length); Index: smstools/src/pdu.c =================================================================== --- smstools.orig/src/pdu.c 2020-07-27 19:00:41.612207583 +0000 +++ smstools/src/pdu.c 2020-08-05 19:46:50.573829910 +0000 @@ -997,7 +997,7 @@ case 1: p = "international"; break; case 2: p = "national"; break; case 3: p = "network specific"; break; - case 4: p = "subsciber"; break; + case 4: p = "subscriber"; break; case 5: p = "alphanumeric"; break; case 6: p = "abbreviated"; break; //case 7: p = "reserved"; break;