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
Reroute Gateway Based on number of SMS sent history
sp_NewTopic Add Topic
November 26, 2018
2:01 pm
Henk Helmantel
Admin
Forum Posts: 1573
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Alwyn,

There is no standard way to detect that the free SMS limit is reached, some mobile operators will send an SMS message when there are no free messages left and some might have a USSD command to get the number of free SMS messages that are left on the SIM card. Both methods can be used from a Scripting Connector to determine if a limit was reached. The 'send-server-command' query of theHTTP API has a method to switch gateways on and of and you can use that in a Scripting Connector to change the message routing.

The GSM Modem Gateway has an option to automatically limit the amount of messages that can be sent per hour, day, week or month. This limits the amount of messages that the gateway will send and automatically pauses the gateway after the limit was reached. The option is called 'SendLimit' and you can find it in the advanced options of the GSM Modem Gateway.

Regards, Henk

November 26, 2018
4:43 am
Alwyn Soh
Guest
Guests

I have 4 gateways for 2 countries, so its 2 SIM cards for each country, the SIM cards has x number for free SMS per month.
My agents are using the web connector to send SMSes.
Is it possible to use the Scripting Gateway to detect which modem/SIM card has reached the limit for the free SMS per month?
Thanks.

Forum Timezone: Europe/Amsterdam
Most Users Ever Online: 1119
Currently Online:
Guest(s) 3
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