ive upgraded to 4.0 from 3.16 and in 3.16 smpp and send sms was ok, so when i updated with the same config im getting this message
NullPointerException (NotificatorSms:55 < NotificationResource:63 < ...)
my config
<entry key='sms.smpp.enable'>true</entry>
<entry key='sms.smpp.host'>satelint.ddns.net</entry>
<entry key='sms.smpp.port'>7778</entry>
<entry key='sms.smpp.username'>****</entry>
<entry key='sms.smpp.password'>****</entry>
<entry key='sms.smpp.notificationsCharset'>GSM</entry>
<entry key='sms.smpp.notificationsDataCoding'>0</entry>
<entry key='sms.smpp.sourceAddress'>+519999999</entry>
this is log extract
2018-11-04 00:49:37 INFO: [320c5f4c] connected
2018-11-04 00:49:37 DEBUG: [320c5f4c: 5023 < 179.7.61.194] HEX: 78780d010352887073054060008f3edb0d0a
2018-11-04 00:49:37 DEBUG: [320c5f4c: 5023 > 179.7.61.194] HEX: 78780501008fb4aa0d0a
2018-11-04 00:49:37 WARN: [320c5f4c] error - NullPointerException (NotificationManager:49 < *:87 < *:105 < ConnectionManager:107 < BaseProtocolDecoder:245 < ...)
2018-11-04 00:49:37 INFO: [320c5f4c] disconnected
2018-11-04 00:49:37 WARN: [320c5f4c] error - NullPointerException (NotificationManager:49 < *:87 < *:105 < ConnectionManager:107 < *:66 < MainEventHandler:98 < ...)
2018-11-04 00:49:37 DEBUG: [4aa85282: 5023 < 176.83.138.173] HEX: 78781f12120b04040534cc012cad200854a2672f396602cc06046f000a3500d74e0a0d0a
2018-11-04 00:49:37 DEBUG: [4aa85282: 5023 > 176.83.138.173] HEX: 7878051200d700960d0a
whats the problem?
Make sure you check documentation first before asking on forum.
Dear Anton ! I have emailed and asked so many times that When I send SMS through Custom Commands it sends but it does not send Notification ? Can You guide ? What will you loose if you just make an answer ?
The config changed and this:
<entry key='sms.smpp.enable'>true</entry>
Is now meant to be:
<entry key='sms.enable'>true</entry>
https://www.traccar.org/documentation/notifications/
Having said that I see no SMS as a valid Channel in any notifications options since I moved to 4.x from 3.16
Also this one now I see needs to be included in config from documentation
<entry key='notificator.types'>web,mail,sms</entry>
ive upgraded to 4.0 from 3.16 and in 3.16 smpp and send sms was ok, so when i updated with the same config im getting this message
my config
<entry key='sms.smpp.enable'>true</entry> <entry key='sms.smpp.host'>satelint.ddns.net</entry> <entry key='sms.smpp.port'>7778</entry> <entry key='sms.smpp.username'>****</entry> <entry key='sms.smpp.password'>****</entry> <entry key='sms.smpp.notificationsCharset'>GSM</entry> <entry key='sms.smpp.notificationsDataCoding'>0</entry> <entry key='sms.smpp.sourceAddress'>+519999999</entry>
this is log extract
whats the problem?