SMS over Dude
Posted: Thu Mar 24, 2022 7:21 pm
Hello
I settup in dude SMS command to Teltonika device using plink.exe
All work fine BUT if sms message field have SPACE, messing is not send.
Example
add Tool in DUDE
D:\Programi\putty\PLINK.exe 10.99.99.253 -P 22 -l xxxxx -pw Xxxxxxx "/tool sms send port=lte1 phone-number=[Device.CustomField1] message="[Device.Password] reboot" "
Above axamle don't work, SMS is not send BUT
D:\Programi\putty\PLINK.exe 10.99.99.253 -P 22 -l xxxxx -pw Xxxxxxx "/tool sms send port=lte1 phone-number=[Device.CustomField1] message="[Device.Password]reboot" "
Above example work.
So after some testing any combinations that have space (text 1111) in sms massage file never is send.
If I do same commnad on LTE divice over ssh
/tool sms send port=lte1 phone-number=[Device.CustomField1] message="[Device.Password] reboot" IT WORK
Do proble is in DUDE how "define" SPACE in code.
What can be used insted of space or how to solve this. SMS Command for Teltonika must have 2 words, "password reboot"
Thanks
I settup in dude SMS command to Teltonika device using plink.exe
All work fine BUT if sms message field have SPACE, messing is not send.
Example
add Tool in DUDE
D:\Programi\putty\PLINK.exe 10.99.99.253 -P 22 -l xxxxx -pw Xxxxxxx "/tool sms send port=lte1 phone-number=[Device.CustomField1] message="[Device.Password] reboot" "
Above axamle don't work, SMS is not send BUT
D:\Programi\putty\PLINK.exe 10.99.99.253 -P 22 -l xxxxx -pw Xxxxxxx "/tool sms send port=lte1 phone-number=[Device.CustomField1] message="[Device.Password]reboot" "
Above example work.
So after some testing any combinations that have space (text 1111) in sms massage file never is send.
If I do same commnad on LTE divice over ssh
/tool sms send port=lte1 phone-number=[Device.CustomField1] message="[Device.Password] reboot" IT WORK
Do proble is in DUDE how "define" SPACE in code.
What can be used insted of space or how to solve this. SMS Command for Teltonika must have 2 words, "password reboot"
Thanks