No way, that RB have not USB port or mPCIe with SIM slot... means you not have possibility to install usb or mPCIe lte module....RB4011IGS model Mikrotik i want to use LTE interface
how about if i have an sms api i can use it with script in netwatch ? i have wrote some script but its didn't work if you please guide me wih apiNo way, that RB have not USB port or mPCIe with SIM slot... means you not have possibility to install usb or mPCIe lte module....RB4011IGS model Mikrotik i want to use LTE interface
You can buy separate lte device who give you a internet via Ethernet... and MikroTik to other MikroTik can send ssh commnads and that way you can triger SMS from RB4011
i used this mention bloew script but the problem in this script there is a (?) after link and mikro tik is considering an other command for (?) as a help command there for script didnt work but when i simply paste this link in to a browser its work properly and send sms on cell is there any other way to write this script in mikrotik and skip (?) from the link ?/tools fetch is your friend, type it and API at forum and you found many examples.
Create a new post in Scripting sub-forum if you still have a problem.
use "\" before "?"./tool fetch keep-result=no url="https://sendpk.com/api/sms.php?username=923315330661&password=*****&sender=BrandName&mobile=923315330661&message=MikroTik Test msg"/tools fetch is your friend, type it and API at forum and you found many examples.
Create a new post in Scripting sub-forum if you still have a problem.
ok bro let me check if its work i will let you knowuse "\" before "?"./tool fetch keep-result=no url="https://sendpk.com/api/sms.php?username ... e=MikroTik Test msg"/tools fetch is your friend, type it and API at forum and you found many examples.
Create a new post in Scripting sub-forum if you still have a problem.
tool fetch url="https://domain.tld/api/name[u][b]\?[/b][/u]key=value" ...
read documentation: https://wiki.mikrotik.com/wiki/Manual:Scripting#Constant_Escape_Sequences
not working bro i check on terminal found this erroruse "\" before "?"./tool fetch keep-result=no url="https://sendpk.com/api/sms.php?username ... e=MikroTik Test msg"/tools fetch is your friend, type it and API at forum and you found many examples.
Create a new post in Scripting sub-forum if you still have a problem.
tool fetch url="https://domain.tld/api/name[u][b]\?[/b][/u]key=value" ...
read documentation: https://wiki.mikrotik.com/wiki/Manual:Scripting#Constant_Escape_Sequences
https://sendpk.com/api.php is example:not working bro i check on terminal found this error
thnx alot bro finally its working once again thank you very much for your helphttps://sendpk.com/api.php is example:not working bro i check on terminal found this error
https://sendpk.com/api/sms.php?username ... sage=Hello
and at your screen you show 2x https://sendpk.com - this is wrong url and you have only one ? to fix as \? .
I check my SMS API and works no problem as:
tool fetch url="https://www.12voip.com/myaccount/sendsm ... text=test2" http-method=get
Sorry, I have time to help to LTE stuff only, with other case I help as counsultant.i need a help i have 3 wan connection i want a script if any one form then goes down its send email kindly help me as i have masquerade rule with wan group
I really recommended to learn and do this one HowTo who have got the best way to use many WAN's at ones.
Next you can use any method netwatch/script/pcc etc to just flow the outgoing - then this is small stuff.
Bandwidth-based load-balancing with failover. This presentation also covers Mangle.
This was presented at the MUM (MikroTik User Meeting) in New Orelans, USA.
Tomas Kirnak - YouTube: https://www.youtube.com/watch?v=67Dna_ffCvc&t=1s
http://mum.mikrotik.com/presentations/US12/tomas.pdf