Are you sure that's your config at the time you got that error? Because the error seems to indicate you don't have a schema name.
is there anything I can do to test. I've tried everything but traccar-4.14 doesn't send the notification by sms.
the configuration correct in traccar.xml is ...
<entry key='sms.smpp.enable'>true</entry>
<entry key='sms.smpp.host'>http://192.168.1.15</entry>
<entry key='sms.smpp.port'>8082</entry>
<entry key='sms.smpp.username'>traccar</entry>
<entry key='sms.smpp.password'>5797ad05</entry>
<entry key='notificator.types'>web,mail,sms</entry>
<entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
<entry key='sms.http.url'>http://192.168.1.15:8082</entry>
<entry key='sms.http.authorization'>5797ad05</entry>
<entry key='sms.http.template'>
{
"to": "{phone}",
"message": "{message}"
}
</entry>
I tried this one but to no avail.
Which one? How's SMPP is related to anything? What error do you get for the correct config (second option)?
the phrase that appears is this. ** communication failure **
as the image below.
already tried in traccar 4.11, 4.14 and no solution.
You should check both browser network console for actual error and server logs for error.
Hello . can you help me . when I test the sms api URL in the browser it works.
Send SMS using following API:
in the app it does not send notification. some help ?
my configuration in traccar.xml is .
<entry key='notificator.types'>web,mail,sms</entry> <entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry> <entry key='sms.http.url'>http://192.168.1.15:8082</entry> <entry key='sms.http.authorization'>5797ad05</entry> <entry key='sms.http.template'> { "to": "{phone}", "message": "{message}" } </entry>