Can not choose an option for HTTP SMS API notification !

Macan5 years ago

Hi again,
Please, why can not I choose an option on the traccar web server to receive notifications via SMS messages ?

this is my traccar.xml config :

<entry key='sms.enable'>true</entry>
<entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
<entry key='sms.http.url'>https://smsgateway.me/api/v4/message/send</entry>
<entry key='sms.http.authorization'>MY KEY</entry>
<entry key='sms.http.template'>
    [{
        "phone_number": "{phone}",
        "message": "{message}",
        "device_id": 1
    }]
</entry>

I do not have option on web to choose sms notification:
https://ibb.co/2gBwhz0

Anton Tananaev5 years ago

You need to enable it in the notificator.types config parameter.

Macan5 years ago

Thank you Anton for fast answer.

Regards