Hello everyone, I have my traccar server configured to send push and web notifications, however it asked me to send SMS as well, so I decided to use the traccar SMS gateway app, however the SMS are not sent and a very long ror message appears at the bottom of the screen, this is my configuration
<entry key='notificator.types'>web,firebase,sms</entry>
<entry key='notificator.firebase.serviceAccount'>
{
"type": "service_account",
"project_id": "PROJECT_ID",
"private_key_id": "PRIVATE_ID",
"private_key": "PRIVATE_kEY"
}
</entry>
<entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
<entry key='sms.http.url'>https://www.traccar.org/sms/</entry>
<entry key='sms.http.authorization'>TOKEN</entry>
<entry key='sms.http.template'>
{
"to": "{phone}",
"message": "{message}"
}
</entry>
I use a similar configuration for a server that had a very old version of traccar, but it works without any problems.
If anyone could help me with this question I would greatly appreciate it. I use Traccar Server version 6.5.
I forgot to mention that web and push notifications work perfectly, the problem is with SMS notifications.
pdta: Sorry for my terrible English
I recommend upgrading first. If it still doesn't work, there's probably some issue with the token.
Hello everyone, I have my traccar server configured to send push and web notifications, however it asked me to send SMS as well, so I decided to use the traccar SMS gateway app, however the SMS are not sent and a very long ror message appears at the bottom of the screen, this is my configuration
<entry key='notificator.types'>web,firebase,sms</entry> <entry key='notificator.firebase.serviceAccount'> { "type": "service_account", "project_id": "PROJECT_ID", "private_key_id": "PRIVATE_ID", "private_key": "PRIVATE_kEY" } </entry> <entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry> <entry key='sms.http.url'>https://www.traccar.org/sms/</entry> <entry key='sms.http.authorization'>TOKEN</entry> <entry key='sms.http.template'> { "to": "{phone}", "message": "{message}" } </entry>
I use a similar configuration for a server that had a very old version of traccar, but it works without any problems.
If anyone could help me with this question I would greatly appreciate it. I use Traccar Server version 6.5.
I forgot to mention that web and push notifications work perfectly, the problem is with SMS notifications.
pdta: Sorry for my terrible English