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_NewTopic Add Topic
December 1, 2023
10:26 am
Henk Helmantel
Admin
Forum Posts: 1573
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: 1119
Currently Online:
Guest(s) 7
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 703
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1195
Posts: 4079
Newest Members:
, Henk Helmantel
Administrators: Henk Helmantel: 1573