Community discussions

MikroTik App

Search found 10 matches

by wencs
Mon Mar 19, 2018 3:07 am
Forum: Scripting
Topic: Hotspot Uptime format
Replies: 3
Views: 4666

Re:

The below PHP function will take the Mikrotik time format (ex. 5d10h23m14s) and return it as number of seconds. From there it should be easy enough to convert it to hh:mm:ss or whatever else you want. There may even be a built in PHP function that already does it. Check http://www.php.net. Of cours...
by wencs
Tue Nov 07, 2017 9:18 pm
Forum: Announcements
Topic: v6.40.5 [current]
Replies: 82
Views: 45640

Re: v6.40.5 [current]

tool sms inbox message error all message recib error CCR1009-8G-1S-1S+ May/11/2001 07:15:07 GMT +11 a ekKECAdKGSESIC$o @@@@@@ SL@@@@@@d$@@@@@@@Xe@@@@@@@@*CUw@@@@@Ru=o$@@@@oae@@@@@@L;D@@@@@@0:haA @@@@(@@@@@@
by wencs
Mon Oct 31, 2016 12:23 pm
Forum: Scripting
Topic: Simple PHP check
Replies: 2
Views: 6817

Re: Simple PHP check

Hi guys, I cannot get this script to work. Can you please tell me where i went wrong? yo lo e resuelto de la siguiente manera: <?php require(PATH_BASE.'/dist/api/mikrotik/routeros_api.class.php'); function send_sms($number, $text) { global $smsgw; $server = '192.168.1.1'; $loginname = 'user_admin';...
by wencs
Sun May 15, 2016 4:26 pm
Forum: Announcements
Topic: v6.35.2 [current] is released!
Replies: 64
Views: 38496

Re: v6.35.2 [current] is released!

Report BUG system clock time zone error Etc/GMT+4 error assing GMT offset -04:00
and correct America/Caracas/ -04:00
Image
by wencs
Mon Feb 01, 2016 8:00 am
Forum: General
Topic: very simple question
Replies: 5
Views: 2460

Re: very simple question

ppp secret unset 0 remote-address
php code?

$unset_ra = array(".id" => $BRIDGEINFO[0]['.id'],"remote-address" => "");
$result=$API->comm('/ppp/secret/unset',$unset_ra);

sorry php code


for the " api " that gives me error
by wencs
Sun Oct 25, 2015 10:05 am
Forum: Scripting
Topic: Mikrotik PHP-API
Replies: 7
Views: 14803

Re: Mikrotik PHP-API

cada quien tiene su manera de programar yo e tomado el codigo y e corregido de esta forma trabaja muy bien <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"...
by wencs
Wed May 14, 2014 12:21 pm
Forum: Scripting
Topic: Script for Date and Time
Replies: 12
Views: 47796

Re:

:put [/system clock get date] or :local datetime [/system clock get date] Sam and other day and month and year :local fecha [/system clock get date] :local dia [ :pick $fecha 4 6 ] :local mes [ :pick $fecha 0 3 ] :local year [ :pick $fecha 7 11 ] :log info "date format : $dia $mes $year" ...
by wencs
Fri Mar 28, 2014 8:26 pm
Forum: General
Topic: RB1100AH problemas con /tool SMS con puerto serial
Replies: 7
Views: 4672

Re: RB1100AH problemas con /tool SMS con puerto serial

disculpa :( sorry mi ingles no es bueno por eso lo e expresado en español e colocado lo siguiente: /tool sms set sim-pin="1234" (e verificado en un movil que este es el pin correcto tambien lo intente sin las comillas) /tool sms send serial0 smsc="+584128000000" phone-number=&quo...
by wencs
Thu Mar 27, 2014 10:56 am
Forum: General
Topic: RB1100AH problemas con /tool SMS con puerto serial
Replies: 7
Views: 4672

RB1100AH problemas con /tool SMS con puerto serial

Hola a todos tengo un problema que no e podido resolver, tengo un RB1100AH, VersionMikrotik 6.11, el cual posee un puerto serial e conectado alli un modem WAVECOM Serial el cual e configurado según toda la información que e recopilado. al ejecutar /system serial-terminal serial0 ejecuto ATH, la resp...
by wencs
Wed Mar 26, 2014 7:27 pm
Forum: General
Topic: SMS Timeout
Replies: 3
Views: 3125

Re: SMS Timeout

Hi,
I am trying to send SMS through GSM Modem, But after the command it show error

/tool sms send serial0 "+58426xxxxxxx" message="Test Send SMS"

It shows

failure: timeout

What is the solution.