diff options
Diffstat (limited to 'docs/man')
-rw-r--r-- | docs/man/gammu-backup.5 | 2 | ||||
-rw-r--r-- | docs/man/gammu-config.1 | 2 | ||||
-rw-r--r-- | docs/man/gammu-detect.1 | 2 | ||||
-rw-r--r-- | docs/man/gammu-smsbackup.5 | 2 | ||||
-rw-r--r-- | docs/man/gammu-smsd-dbi.7 | 2 | ||||
-rw-r--r-- | docs/man/gammu-smsd-files.7 | 2 | ||||
-rw-r--r-- | docs/man/gammu-smsd-inject.1 | 2 | ||||
-rw-r--r-- | docs/man/gammu-smsd-monitor.1 | 2 | ||||
-rw-r--r-- | docs/man/gammu-smsd-mysql.7 | 2 | ||||
-rw-r--r-- | docs/man/gammu-smsd-null.7 | 2 | ||||
-rw-r--r-- | docs/man/gammu-smsd-odbc.7 | 2 | ||||
-rw-r--r-- | docs/man/gammu-smsd-pgsql.7 | 2 | ||||
-rw-r--r-- | docs/man/gammu-smsd-run.7 | 26 | ||||
-rw-r--r-- | docs/man/gammu-smsd-sql.7 | 2 | ||||
-rw-r--r-- | docs/man/gammu-smsd-tables.7 | 2 | ||||
-rw-r--r-- | docs/man/gammu-smsd.1 | 4 | ||||
-rw-r--r-- | docs/man/gammu-smsdrc.5 | 2 | ||||
-rw-r--r-- | docs/man/gammu.1 | 2 | ||||
-rw-r--r-- | docs/man/gammurc.5 | 2 | ||||
-rw-r--r-- | docs/man/jadmaker.1 | 2 |
20 files changed, 38 insertions, 28 deletions
diff --git a/docs/man/gammu-backup.5 b/docs/man/gammu-backup.5 index aea85ba..7748251 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-BACKUP" "5" "Mar 28, 2017" "1.38.2" "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 5320b7b..f0fc5f3 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-CONFIG" "1" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammu-config \- Gammu configurator . diff --git a/docs/man/gammu-detect.1 b/docs/man/gammu-detect.1 index 120fc87..20580cb 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-DETECT" "1" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammu-detect \- Gammu device detection . diff --git a/docs/man/gammu-smsbackup.5 b/docs/man/gammu-smsbackup.5 index fa41840..b132f00 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSBACKUP" "5" "Mar 28, 2017" "1.38.2" "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 f6850c9..3d64941 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSD-DBI" "7" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammu-smsd-dbi \- gammu-smsd(1) backend using DBI abstraction layer to use any supported database as a message storage . diff --git a/docs/man/gammu-smsd-files.7 b/docs/man/gammu-smsd-files.7 index 44a191b..c50b5bc 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSD-FILES" "7" "Mar 28, 2017" "1.38.2" "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 be79318..ab342c3 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSD-INJECT" "1" "Mar 28, 2017" "1.38.2" "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 4866217..a2b0746 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSD-MONITOR" "1" "Mar 28, 2017" "1.38.2" "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 5235809..6e10cb0 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSD-MYSQL" "7" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammu-smsd-mysql \- gammu-smsd(1) backend using MySQL database server as a message storage . diff --git a/docs/man/gammu-smsd-null.7 b/docs/man/gammu-smsd-null.7 index 0923396..399058c 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSD-NULL" "7" "Mar 28, 2017" "1.38.2" "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 77a90ce..baf8c88 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSD-ODBC" "7" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammu-smsd-odbc \- gammu-smsd(1) backend using ODBC abstraction layer to use any supported database as a message storage . diff --git a/docs/man/gammu-smsd-pgsql.7 b/docs/man/gammu-smsd-pgsql.7 index 09c2284..03c50ab 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSD-PGSQL" "7" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammu-smsd-pgsql \- gammu-smsd(1) backend using PostgreSQL database server as a message storage . diff --git a/docs/man/gammu-smsd-run.7 b/docs/man/gammu-smsd-run.7 index 3195a6c..920e81d 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSD-RUN" "7" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammu-smsd-run \- documentation for RunOnReceive directive . @@ -75,6 +75,15 @@ Number of physical messages received. .B DECODED_PARTS Number of decoded message parts. .UNINDENT +.INDENT 0.0 +.TP +.B PHONE_ID +New in version 1.38.2. + +.sp +Value of \fBPhoneID\fP\&. Useful when running multiple instances +(see smsd\-multi). +.UNINDENT .SS Per message variables .sp The variables further described as \fBSMS_1_...\fP are generated for each physical @@ -249,17 +258,16 @@ import sys numparts = int(os.environ[\(aqDECODED_PARTS\(aq]) +text = \(aq\(aq # Are there any decoded parts? if numparts == 0: - print(\(aqNo decoded parts!\(aq) - sys.exit(1) - + text = os.environ[\(aqSMS_1_TEXT\(aq] # Get all text parts -text = \(aq\(aq -for i in range(1, numparts + 1): - varname = \(aqDECODED_%d_TEXT\(aq % i - if varname in os.environ: - text = text + os.environ[varname] +else: + for i in range(0, numparts): + varname = \(aqDECODED_%d_TEXT\(aq % i + if varname in os.environ: + text = text + os.environ[varname] # Do something with the text print(\(aqNumber %s have sent text: %s\(aq % (os.environ[\(aqSMS_1_NUMBER\(aq], text)) diff --git a/docs/man/gammu-smsd-sql.7 b/docs/man/gammu-smsd-sql.7 index d1dfab8..27123cb 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSD-SQL" "7" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammu-smsd-sql \- gammu-smsd(1) backend using SQL abstraction layer to use any supported database as a message storage . diff --git a/docs/man/gammu-smsd-tables.7 b/docs/man/gammu-smsd-tables.7 index 96d2194..ae6bfe1 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSD-TABLES" "7" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammu-smsd-tables \- description of tables for database backends of gammu-smsd(1) . diff --git a/docs/man/gammu-smsd.1 b/docs/man/gammu-smsd.1 index d6b03e5..19d7452 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSD" "1" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammu-smsd \- SMS daemon for Gammu . @@ -311,6 +311,8 @@ fi .fi .UNINDENT .UNINDENT +.sp +Or even create a \fIgammu\-safe\fP script: .SH KNOWN LIMITATIONS .sp You can not use same phone by more programs in same time. However in case you diff --git a/docs/man/gammu-smsdrc.5 b/docs/man/gammu-smsdrc.5 index 8c7addb..06671ab 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" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU-SMSDRC" "5" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammu-smsdrc \- gammu-smsd(1) configuration file . diff --git a/docs/man/gammu.1 b/docs/man/gammu.1 index 9ca6c71..f82625a 100644 --- a/docs/man/gammu.1 +++ b/docs/man/gammu.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "GAMMU" "1" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMU" "1" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammu \- Does some neat things with your cellular phone or modem. . diff --git a/docs/man/gammurc.5 b/docs/man/gammurc.5 index 0f16a02..adcbfc6 100644 --- a/docs/man/gammurc.5 +++ b/docs/man/gammurc.5 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "GAMMURC" "5" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "GAMMURC" "5" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME gammurc \- gammu(1) configuration file . diff --git a/docs/man/jadmaker.1 b/docs/man/jadmaker.1 index ce5c397..2b195f1 100644 --- a/docs/man/jadmaker.1 +++ b/docs/man/jadmaker.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "JADMAKER" "1" "Jan 05, 2017" "1.38.1" "Gammu" +.TH "JADMAKER" "1" "Mar 28, 2017" "1.38.2" "Gammu" .SH NAME jadmaker \- JAD File Generator . |