We use both SMS notifications and event forwarding for various parts of our traccar implementation.
Since upgrading (3.16 --> 4.2) some of this seems to have stopped working.
We are using a local SMPP server for SMS notifications and have this configured in the xml file. I understand that I now need to add notificator.types, which I have done:
<entry key='notificator.types'>web,mail,sms</entry>
However this seems to have stopped events such as IgnitionOn and deviceMoving from being sent to my event forwarding destination, as configured here:
<entry key='notificator.types'>web,mail,sms</entry>'
<entry key='sms.smpp.enable'>true</entry>
<entry key='sms.smpp.host'>localhost</entry>
<entry key='sms.smpp.port'>2775</entry>
<entry key='sms.smpp.username'>traccar</entry>
<entry key='sms.smpp.password'>mypass</entry>
<entry key='sms.smpp.notificationsCharset'>GSM</entry>
<entry key='sms.smpp.notificationsDataCoding'>0</entry>
<entry key='sms.smpp.sourceAddress'>+44123456789</entry>
<entry key='forward.enable'>true</entry>
<entry key='forward.json'>true</entry>
<entry key='forward.url'>https://mypositionhandler</entry>
<entry key="event.forward.enable">true</entry>
<entry key='event.forward.url'>https://myeventhandler</entry>
if I remove the notificator types then I get my events in positions back again
Is there an undocumented (or documented that I can't find) notificator that I need to add?
I believe instead of sms.smpp.enable
you should use sms.enable
. Don't see any other issues.
Thanks Anton, is that instead of adding in the notificator.types
?
No. Not sure where you got that idea from. Please read documentation.
Thanks, the problem I'm having is that when I add notificator.types
I stop receiving event.type
notifications (eg IgnitionOn etc) on my http event handler
I can confirm that after correcting <entry key='sms.smpp.enable'>true</entry>
to <entry key='sms.enable'>true</entry>
both event forwarding and SMS are working correctly.
Thanks
James
We use both SMS notifications and event forwarding for various parts of our traccar implementation.
Since upgrading (3.16 --> 4.2) some of this seems to have stopped working.
We are using a local SMPP server for SMS notifications and have this configured in the xml file. I understand that I now need to add notificator.types, which I have done:
<entry key='notificator.types'>web,mail,sms</entry>
However this seems to have stopped events such as IgnitionOn and deviceMoving from being sent to my event forwarding destination, as configured here:
<entry key='notificator.types'>web,mail,sms</entry>' <entry key='sms.smpp.enable'>true</entry> <entry key='sms.smpp.host'>localhost</entry> <entry key='sms.smpp.port'>2775</entry> <entry key='sms.smpp.username'>traccar</entry> <entry key='sms.smpp.password'>mypass</entry> <entry key='sms.smpp.notificationsCharset'>GSM</entry> <entry key='sms.smpp.notificationsDataCoding'>0</entry> <entry key='sms.smpp.sourceAddress'>+44123456789</entry> <!-- position forwarding --> <entry key='forward.enable'>true</entry> <entry key='forward.json'>true</entry> <entry key='forward.url'>https://mypositionhandler</entry> <!-- event forwarding --> <entry key="event.forward.enable">true</entry> <entry key='event.forward.url'>https://myeventhandler</entry> <!-- <entry key='event.forward.header'></entry> -->
if I remove the notificator types then I get my events in positions back again
Is there an undocumented (or documented that I can't find) notificator that I need to add?