Open benjamin-kirkbride opened 1 year ago
@tananaev I have enabled the "send long messages as MMS" in the app, but they do not seem to be sent, and if I get over 160 it is not sent, not even split:
https://github.com/traccar/traccar-sms-gateway/pull/10
This seems to fix this, but apparently not happening for me at least.
Are you talking about API calls or messages you send from the app itself?
Are you talking about API calls or messages you send from the app itself?
API calls
API calls are different. App settings are only applied to what you send from the app itself.
API calls are different. App settings are only applied to what you send from the app itself.
OK, is there another parameter or payload I can use to make SMS work with the API?
Ref. https://www.traccar.org/http-sms-api/ has no docs on it. Sorry for being lazy not checking the source code :p
I think I might have found the issue, will test later and get back to this thread if I solve it :)
There's no configuration parameter for it currently.
There's no configuration parameter for it currently.
OK, so it is expected not to work? - I tested manually in the app and it works to send MMS, but it fails with the API 🥲
I might make a PR if it does not work, is that something you want @tananaev?
Have to use:
In the API code somewhere, the GateWayService:
Sure, feel free to send a PR.
Is there any way to send an MMS?