aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-02-18 10:36:30 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-02-18 10:36:56 +1300
commit7cf9835a62b7b4c4938b8422f72e1f661b4c01d0 (patch)
treec3ebc26ba017f92469cb02cad0ca70836d7c90ed /src/org/traccar
parentad5c4cb2031ff706c6416c6d24d1f5f421633f73 (diff)
downloadtrackermap-server-7cf9835a62b7b4c4938b8422f72e1f661b4c01d0.tar.gz
trackermap-server-7cf9835a62b7b4c4938b8422f72e1f661b4c01d0.tar.bz2
trackermap-server-7cf9835a62b7b4c4938b8422f72e1f661b4c01d0.zip
Option to set SMPP system type
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/smpp/SmppClient.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/smpp/SmppClient.java b/src/org/traccar/smpp/SmppClient.java
index 7add1d97c..602087a65 100644
--- a/src/org/traccar/smpp/SmppClient.java
+++ b/src/org/traccar/smpp/SmppClient.java
@@ -83,6 +83,7 @@ public class SmppClient {
sessionConfig.setHost(Context.getConfig().getString("sms.smpp.host", "localhost"));
sessionConfig.setPort(Context.getConfig().getInteger("sms.smpp.port", 2775));
sessionConfig.setSystemId(Context.getConfig().getString("sms.smpp.username", "user"));
+ sessionConfig.setSystemType(Context.getConfig().getString("sms.smpp.systemType", null));
sessionConfig.setPassword(Context.getConfig().getString("sms.smpp.password", "password"));
sessionConfig.getLoggingOptions().setLogBytes(false);
sessionConfig.getLoggingOptions().setLogPdu(Context.getConfig().getBoolean("sms.smpp.logPdu"));