SMS documentation

shawn8087 years ago

Hello, where can i see the documentation for the SMS feature ? I haven't updated yet but how does it work?

Anton Tananaev7 years ago
shawn8087 years ago

it's really nice, thank you for this feature! i am not sure about setting up external SMPP server. the only one i keep coming up with is this,
http://www.jasminsms.com/download/

do you personally recommend any ? i am guessing in order to use this we need to sign up with a paid platform to do the sms part?

Anton Tananaev7 years ago

I don't think there is a free option for SMPP server. If you want to test the feature, you can try one of the app that allow to run SMPP server on your mobile phone. I can't recommend anything at this point.

I tried to get access to Twillio SMPP service, but they haven't replied yet:

https://www.twilio.com/sms/features/smpp-early-access

shawn8087 years ago

i know this is not a solid solution but i came across something. so for example many carriers like Verizon and Att offer email texting for example if i want to send a text from email i just need to place my number for example, "123456789@vtext.com" and it will send text message to my phone. however this only work within verizon. and most people i know use verizon so it shouldnt be a problem. i just need to setup email notifications and point email to my number with the ending @vtext.com. however can we setup traccar to send notifications to more than just one email address?

For anyone wanting to try this out read this,
https://www.verizonwireless.com/news/article/2013/06/computer-to-phone-text-messaging.html

shawn8087 years ago

here are some carriers that offer text from email

SPRINT
@messaging.sprintpcs.com

Verizon
@vtext.com

AT&T
@txt.att.net (text message)
@mms.att.net (picture or video message)

More can be found here
http://www.digitaltrends.com/mobile/how-to-send-e-mail-to-sms-text/

jaimzj7 years ago

Hello,

For commercial SMPP account , you can try www.routesms.com they are an aggregator for SMS services and provide SMPP account for almost all regions and are based out of India. with Tie-up with majority Operators globally.

Commercially If its viable for your region, you can reach out to them and see.

In a way as far as what I know the best bet is to look for Bulk SMS service providers from your own Country/Region who provides SMPP access.

If you can let me know your region, I could try to point you to the right operator to subscribe with probably.

shawn8087 years ago

Anton, can we setup traccar to send notifications to more than just one email address per each notification ?

Anton Tananaev7 years ago

No, it's not possible at the moment.

shawn8087 years ago

really? can i do this edit myself?

Anton Tananaev7 years ago

It can be sent to one email per user at the moment. If you have multiple users, you will have multiple emails per notification of course.

renaud7 years ago

At this point, it might be good to be able to select which devices will trigger the SMS notification. If you have plenty of devices, you probably don't want that every device send "online" notification with SMS as this is clearly not free.

I am a customer at Nexmo for SMS, but they don't want to open the SMPP service for low volumes. Most services on the internet are using a HTTP API for sending SMS.

Clickatell had the widest offer of APIs (SMPP, email) but is only offering HTTP/REST nowadays.

Anton Tananaev7 years ago

The problem with HTTP APIs is that there is no standard. Each service has its own API.

renaud7 years ago

Yes, indeed, but the user could be able to insert his own URL scheme, just like how you configure smpp.
For example this is how clickatell works: https://api.clickatell.com/http/sendmsg?user=TestUser&password=TestPassword&api_id=3148203&to=886123456789&text=Hello+world

A configuration file could be like:
<entry key='sms.http.enable'>true</entry>
<entry key='sms.http.url'>https://api.clickatell.com/http/sendmsg?user=TestUser&password=TestPassword&api_id=3148203&to=%phone%&text=%text%</entry>

And traccar could just replace %phone% by the user phone number and %text% by the text.
That's about how Synology does.

Anton Tananaev7 years ago

Some other services might expect data in the request body, not URL. I think if we decide to support HTTP APIs, we should implement it the same way as geocoding and geolocation.