Support forum
Hello Max,
I am not able to replicate this, if I name one of the gateways '1' the send-server-command works as intended and disables the gateway. Are you certain that the name of the gateway is exactly '1' and that there is no extra space in the name?
The send-server-command does not check if the gateway name or other parameters are correct and it always returns 'OK: Server command accepted and queued for execution'. Specifying an incorrect parameter can result in an unstable state of Diafaan SMS Server so it is important to make sure that all the parameters in the command are set to a valid setting.
Regards, Henk
3:43 pm
When I add text to the name, like GATEWAY1 instead of 1, it works! Why?
The answer is always:
OK: Server command accepted and queued for execution
3:41 pm
Hi Henk!
I am using the example:
http://localhost:9710/http/send-server-command?username=admin&password=&command=set-gateway-property&gateway=1&property=Enabled&value=0
My gateway name = 1 (only number)
Zero reactions. Help please.
1 Guest(s)