aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index 5b22120d7..3c3dac874 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -85,6 +85,7 @@ import org.traccar.notification.JsonTypeEventForwarder;
import org.traccar.notification.NotificatorManager;
import org.traccar.reports.model.TripsConfig;
import org.traccar.sms.SmsManager;
+import org.traccar.sms.smpp.SmppClient;
import org.traccar.web.WebServer;
import javax.ws.rs.client.Client;
@@ -422,7 +423,7 @@ public final class Context {
tripsConfig = initTripsConfig();
if (config.getBoolean("sms.enable")) {
- final String smsManagerClass = config.getString("sms.manager.class", "org.traccar.smpp.SmppClient");
+ final String smsManagerClass = config.getString("sms.manager.class", SmppClient.class.getCanonicalName());
try {
smsManager = (SmsManager) Class.forName(smsManagerClass).newInstance();
} catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) {