Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
HTTP API does not work with numeral gateways!
sp_NewPost Add Reply sp_NewTopic Add Topic
September 2, 2024
2:24 pm
Henk Helmantel
Admin
Forum Posts: 1508
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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

September 1, 2024
3:43 pm
Max
Guest
Guests

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

September 1, 2024
3:41 pm
Max
Guest
Guests

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.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 679

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1154

Posts: 3941

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1508