Disabling SMS notification function

Laszlo8 years ago

Hi,

Is this any way to disable the SMS function on the server completely?
I have no access to any SMPP servers to make this function work but the option - even if it is not configured - present on the web surface and dodo users will think that they will get an SMS when it will never happen.
Now I use 3.11 because this version still "free" from this function, but I also love the newly developed functions and bug-fixes.
I tried to modify the stuff on the web surface and remove the SMS column from the notification settings and I got minimal success in the debug mode but I hope that there is an easier way to do it.

Anton Tananaev8 years ago

It should be fairly easy to remove to from user interface, but you would need to modify JavaScript code.

Laszlo8 years ago

Thanks for the answer - at least I was on a good track.
When I did it, I could make it happen on the debug version but I could not realise any change in the "normal" web interface.
Where should I start to look if I want to change the normal/main interface forms? (Which files are my friends?)

Anton Tananaev8 years ago

You need to compile minified version using minify.sh shell script from the repository.

Laszlo8 years ago

Thanks! It was definitely a missing step. You are awesome. Big like :)

visiondrive8 years ago

What about the limit commands option when you create the account?

Anton Tananaev8 years ago

I don't think there is such option in Traccar.

visiondrive8 years ago

I created a test account and selected the LIMIT COMMANDS option in the Permissions area and the account although being able to see the SMS window does not allow you select any drop down elements or enter any SMS message content.

alt text

Anton Tananaev8 years ago

I forgot that we've added this option.