Hi i have some doubts about SMS Gateway for android.
I can have the Server in one Ip address, and the phone with another ip, like 2 differents places??? or need to be in the same network??
<entry key='notificator.types'>web,mail,sms</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>
On http.url - if i have my traccar server with a domain name i need to put something like this https://gps.traccardomain.com
or i need to put here the ip of the phone??
On authorization - Here the app on the phone give me 2 options Cloud Token or Local Token, if i have the phone in the same network i think i can use local, but if i have the server in one place, and the phone in other??
Thanks
Local means that Traccar will connect directly to your phone. They don't have to be on the same network, but your phone has to be accessible.
Cloud means that it goes through the push notifications and our server. It doesn't require your phone to be accessible directly from Traccar.
Great. So I need to use cloud in my case.
The only doubt it's what I need to put in this line.
<entry key='sms.http.url'>https://www.traccar.org/sms/</entry>
I need to put the address of the traccar server??
If you use cloud option, you keep it as is.
Excellent, its working, many thanks Anton
Hi i have some doubts about SMS Gateway for android.
I can have the Server in one Ip address, and the phone with another ip, like 2 differents places??? or need to be in the same network??
<entry key='notificator.types'>web,mail,sms</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>
On http.url - if i have my traccar server with a domain name i need to put something like this
https://gps.traccardomain.com
or i need to put here the ip of the phone??On authorization - Here the app on the phone give me 2 options Cloud Token or Local Token, if i have the phone in the same network i think i can use local, but if i have the server in one place, and the phone in other??
Thanks