Traccar Android SMS Gateway

Michaell Oliveira 4 years ago

Error try send short message

Parameters:
*field to changed for real phone

POST https://www.traccar.org/sms/
{
	"to":"000000000",
	"message":"test"
}
headers:
Authorization: "app token"
ContentType: application/json

Return:

{
  "multicast_id": 365739907006522400,
  "success": 0,
  "failure": 1,
  "canonical_ids": 0,
  "results": [
    {
      "error": "MismatchSenderId"
    }
  ]
}
Anton Tananaev 4 years ago

Are you using official version of the app?

Michaell Oliveira 4 years ago

Yes, download source code and build.

Anton Tananaev 4 years ago

Then it won't work obviously. Your signatures won't match the official app. Are you also using our Firebase config?

Michaell Oliveira 4 years ago

Ah... of course then!
It was not clear from the documentation that there was this requirement to use the traccar domain.

I will download it through the playstore and use the official app.

Thanks for the feedback.