Traccar SMS Gateway for Android

Anton Tananaev4 years ago

Not possible in Traccar, but you can probably have a proxy or a script that would do it.

davejh4 years ago

Hi Anton
You say there is no keys or authentication, What about the api key?

Anton Tananaev4 years ago

Where did I say "no keys or authentication"?

davejh4 years ago

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".

Anton Tananaev4 years ago

That was applicable to an earlier version of the app. It's no longer the case.

davejh3 years ago

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.

Anton Tananaev3 years ago

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.

Eduardo Lopez3 years ago

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

David3 years ago

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?

Ray3 years ago

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

homa3 years ago

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?

Anton Tananaev3 years ago

You'll have to write your own web service that would route notifications to different gateways. Traccar only supports one.

Rody2 years ago

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.

smsoousa2 years ago

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
Anton Tananaev2 years ago

It expects JSON format.