Hi Anton,
Greetings from the other side of the world. Thanks for a great program. It's all working pretty well for me, i was using twilio to send sms but ended up being too expensive as i can do it locally with an SMPP Gateway such as the Teltonika RUT950.
Using SMPPcli from www.kaplansoft.com/smppcli
i can connect to, and successfully send a message via my SMPP GW, using this command:
SMPPCli.exe 183 -u ***** -p **** -d 10.95.95.1:888 -m "buy" -l 2 -n 7606802
where 183 is the destination number, 10.95.95.1 is the locally hosted SMPP GW port 888 and 7606802 is the local number.
This is the Log:
2020-02-01 15:28:56 WARN: Unable to connect to SMPP server: - Unable to bind [error: 0x0000000D "Bind failed"] - SmppBindException (... < SmppClient:171 < ReconnectionTask:29 < ...)
and here is the config file:
<entry key="database.driver">com.microsoft.sqlserver.jdbc.SQLServerDriver</entry>
<entry key="database.url">jdbc:sqlserver://192.168.254.252\DB:1433;databaseName=Traccar;</entry>
<entry key="database.user">xxx</entry>
<entry key="database.password">xxx</entry>
<entry key="mail.smtp.host">smtp.eu.mailgun.org</entry>
<entry key="mail.smtp.port">465</entry>
<entry key="mail.smtp.ssl.enable">true</entry>
<entry key="mail.smtp.from">xxx@xxx.com</entry>
<entry key="mail.smtp.auth">true</entry>
<entry key="mail.smtp.username">xxx@xxx.com</entry>
<entry key="mail.smtp.password">xxx</entry>
<entry key="geocoder.enable">true</entry>
<entry key="geocoder.type">google</entry>
<entry key='geocoder.key'>xxx</entry>
<entry key="notificator.types">web,mail,sms</entry>
<entry key="sms.enable">true</entry>
<entry key="sms.smpp.version">33</entry>
<entry key="sms.smpp.host">10.95.95.1</entry>
<entry key="sms.smpp.port">888</entry>
<entry key="sms.smpp.username">xxx</entry>
<entry key="sms.smpp.password">xxx</entry>
<entry key="sms.smpp.notificationsCharset">GSM</entry>
<entry key="sms.smpp.notificationsDataCoding">0</entry>
<entry key="sms.smpp.commandsCharset">GSM</entry>
<entry key="sms.smpp.commandsDataCoding">0</entry>
<entry key="sms.smpp.sourceTon">1</entry>
<entry key="sms.smpp.sourceNpi">1</entry>
<entry key="sms.smpp.commandSourceTon">1</entry>
<entry key="sms.smpp.commandSourceNpi">1</entry>
<entry key="sms.smpp.sourceAddress">7606802</entry>
another config i have tried is:
<entry key="notificator.types">web,mail,sms</entry>
<entry key='sms.enable'>true</entry>
<entry key='sms.smpp.host'>10.95.95.1</entry>
<entry key='sms.smpp.port'>888</entry>
<entry key='sms.smpp.username'>xxx</entry>
<entry key='sms.smpp.password'>xxx</entry>
<entry key='sms.smpp.notificationsCharset'>GSM</entry>
<entry key='sms.smpp.notificationsDataCoding'>0</entry>
<entry key='sms.smpp.sourceAddress'>7606802</entry>
Either way, it does not work. What am i missing?
Thank you.
Ed
for some reason when i copy and paste it shows ' instead of " but the .xml file shows only " not any '.
anyone have a solution for using Teltonika SMPP SMS Gateway?
Hi Anton,
Greetings from the other side of the world. Thanks for a great program. It's all working pretty well for me, i was using twilio to send sms but ended up being too expensive as i can do it locally with an SMPP Gateway such as the Teltonika RUT950.
Using SMPPcli from
www.kaplansoft.com/smppcli
i can connect to, and successfully send a message via my SMPP GW, using this command:where 183 is the destination number, 10.95.95.1 is the locally hosted SMPP GW port 888 and 7606802 is the local number.
This is the Log:
and here is the config file:
<entry key="database.driver">com.microsoft.sqlserver.jdbc.SQLServerDriver</entry> <entry key="database.url">jdbc:sqlserver://192.168.254.252\DB:1433;databaseName=Traccar;</entry> <entry key="database.user">xxx</entry> <entry key="database.password">xxx</entry> <entry key="mail.smtp.host">smtp.eu.mailgun.org</entry> <entry key="mail.smtp.port">465</entry> <entry key="mail.smtp.ssl.enable">true</entry> <entry key="mail.smtp.from">xxx@xxx.com</entry> <entry key="mail.smtp.auth">true</entry> <entry key="mail.smtp.username">xxx@xxx.com</entry> <entry key="mail.smtp.password">xxx</entry> <entry key="geocoder.enable">true</entry> <entry key="geocoder.type">google</entry> <entry key='geocoder.key'>xxx</entry> <!-- SMS SETTINGS --> <entry key="notificator.types">web,mail,sms</entry> <entry key="sms.enable">true</entry> <entry key="sms.smpp.version">33</entry> <entry key="sms.smpp.host">10.95.95.1</entry> <entry key="sms.smpp.port">888</entry> <entry key="sms.smpp.username">xxx</entry> <entry key="sms.smpp.password">xxx</entry> <entry key="sms.smpp.notificationsCharset">GSM</entry> <entry key="sms.smpp.notificationsDataCoding">0</entry> <entry key="sms.smpp.commandsCharset">GSM</entry> <entry key="sms.smpp.commandsDataCoding">0</entry> <entry key="sms.smpp.sourceTon">1</entry> <entry key="sms.smpp.sourceNpi">1</entry> <entry key="sms.smpp.commandSourceTon">1</entry> <entry key="sms.smpp.commandSourceNpi">1</entry> <entry key="sms.smpp.sourceAddress">7606802</entry> another config i have tried is: <entry key="notificator.types">web,mail,sms</entry> <entry key='sms.enable'>true</entry> <entry key='sms.smpp.host'>10.95.95.1</entry> <entry key='sms.smpp.port'>888</entry> <entry key='sms.smpp.username'>xxx</entry> <entry key='sms.smpp.password'>xxx</entry> <entry key='sms.smpp.notificationsCharset'>GSM</entry> <entry key='sms.smpp.notificationsDataCoding'>0</entry> <entry key='sms.smpp.sourceAddress'>7606802</entry>
Either way, it does not work. What am i missing?
Thank you.
Ed