SMS notification

MBY6 years ago

there is no sms templates in version 4 and no sms sent when i try to send a test message
does it remove from a traccar?????

Anton Tananaev6 years ago

Of course it was not removed.

Aleksandr6 years ago

Please tell me how to add the function of sending sms in version 4. There is no option to choose sms, only mail and web.

Anton Tananaev6 years ago

Same as before.

Aleksandr6 years ago

When sending SMS to the device, it generates an error (SMS is not enabled - RuntimeException (BaseProtocol: 105 <CommandsManager: 62 <CommandResource: 72 <...)). The configuration that worked in version 3.17 was added to the defaul.xml. And in the choice of notifications there is no option for SMS

Anton Tananaev6 years ago

Make sure that you set sms.enable to true in the configuration file.

tambiu6 years ago

I have found the problem, this new traccar version 4.0, check default.xml , the line

<entry key='notificator.types'>web,mail</entry>

It is missing sms, change to

<entry key='notificator.types'>web,mail,sms</entry>
Aleksandr6 years ago

Yes, thank you. I already found it, too. But I could not just turn on SMS. In version 3.17, there was an

<entry key='sms.smpp.enable'>true</ entry>

and version 4 included

<entry key='sms.enable'>true</ entry>
tambiu6 years ago

Another think that I have noted, there are anothers folders names in the path /opt/traccar/templates/ in the version 3.17 the sms folder is named SMS, I think this new traccar 4.0 the folder name is SHORT.