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
Start gateway HTTP API
sp_NewPost Add Reply sp_NewTopic Add Topic
December 1, 2023
10:26 am
Henk Helmantel
Admin
Forum Posts: 1485
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello,

The 'DisableOnModemErrors' option does not only stop the gateway, it also disables the gateway and a disabled gateway cannot be stopped or started.

You can use the 'set-gateway-property' in the HTTP API to enable the gateway when it is disabled (in other words, set the 'Enabled' option to '1'):

http://localhost:9710/http/send-server-command?username=admin&password=&command=set-gateway-property&gateway=GSM+Modem+Gateway&property=Enabled&value=1

This command automatically (re)starts the gateway.

Regards, Henk

December 1, 2023
1:15 am
SMSer
Guest
Guests

Hello henk,
When some gateway automatically stop based on send error, I cannot restart the gateway from HTTP API. How to make command start-gateway can work? Actually I try to use stop and restart it can run perfectly

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 671

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1140

Posts: 3894

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1485