Hi Anton
You say there is no keys or authentication, What about the api key?
Where did I say "no keys or authentication"?
https://www.traccar.org/forums/topic/traccar-sms-gateway-for-android/page/2/
Traccar SMS Gateway for Android
I just caught part of a post where you said "One note though, there are no keys or authentication, so it would be very insecure to expose it to everyone on the internet".
That was applicable to an earlier version of the app. It's no longer the case.
Hi Pete.
Just a note regarding your post where you say to say "2.Make sure the Android device is on the same network as the server."
You don't need to have the android device on the same network as the Traccar server. My Traccar server is hosted at AWS and SMS works flawlessly with the SMS gateway app that is on my home WIFI network.
All you need to do is in your router settings port forward your router public ip to the gateway ip . In most routers this is very easy to do. Some routers not so easy and some routers don't even give you the option. but Google helps here.
It helps if you have a dedicated ip of course or like Anton said use a dns service.
We have released an updated version (3.0) that allows to send SMS via push notifications instead of direct connection to the phone. This means that you don't need to worry about having your phone on the same network or having a public IP. That does mean that it has to be sent though our server, but for people who prefer complete independence there's always an option of direct connection.
I configured it and it worked perfectly with version 3.0 but after 3 or 5 test messages it stopped working and I could no longer make it send messages again, this was locally and it was also done with the public ip of the cell phone what does the app have
Buscando en el foro, estoy probando la version 3.0 pero no tengo clara la configuracion final, actualmente tengo la apps instalade en mi celular androide, y esta conectado a una ip local de mi wi fi, paso mi configuracion:
<entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
<entry key='sms.http.url'>http://192.168.0.18:8082/</entry>
<entry key='sms.http.template'>
{
"to": "{phone}",
"message": "{message}"
}
</entry>
estoy haciendo algo mal?
Hello,
Does every user with a device needs the sms gateway? And do i have to add every user with his own api in the config file??
Regards,
Ray
Hi! Can you tell, how I can use few SMS-gatways in config? For example I want send one notification way from one SMS-gateway and another notification type over second SMS-gateway?
You'll have to write your own web service that would route notifications to different gateways. Traccar only supports one.
I use this app for a while now and since a view months it keeps stopping the app.
When i go to the app on the phone i have to start the gateway again and then it works for a few days.
Does anyone have these same problems?
The app runs on a Samsung S9 (SM-G960F) with Android 10.
Hello Anton, is it possible to use the URL generated by the app in the browser for sending sms via post http?
Ex:
http://192.168.0.18:8082/send?password=123456&to=123456789&message=test
It expects JSON format.
Not possible in Traccar, but you can probably have a proxy or a script that would do it.