[docker] Unable to activate sms notification

dokhoa year ago

Hi!

First sorry for my bad english ...

I'm using traccar on docker and i would like to use ntfy server for my SMS notifications but "SMS" does not appear in the available channels.

Here is my config:

    <entry key='notificator.types'>sms,web,mail</entry>
    <entry key='sms.http.url'>https://ntfy.xxx.fr</entry>
    <entry key='sms.http.template'>
        {
            "topic": "{phone}",
            "message": "{message}"
        }
    </entry>
    <entry key='sms.http.authorization'>Bearer tk_xxx</entry>

Does anyone have an idea, please ?

Anton Tananaeva year ago

It probably means that Traccar is not using this config.

dokhoa year ago

Indeed, I made an error in the configuration of my container ...

Thank you.