diff options
author | Abyss777 <abyss@fox5.ru> | 2017-02-22 16:25:47 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-02-22 16:25:47 +0500 |
commit | 53236979ca2298a4722512d49f5ebb07b550a914 (patch) | |
tree | de8e559fce581f6096ed4993b03c71af3d7dfa91 /src/org/traccar/smpp/SmppClient.java | |
parent | bd2a8efaddacbd8d8386ae38f000b633845639ab (diff) | |
download | trackermap-server-53236979ca2298a4722512d49f5ebb07b550a914.tar.gz trackermap-server-53236979ca2298a4722512d49f5ebb07b550a914.tar.bz2 trackermap-server-53236979ca2298a4722512d49f5ebb07b550a914.zip |
- Simplify delivery log message
- Use warning instead of error
Diffstat (limited to 'src/org/traccar/smpp/SmppClient.java')
-rw-r--r-- | src/org/traccar/smpp/SmppClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/smpp/SmppClient.java b/src/org/traccar/smpp/SmppClient.java index a1d56c2bf..b93253de4 100644 --- a/src/org/traccar/smpp/SmppClient.java +++ b/src/org/traccar/smpp/SmppClient.java @@ -193,7 +193,7 @@ public class SmppClient { submit.setSourceAddress(new Address(sourceTon, sourceNpi, sourceAddress)); submit.setDestAddress(new Address(destTon, destNpi, destAddress)); submit.setRegisteredDelivery(SmppConstants.REGISTERED_DELIVERY_SMSC_RECEIPT_REQUESTED); - submit.setDataCoding((byte) dataCoding); + submit.setDataCoding(dataCoding); submit.setShortMessage(textBytes); SubmitSmResp submitResponce = getSession().submit(submit, submitTimeout); Log.debug("SMS submited, msg_id: " + submitResponce.getMessageId()); |