Many thanks Xtophe38. I already saw that wiki page however the good one which it has solved my problems was this: https://www.itophub.io/wiki/page?id=latest%3Aadvancedtopics%3Acreate_ticket#using_bash_and_wget I think it would be good to add some examples in the page that you do refer. Well, looking inside the bash example with wget in the page I've said above, I could achieve it and also with curl: $ JSON_DATA='{"operation":"list_operations"}' $ echo $JSON_DATA {"operation":"list_operations"} $...
Hi, I'm trying to use the rest api of teemip from a linux command line using curl or wget. I've achieved it executing the simplest example operation: list_operations like this: $ curl --request POST --header "Content-Type: application/json" "http://10.60.21.15/teemip/web/webservices/rest.php?version=1.3&auth_user=rest&auth_pwd=temporal&json_data=\{\"operation\":\"list_operations\"\}" However, is it possible to pass through all parameters from a json file like this?: command.json { "auth_user": "rest",...
Hi, any news regarding DHCP Management module ?? Thanks in advanced. Regards. Fernando.
I have found a way using hex ascii code of the dash: \x23: watchfor /Fallo de autorización en (.*)\@pop3.jclm.es/ echo red threshold track_by=$1, type=limit, count=1, seconds=300 exec echo -e 'Just want to echo a Dash: \x23' The output: [root@sesmailexchange bin]# /usr/bin/swatch --debug=2 -c /etc/swatch.conf -t /var/log/maillog *** swatch version 3.2.3 (pid:4421) started at mié feb 6 11:35:53 CET 2019 Feb 6 11:36:28 sesmailexchange fetchmail[29482]: Fallo de autorización en jjmp33@pop3.jclm.es Just...
Hi! I just want to execute a command that has a dash (#) in it and I think swatch is thinking there is a comment in the configuration file. How can I scape a dash so that it's interpreted like a dash in the command and not a comment in the swatch configuration file??. For example, the following configuration file: watchfor /Fallo de autorización en (.*)\@pop3.jclm.es/ echo red threshold track_by=$1, type=limit, count=1, seconds=300 exec echo -e 'Just want to echo a Dash: #' The output is the following:...
Hi!, I have an adapter usb to serial with the port COM4 and plugged a serial printer to it. I have setuped tcp2com with this port but nothing is recieved, or at least the printer does nothing: C:\PUB\tcp2com-1.0.0-bin>.\tcp2com.exe --test tcp/9100 com4 Test mode - Press Ctrl+C to stop program bridge.c: StartTcpSocket() succeeded bridge.c: GetOverlappedResult() succeeded bridge.c: Accepted connection from 10.36.196.152 bridge.c: Closed connection from 10.36.196.152 (Ctrl-C) The Server is listening...
Hi. I've got a fax number that always we try to send it a fax always fail. T38modem most ot times says: Call end reason: EndedByRemoteCongestion And sometimes says: Call end reason: EndedByLocalUser What does it mean? We use the followin version of t38modem and libraries: [root@presesfax log]# t38modem -version T38Modem Version 3.15.2 (OPAL-3.10.15/3.10.15 (svn:30298), PTLIB-2.10.15/2.10.15 (svn:30295)) by Frolov,Holtschneider,Davidson on Unix Linux (2.6.32-504.el6.x86_64-x86_64) Follow it's a part...
Hi, I've got a problem receiving a fax. Well, we received it, however at the end HylaFAX says the error: RECV FAX: T.30 T2 timeout, expected signal not received and T38modem writes continuosly in the log: Housekeepe...5b6fefb700 ModemEngineBody::OnTimerCallback stSendAckWait Timeout 1 We use the following versions: t38modem: t38modem-3.15.2-PeteDavison with opal-3.10.15 and ptlib-2.10.15 HylaFAX: hylafax-server-6.0.6-1rhel6.x86_64 The HylaFAX log is the following: Oct 27 10:31:54.64: [27056]: SESSION...