summaryrefslogtreecommitdiff
path: root/docs/man
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man')
-rw-r--r--docs/man/gammu-backup.52
-rw-r--r--docs/man/gammu-config.12
-rw-r--r--docs/man/gammu-detect.12
-rw-r--r--docs/man/gammu-smsbackup.52
-rw-r--r--docs/man/gammu-smsd-dbi.727
-rw-r--r--docs/man/gammu-smsd-files.72
-rw-r--r--docs/man/gammu-smsd-inject.12
-rw-r--r--docs/man/gammu-smsd-monitor.12
-rw-r--r--docs/man/gammu-smsd-mysql.771
-rw-r--r--docs/man/gammu-smsd-null.72
-rw-r--r--docs/man/gammu-smsd-odbc.714
-rw-r--r--docs/man/gammu-smsd-pgsql.765
-rw-r--r--docs/man/gammu-smsd-run.72
-rw-r--r--docs/man/gammu-smsd-sql.710
-rw-r--r--docs/man/gammu-smsd-tables.740
-rw-r--r--docs/man/gammu-smsd.12
-rw-r--r--docs/man/gammu-smsdrc.520
-rw-r--r--docs/man/gammu.117
-rw-r--r--docs/man/gammurc.54
-rw-r--r--docs/man/jadmaker.12
20 files changed, 105 insertions, 185 deletions
diff --git a/docs/man/gammu-backup.5 b/docs/man/gammu-backup.5
index f152511..e6e2406 100644
--- a/docs/man/gammu-backup.5
+++ b/docs/man/gammu-backup.5
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-BACKUP" "5" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-BACKUP" "5" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-backup \- gammu(1) backup file format.
.
diff --git a/docs/man/gammu-config.1 b/docs/man/gammu-config.1
index 66fbb94..6fb367f 100644
--- a/docs/man/gammu-config.1
+++ b/docs/man/gammu-config.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-CONFIG" "1" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-CONFIG" "1" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-config \- Gammu configurator
.
diff --git a/docs/man/gammu-detect.1 b/docs/man/gammu-detect.1
index 9dde576..9be1995 100644
--- a/docs/man/gammu-detect.1
+++ b/docs/man/gammu-detect.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-DETECT" "1" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-DETECT" "1" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-detect \- Gammu device detection
.
diff --git a/docs/man/gammu-smsbackup.5 b/docs/man/gammu-smsbackup.5
index c74d00d..c4601f2 100644
--- a/docs/man/gammu-smsbackup.5
+++ b/docs/man/gammu-smsbackup.5
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSBACKUP" "5" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSBACKUP" "5" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsbackup \- gammu(1) SMS backup file format.
.
diff --git a/docs/man/gammu-smsd-dbi.7 b/docs/man/gammu-smsd-dbi.7
index 0168638..acc9077 100644
--- a/docs/man/gammu-smsd-dbi.7
+++ b/docs/man/gammu-smsd-dbi.7
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSD-DBI" "7" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSD-DBI" "7" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsd-dbi \- gammu-smsd(1) backend using DBI abstraction layer to use any supported database as a message storage
.
@@ -88,7 +88,7 @@ drivers for example include:
.IP \(bu 2
\fBfreetds\fP \- for MS SQL Server or Sybase
.UNINDENT
-.SH CREATING TABLES
+.SH CREATING TABLES FOR SQLITE
.sp
SQL script for creating tables in SQLite database:
.INDENT 0.0
@@ -96,16 +96,11 @@ SQL script for creating tables in SQLite database:
.sp
.nf
.ft C
-CREATE TABLE daemons (
- Start TEXT NOT NULL,
- Info TEXT NOT NULL
-);
-
CREATE TABLE gammu (
- Version INTEGER NOT NULL DEFAULT \(aq0\(aq
+ Version INTEGER NOT NULL DEFAULT \(aq0\(aq PRIMARY KEY
);
-INSERT INTO gammu (Version) VALUES (15);
+INSERT INTO gammu (Version) VALUES (16);
CREATE TABLE inbox (
UpdatedInDB NUMERIC NOT NULL DEFAULT (datetime(\(aqnow\(aq)),
@@ -149,6 +144,7 @@ CREATE TABLE outbox (
DeliveryReport TEXT DEFAULT \(aqdefault\(aq,
CreatorID TEXT NOT NULL,
Retries INTEGER DEFAULT \(aq0\(aq,
+ Priority INTEGER DEFAULT \(aq0\(aq,
CHECK (Coding IN
(\(aqDefault_No_Compression\(aq,\(aqUnicode_No_Compression\(aq,\(aq8bit\(aq,\(aqDefault_Compression\(aq,\(aqUnicode_Compression\(aq)),
CHECK (DeliveryReport IN (\(aqdefault\(aq,\(aqyes\(aq,\(aqno\(aq))
@@ -175,18 +171,6 @@ CREATE TABLE outbox_multipart (
PRIMARY KEY (ID, SequencePosition)
);
-CREATE TABLE pbk (
- ID INTEGER PRIMARY KEY AUTOINCREMENT,
- GroupID INTEGER NOT NULL DEFAULT \(aq\-1\(aq,
- Name TEXT NOT NULL,
- Number TEXT NOT NULL
-);
-
-CREATE TABLE pbk_groups (
- Name TEXT NOT NULL,
- ID INTEGER PRIMARY KEY AUTOINCREMENT
-);
-
CREATE TABLE phones (
ID TEXT NOT NULL,
UpdatedInDB NUMERIC NOT NULL DEFAULT (datetime(\(aqnow\(aq)),
@@ -195,6 +179,7 @@ CREATE TABLE phones (
Send TEXT NOT NULL DEFAULT \(aqno\(aq,
Receive TEXT NOT NULL DEFAULT \(aqno\(aq,
IMEI TEXT PRIMARY KEY NOT NULL,
+ IMSI TEXT NOT NULL,
NetCode TEXT DEFAULT \(aqERROR\(aq,
NetName TEXT DEFAULT \(aqERROR\(aq,
Client TEXT NOT NULL,
diff --git a/docs/man/gammu-smsd-files.7 b/docs/man/gammu-smsd-files.7
index 40c8ef4..9eafe59 100644
--- a/docs/man/gammu-smsd-files.7
+++ b/docs/man/gammu-smsd-files.7
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSD-FILES" "7" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSD-FILES" "7" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsd-files \- gammu-smsd(1) backend using filesystem as a message storage
.
diff --git a/docs/man/gammu-smsd-inject.1 b/docs/man/gammu-smsd-inject.1
index 9d15fc7..c985884 100644
--- a/docs/man/gammu-smsd-inject.1
+++ b/docs/man/gammu-smsd-inject.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSD-INJECT" "1" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSD-INJECT" "1" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsd-inject \- Inject messages into queue of SMS daemon for Gammu
.
diff --git a/docs/man/gammu-smsd-monitor.1 b/docs/man/gammu-smsd-monitor.1
index 073befc..c891f91 100644
--- a/docs/man/gammu-smsd-monitor.1
+++ b/docs/man/gammu-smsd-monitor.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSD-MONITOR" "1" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSD-MONITOR" "1" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsd-monitor \- Monitor state of SMS daemon for Gammu
.
diff --git a/docs/man/gammu-smsd-mysql.7 b/docs/man/gammu-smsd-mysql.7
index 70a99f7..fd04cb9 100644
--- a/docs/man/gammu-smsd-mysql.7
+++ b/docs/man/gammu-smsd-mysql.7
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSD-MYSQL" "7" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSD-MYSQL" "7" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsd-mysql \- gammu-smsd(1) backend using MySQL database server as a message storage
.
@@ -91,7 +91,7 @@ For creating the SQL tables you need more privileges, especially for
creating triggers, which are used for some functionality.
.UNINDENT
.UNINDENT
-.SH CREATING TABLES
+.SH CREATING TABLES FOR MYSQL
.sp
SQL script for creating tables in MySQL database:
.INDENT 0.0
@@ -108,34 +108,18 @@ SQL script for creating tables in MySQL database:
\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
\-\-
-\-\- Table structure for table \(gadaemons\(ga
-\-\-
-
-CREATE TABLE \(gadaemons\(ga (
- \(gaStart\(ga text NOT NULL,
- \(gaInfo\(ga text NOT NULL
-) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
-
-\-\-
-\-\- Dumping data for table \(gadaemons\(ga
-\-\-
-
-
-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
-
-\-\-
\-\- Table structure for table \(gagammu\(ga
\-\-
CREATE TABLE \(gagammu\(ga (
- \(gaVersion\(ga integer NOT NULL default \(aq0\(aq
+ \(gaVersion\(ga integer NOT NULL default \(aq0\(aq PRIMARY KEY
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
\-\-
\-\- Dumping data for table \(gagammu\(ga
\-\-
-INSERT INTO \(gagammu\(ga (\(gaVersion\(ga) VALUES (15);
+INSERT INTO \(gagammu\(ga (\(gaVersion\(ga) VALUES (16);
\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
@@ -152,7 +136,7 @@ CREATE TABLE \(gainbox\(ga (
\(gaUDH\(ga text NOT NULL,
\(gaSMSCNumber\(ga varchar(20) NOT NULL default \(aq\(aq,
\(gaClass\(ga integer NOT NULL default \(aq\-1\(aq,
- \(gaTextDecoded\(ga text NOT NULL default \(aq\(aq,
+ \(gaTextDecoded\(ga text NOT NULL,
\(gaID\(ga integer unsigned NOT NULL auto_increment,
\(gaRecipientID\(ga text NOT NULL,
\(gaProcessed\(ga enum(\(aqfalse\(aq,\(aqtrue\(aq) NOT NULL default \(aqfalse\(aq,
@@ -181,7 +165,7 @@ CREATE TABLE \(gaoutbox\(ga (
\(gaCoding\(ga enum(\(aqDefault_No_Compression\(aq,\(aqUnicode_No_Compression\(aq,\(aq8bit\(aq,\(aqDefault_Compression\(aq,\(aqUnicode_Compression\(aq) NOT NULL default \(aqDefault_No_Compression\(aq,
\(gaUDH\(ga text,
\(gaClass\(ga integer default \(aq\-1\(aq,
- \(gaTextDecoded\(ga text NOT NULL default \(aq\(aq,
+ \(gaTextDecoded\(ga text NOT NULL,
\(gaID\(ga integer unsigned NOT NULL auto_increment,
\(gaMultiPart\(ga enum(\(aqfalse\(aq,\(aqtrue\(aq) default \(aqfalse\(aq,
\(gaRelativeValidity\(ga integer default \(aq\-1\(aq,
@@ -190,6 +174,7 @@ CREATE TABLE \(gaoutbox\(ga (
\(gaDeliveryReport\(ga enum(\(aqdefault\(aq,\(aqyes\(aq,\(aqno\(aq) default \(aqdefault\(aq,
\(gaCreatorID\(ga text NOT NULL,
\(gaRetries\(ga int(3) default 0,
+ \(gaPriority\(ga integer default 0,
PRIMARY KEY \(gaID\(ga (\(gaID\(ga)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
@@ -212,7 +197,7 @@ CREATE TABLE \(gaoutbox_multipart\(ga (
\(gaCoding\(ga enum(\(aqDefault_No_Compression\(aq,\(aqUnicode_No_Compression\(aq,\(aq8bit\(aq,\(aqDefault_Compression\(aq,\(aqUnicode_Compression\(aq) NOT NULL default \(aqDefault_No_Compression\(aq,
\(gaUDH\(ga text,
\(gaClass\(ga integer default \(aq\-1\(aq,
- \(gaTextDecoded\(ga text default NULL,
+ \(gaTextDecoded\(ga text,
\(gaID\(ga integer unsigned NOT NULL default \(aq0\(aq,
\(gaSequencePosition\(ga integer NOT NULL default \(aq1\(aq,
PRIMARY KEY (\(gaID\(ga, \(gaSequencePosition\(ga)
@@ -222,43 +207,6 @@ CREATE TABLE \(gaoutbox_multipart\(ga (
\-\- Dumping data for table \(gaoutbox_multipart\(ga
\-\-
-
-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
-
-\-\-
-\-\- Table structure for table \(gapbk\(ga
-\-\-
-
-CREATE TABLE \(gapbk\(ga (
- \(gaID\(ga integer NOT NULL auto_increment,
- \(gaGroupID\(ga integer NOT NULL default \(aq\-1\(aq,
- \(gaName\(ga text NOT NULL,
- \(gaNumber\(ga text NOT NULL,
- PRIMARY KEY (\(gaID\(ga)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
-
-\-\-
-\-\- Dumping data for table \(gapbk\(ga
-\-\-
-
-
-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
-
-\-\-
-\-\- Table structure for table \(gapbk_groups\(ga
-\-\-
-
-CREATE TABLE \(gapbk_groups\(ga (
- \(gaName\(ga text NOT NULL,
- \(gaID\(ga integer NOT NULL auto_increment,
- PRIMARY KEY \(gaID\(ga (\(gaID\(ga)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ;
-
-\-\-
-\-\- Dumping data for table \(gapbk_groups\(ga
-\-\-
-
-
\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
\-\-
@@ -273,6 +221,7 @@ CREATE TABLE \(gaphones\(ga (
\(gaSend\(ga enum(\(aqyes\(aq,\(aqno\(aq) NOT NULL default \(aqno\(aq,
\(gaReceive\(ga enum(\(aqyes\(aq,\(aqno\(aq) NOT NULL default \(aqno\(aq,
\(gaIMEI\(ga varchar(35) NOT NULL,
+ \(gaIMSI\(ga varchar(35) NOT NULL,
\(gaNetCode\(ga varchar(10) default \(aqERROR\(aq,
\(gaNetName\(ga varchar(35) default \(aqERROR\(aq,
\(gaClient\(ga text NOT NULL,
@@ -304,7 +253,7 @@ CREATE TABLE \(gasentitems\(ga (
\(gaUDH\(ga text NOT NULL,
\(gaSMSCNumber\(ga varchar(20) NOT NULL default \(aq\(aq,
\(gaClass\(ga integer NOT NULL default \(aq\-1\(aq,
- \(gaTextDecoded\(ga text NOT NULL default \(aq\(aq,
+ \(gaTextDecoded\(ga text NOT NULL,
\(gaID\(ga integer unsigned NOT NULL default \(aq0\(aq,
\(gaSenderID\(ga varchar(255) NOT NULL,
\(gaSequencePosition\(ga integer NOT NULL default \(aq1\(aq,
diff --git a/docs/man/gammu-smsd-null.7 b/docs/man/gammu-smsd-null.7
index 49bb2f9..5d6fc67 100644
--- a/docs/man/gammu-smsd-null.7
+++ b/docs/man/gammu-smsd-null.7
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSD-NULL" "7" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSD-NULL" "7" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsd-null \- gammu-smsd(1) backend not storing messages
.
diff --git a/docs/man/gammu-smsd-odbc.7 b/docs/man/gammu-smsd-odbc.7
index 1a8ae81..06fb62e 100644
--- a/docs/man/gammu-smsd-odbc.7
+++ b/docs/man/gammu-smsd-odbc.7
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSD-ODBC" "7" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSD-ODBC" "7" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsd-odbc \- gammu-smsd(1) backend using ODBC abstraction layer to use any supported database as a message storage
.
@@ -66,6 +66,18 @@ On Microsoft Windows, you can find instructions on Microsoft website:
.sp
For unixODBC this is documented in the user manual:
\fI\%http://www.unixodbc.org/doc/UserManual/\fP
+.SH CREATING TABLES
+.sp
+Prior to starting SMSD you have to create tables it will use. Gammu ships SQL
+scripts for several databases to do that:
+.INDENT 0.0
+.IP \(bu 2
+mysql\-create
+.IP \(bu 2
+pgsql\-create
+.IP \(bu 2
+sqlite\-create
+.UNINDENT
.SH EXAMPLE
.sp
Example configuration:
diff --git a/docs/man/gammu-smsd-pgsql.7 b/docs/man/gammu-smsd-pgsql.7
index 97b64d4..40928ef 100644
--- a/docs/man/gammu-smsd-pgsql.7
+++ b/docs/man/gammu-smsd-pgsql.7
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSD-PGSQL" "7" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSD-PGSQL" "7" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsd-pgsql \- gammu-smsd(1) backend using PostgreSQL database server as a message storage
.
@@ -65,7 +65,7 @@ host = localhost
gammu\-smsdrc
.UNINDENT
.UNINDENT
-.SH CREATING TABLES
+.SH CREATING TABLES FOR POSTGRESQL
.sp
SQL script for creating tables in PostgreSQL database:
.INDENT 0.0
@@ -106,8 +106,6 @@ $update_timestamp$ LANGUAGE plpgsql;
\-\-CREATE SEQUENCE outbox_multipart_ID_seq;
-\-\-CREATE SEQUENCE pbk_groups_ID_seq;
-
\-\-CREATE SEQUENCE sentitems_ID_seq;
\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
@@ -122,40 +120,23 @@ $update_timestamp$ LANGUAGE plpgsql;
\-\-CREATE UNIQUE INDEX outbox_multipart_pkey ON outbox_multipart USING btree ("ID");
-\-\-CREATE UNIQUE INDEX pbk_groups_pkey ON pbk_groups USING btree ("ID");
-
\-\-CREATE UNIQUE INDEX sentitems_pkey ON sentitems USING btree ("ID");
\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
-\-\-
-\-\- Table structure for table "daemons"
-\-\-
-
-CREATE TABLE daemons (
- "Start" text NOT NULL,
- "Info" text NOT NULL
-);
-
-\-\-
-\-\- Dumping data for table "daemons"
-\-\-
-
-
-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
\-\-
\-\- Table structure for table "gammu"
\-\-
CREATE TABLE gammu (
- "Version" smallint NOT NULL DEFAULT \(aq0\(aq
+ "Version" smallint NOT NULL DEFAULT \(aq0\(aq PRIMARY KEY
);
\-\-
\-\- Dumping data for table "gammu"
\-\-
-INSERT INTO gammu ("Version") VALUES (15);
+INSERT INTO gammu ("Version") VALUES (16);
\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
@@ -217,7 +198,8 @@ CREATE TABLE outbox (
"SendingTimeOut" timestamp(0) WITHOUT time zone NOT NULL DEFAULT LOCALTIMESTAMP(0),
"DeliveryReport" varchar(10) DEFAULT \(aqdefault\(aq,
"CreatorID" text NOT NULL,
- "Retries" integer DEFAULT "0",
+ "Retries" integer DEFAULT \(aq0\(aq,
+ "Priority" integer DEFAULT \(aq0\(aq,
CHECK ("Coding" IN
(\(aqDefault_No_Compression\(aq,\(aqUnicode_No_Compression\(aq,\(aq8bit\(aq,\(aqDefault_Compression\(aq,\(aqUnicode_Compression\(aq)),
CHECK ("DeliveryReport" IN (\(aqdefault\(aq,\(aqyes\(aq,\(aqno\(aq))
@@ -265,40 +247,6 @@ CREATE TABLE outbox_multipart (
\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
\-\-
-\-\- Table structure for table "pbk"
-\-\-
-
-CREATE TABLE pbk (
- "ID" serial PRIMARY KEY,
- "GroupID" integer NOT NULL DEFAULT \(aq\-1\(aq,
- "Name" text NOT NULL,
- "Number" text NOT NULL
-);
-
-\-\-
-\-\- Dumping data for table "pbk"
-\-\-
-
-
-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
-
-\-\-
-\-\- Table structure for table "pbk_groups"
-\-\-
-
-CREATE TABLE pbk_groups (
- "Name" text NOT NULL,
- "ID" serial PRIMARY KEY
-);
-
-\-\-
-\-\- Dumping data for table "pbk_groups"
-\-\-
-
-
-\-\- \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
-
-\-\-
\-\- Table structure for table "phones"
\-\-
@@ -310,6 +258,7 @@ CREATE TABLE phones (
"Send" boolean NOT NULL DEFAULT \(aqno\(aq,
"Receive" boolean NOT NULL DEFAULT \(aqno\(aq,
"IMEI" varchar(35) PRIMARY KEY NOT NULL,
+ "IMSI" varchar(35) NOT NULL,
"NetCode" varchar(10) DEFAULT \(aqERROR\(aq,
"NetName" varchar(35) DEFAULT \(aqERROR\(aq,
"Client" text NOT NULL,
diff --git a/docs/man/gammu-smsd-run.7 b/docs/man/gammu-smsd-run.7
index 52d12f3..178cbd7 100644
--- a/docs/man/gammu-smsd-run.7
+++ b/docs/man/gammu-smsd-run.7
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSD-RUN" "7" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSD-RUN" "7" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsd-run \- documentation for RunOnReceive directive
.
diff --git a/docs/man/gammu-smsd-sql.7 b/docs/man/gammu-smsd-sql.7
index c99431d..b1d05ef 100644
--- a/docs/man/gammu-smsd-sql.7
+++ b/docs/man/gammu-smsd-sql.7
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSD-SQL" "7" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSD-SQL" "7" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsd-sql \- gammu-smsd(1) backend using SQL abstraction layer to use any supported database as a message storage
.
@@ -98,11 +98,6 @@ You can customize name of all tables in the \fB[tables]\fP\&. The SQL
queries will reflect this, so it\(aqs enough to change table name in this section.
.INDENT 0.0
.TP
-.B daemons
-Name of the daemons table.
-.UNINDENT
-.INDENT 0.0
-.TP
.B gammu
Name of the gammu\-table table.
.UNINDENT
@@ -163,6 +158,9 @@ query specific, which are numeric and are specific only for given query (or set
.B \fB%I\fP
IMEI of phone
.TP
+.B \fB%S\fP
+SIM IMSI
+.TP
.B \fB%P\fP
PHONE ID (hostname)
.TP
diff --git a/docs/man/gammu-smsd-tables.7 b/docs/man/gammu-smsd-tables.7
index 69b84fb..ed78880 100644
--- a/docs/man/gammu-smsd-tables.7
+++ b/docs/man/gammu-smsd-tables.7
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSD-TABLES" "7" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSD-TABLES" "7" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsd-tables \- description of tables for database backends of gammu-smsd(1)
.
@@ -47,9 +47,6 @@ Received messages are stored in \fI\%inbox\fP table.
Transmitted messages are read from table \fI\%outbox\fP and possible subsequent parts
of the same message from \fI\%outbox_multipart\fP\&.
.SH DESCRIPTION OF TABLES
-.SS daemons
-.sp
-Information about running daemons.
.SS gammu
.sp
Table holding single field \fBVersion\fP \- version of a database schema. See
@@ -163,7 +160,7 @@ SMS relative validity like encoded using GSM specs
.B \fBSenderID\fP (text)
which SMSD instance should send this one sequence, see
\fBPhoneID\fP and smsd\-multi\&. If blank, first SMSD who
-sees this message will process it.
+sees this message first will process it.
.TP
.B \fBSendingTimeOut\fP (timestamp)
used by SMSD instance for own targets
@@ -176,6 +173,9 @@ identification of program created the message
.TP
.B \fBRetries\fP (integer)
number of attempted retries when sending this message
+.TP
+.B \fBPriority\fP (integer)
+priority of message, messages with higher priority are processed first
.UNINDENT
.SS outbox_multipart
.sp
@@ -238,6 +238,9 @@ indicates whether SMSD is receiving messages, depends on configuration directive
.B \fBIMEI\fP (text)
IMEI of phone
.TP
+.B \fBIMSI\fP (text)
+SIM IMSI
+.TP
.B \fBClient\fP (text)
client name, usually string Gammu with version
.TP
@@ -348,12 +351,6 @@ SMS relative validity like encoded using GSM specs
.B \fBCreatorID\fP (text)
copied from CreatorID from outbox table
.UNINDENT
-.SS pbk
-.sp
-Not used by SMSD currently, included only for application usage.
-.SS pbk_groups
-.sp
-Not used by SMSD currently, included only for application usage.
.SH HISTORY OF DATABASE STRUCTURE
.sp
\fBNOTE:\fP
@@ -368,10 +365,29 @@ production environment.
.sp
History of schema versions:
.sp
+16
+.INDENT 0.0
+.INDENT 3.5
+.INDENT 0.0
+.IP \(bu 2
+Removed unused \fBdaemons\fP, \fBpbk\fP and \fBpbk_groups\fP tables.
+.IP \(bu 2
+Added primary key to the \fBgammu\fP table.
+.IP \(bu 2
+Added \fBPriority\fP field to the \fI\%outbox\fP\&.
+.IP \(bu 2
+Added \fBIMSI\fP field to the \fI\%phones\fP\&.
+.UNINDENT
+.sp
+Changed in version 1.37.90.
+
+.UNINDENT
+.UNINDENT
+.sp
15
.INDENT 0.0
.INDENT 3.5
-Added \fBRetries\fP field.
+Added \fBRetries\fP field to the \fI\%outbox\fP\&.
.sp
Changed in version 1.36.7.
diff --git a/docs/man/gammu-smsd.1 b/docs/man/gammu-smsd.1
index 47b718f..0f448c7 100644
--- a/docs/man/gammu-smsd.1
+++ b/docs/man/gammu-smsd.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSD" "1" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSD" "1" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsd \- SMS daemon for Gammu
.
diff --git a/docs/man/gammu-smsdrc.5 b/docs/man/gammu-smsdrc.5
index 5919059..38edc16 100644
--- a/docs/man/gammu-smsdrc.5
+++ b/docs/man/gammu-smsdrc.5
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU-SMSDRC" "5" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU-SMSDRC" "5" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu-smsdrc \- gammu-smsd(1) configuration file
.
@@ -334,6 +334,19 @@ Default is 1 (enabled).
.UNINDENT
.INDENT 0.0
.TP
+.B CheckNetwork
+New in version 1.37.90.
+
+.sp
+Whether to check network status periodically.
+.sp
+If phone is reported to be not on the network, SMSD
+tries to power it on.
+.sp
+Default is 1 (enabled).
+.UNINDENT
+.INDENT 0.0
+.TP
.B ResetFrequency
The number of seconds between performing a preventive soft reset in order to
minimize the cases of hanging phones e.g. Nokia 5110 will sometimes freeze to
@@ -400,6 +413,9 @@ When you set PhoneID, all messages (including injected ones) will be marked
by this string (stored as SenderID in the database) and it allows more SMS
daemons to share a single database.
.sp
+SMSD daemon will in such case send outbox messages only with
+matching or empty SenderID.
+.sp
This option has actually no effect with gammu\-smsd\-files\&.
.UNINDENT
.INDENT 0.0
@@ -653,6 +669,8 @@ Possible values:
.IP \(bu 2
\fBaccess\fP \- Microsoft Access
.IP \(bu 2
+\fBoracle\fP \- Oracle
+.IP \(bu 2
\fBodbc\fP \- Generic ODBC
.UNINDENT
.sp
diff --git a/docs/man/gammu.1 b/docs/man/gammu.1
index 99c5764..38ea0ec 100644
--- a/docs/man/gammu.1
+++ b/docs/man/gammu.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMU" "1" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMU" "1" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammu \- Does some neat things with your cellular phone or modem.
.
@@ -1884,13 +1884,6 @@ Displays information about battery and power source.
.UNINDENT
.INDENT 0.0
.TP
-.B getlocation
-Gets network information from phone (same as networkinfo)
-and prints location (latitude and longitude) based on information from
-\fI\%OpenCellID\fP\&.
-.UNINDENT
-.INDENT 0.0
-.TP
.B getsecuritystatus
Show, if phone wait for security code (like PIN, PUK, etc.) or not
.UNINDENT
@@ -2232,13 +2225,13 @@ Can\(aqt set parity on the device.
No response in specified timeout. Probably phone not connected.
.TP
.B 115
-Frame not requested right now. See <\fI\%http://wammu.eu/support/bugs/\fP> for information how to report it.
+Frame not requested right now. See <\fI\%https://wammu.eu/support/bugs/\fP> for information how to report it.
.TP
.B 116
-Unknown response from phone. See <\fI\%http://wammu.eu/support/bugs/\fP> for information how to report it.
+Unknown response from phone. See <\fI\%https://wammu.eu/support/bugs/\fP> for information how to report it.
.TP
.B 117
-Unknown frame. See <\fI\%http://wammu.eu/support/bugs/\fP> for information how to report it.
+Unknown frame. See <\fI\%https://wammu.eu/support/bugs/\fP> for information how to report it.
.TP
.B 118
Unknown connection type string. Check config file.
@@ -2630,7 +2623,7 @@ With this settings, Gammu generates /tmp/gammu.log on each connection to
phone and stores dump of communication there. You can also find some
hints for improving support for your phone in this log.
.sp
-See <\fI\%http://wammu.eu/support/bugs/\fP> for more information on reporting bugs.
+See <\fI\%https://wammu.eu/support/bugs/\fP> for more information on reporting bugs.
.sp
Please report bugs to \fI\%Gammu bug tracker\fP\&.
.SH AUTHOR
diff --git a/docs/man/gammurc.5 b/docs/man/gammurc.5
index b53d37a..dc19f6f 100644
--- a/docs/man/gammurc.5
+++ b/docs/man/gammurc.5
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "GAMMURC" "5" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "GAMMURC" "5" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
gammurc \- gammu(1) configuration file
.
@@ -62,7 +62,7 @@ You can use gammu\-config or gammu\-detect to generate
configuration file or start from \fI\%Fully documented example\fP\&.
.sp
For hints about configuring your phone, you can check Gammu Phone
-Database <\fI\%http://wammu.eu/phones/\fP> to see what user users
+Database <\fI\%https://wammu.eu/phones/\fP> to see what user users
experienced.
.sp
This file use ini file syntax, see ini\&.
diff --git a/docs/man/jadmaker.1 b/docs/man/jadmaker.1
index 9007a0f..411e74a 100644
--- a/docs/man/jadmaker.1
+++ b/docs/man/jadmaker.1
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "JADMAKER" "1" "Aug 16, 2016" "1.37.4" "Gammu"
+.TH "JADMAKER" "1" "Oct 18, 2016" "1.37.90" "Gammu"
.SH NAME
jadmaker \- JAD File Generator
.