custom sms settings

gps lite4 years ago

I have configured the sms alerts inside the traccar.xml file with the following format

<entry key = 'notificator.types'> web, mail, sms </entry>
<entry key = 'notificator.sms.manager.class'> org.traccar.sms.HttpSmsClient </entry>
<entry key = 'sms.http.url'> https://api.bulksms.com/v1/messages </entry>
<entry key = 'sms.http.user'> [YOUR TOKEN ID] </entry>
<entry key = 'sms.http.password'> [YOUR TOKEN SECRET] </entry>
<entry key = 'sms.http.template'>
    {
        "to": "{phone}",
        "body": "{message}"
    }
</entry>

but this only allows me to send the message to a phone number.
How can I send notifications to the default numbers of my clients?

Anton Tananaev4 years ago

Not sure I understand the question.