summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorAndreas Eversberg2009-05-11 11:07:58 +0200
committerAndreas Eversberg2009-05-11 11:07:58 +0200
commit20a671d76854520ad9d5ea9d481e008240465e62 (patch)
treefbfd12696b1d31b347e85442f1e9ed37ccfda0d8 /options.c
parentApplied patch by Daniel: "execute"-action can now be performed on call init o... (diff)
downloadlcr-20a671d76854520ad9d5ea9d481e008240465e62.tar.gz
lcr-20a671d76854520ad9d5ea9d481e008240465e62.tar.xz
lcr-20a671d76854520ad9d5ea9d481e008240465e62.zip
Added GSM network support.
This turns LCR into a GSM mobile switching center. More infos will follow.
Diffstat (limited to 'options.c')
-rw-r--r--options.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/options.c b/options.c
index 160a8a8..b76059e 100644
--- a/options.c
+++ b/options.c
@@ -31,7 +31,8 @@ struct options options = {
0, /* by default use priority 0 */
"lcr@your.machine", /* source mail adress */
"/var/tmp", /* path of lock files */
- 0700 /* rights of lcr admin socket */
+ 0700, /* rights of lcr admin socket */
+ 0 /* enable gsm */
};
char options_error[256];
@@ -249,6 +250,10 @@ int read_options(void)
{
options.socketrights = strtol(param, NULL, 0);
} else
+ if (!strcmp(option,"gsm"))
+ {
+ options.gsm = 1;
+ } else
{
SPRINT(options_error, "Error in %s (line %d): wrong option keyword %s.\n", filename,line,option);
goto error;