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
Multiple Gsm Modem
sp_NewPost Add Reply sp_NewTopic Add Topic
August 15, 2022
10:48 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

You can add it to the 'Gateway' field of the 'MessageOut' table when you insert a new outgoing message to the database.

The database field name is set in the 'SMSOutGateway' property in the advanced settings of the SQL Connector, you should check if the property is set to the correct database field name for your database.

Regards, Henk

August 12, 2022
5:50 pm
Sarah
Guest
Guests

Hi,

Thank you for your help. I used SQL Connector. But I don't know where to register the following statement:

Gateway1:2|Gateway2:1

August 11, 2022
2:34 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

If you have two gateways, Gateway1 and Gateway2, you can for example set the Gateway field of the message parameters to either:

Gateway1:2|Gateway2:1
or
Gateway2:4|Gateway1:3

In the first case, Diafaan SMS Server will try to send the message two times with Gateway1 and if that fails it will try to send the message one time with Gateway2. Gateway1 is the primary gateway here and Gateway2 is the backup gateway.

In the second case, Diafaan SMS Server will try to send the message four times with Gateway2 and if that fails it will try to send the message three times with Gateway1. Gateway2 is the primary gateway here and Gateway1 is the backup gateway.

Not all connectors support the Gateway field but you can use it when you send a message with the Web Connector API, the SQL Connector and the Scripting Connector. Please note that only gateways that are enabled for sending in the connector specific routing options can be used, other gateway names are ignored.

Regards, Henk

August 10, 2022
10:25 am
Sarah
Guest
Guests

Hi,

I used to address and the problem was solved. While we have two gateways, how can GateWay1 be set as Backup Gateway 2, and also GateWay2 be set as Backup GateWay1. I saw the following text on your site, but I don't know where it applies.

By default, if a gateway is assigned as backup gateway in the connector specific routing options, it will still be used only as a backup gateway. But it is possible to change the primary and backup designation of the gateways with the '|' separator. The gateways before the '|' character become the primary gateways and the gateways after the '|' characters become the backup gateways. An optional value can be added after the gateway name to specify the maximum number of send attempts that is used for that gateway using a colon plus the maximum number of send attempts, e.g. Clickatell Gateway:2.

thank you

August 9, 2022
3:19 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Sarah,

You can find information on how to route messages to a specific gateway in the Route messages page in the online manual.

The section 'Message specific routing using the To Address, From address or Message Type' shows how you can route messages to a specific gateway depending on the destination number. Sending messages with an even or odd number at the end to a different gateway is pretty specific and you need a regular expression to achieve this.

Regards, Henk

August 9, 2022
12:43 pm
Sarah
Guest
Guests

Hi,
If I have two GSM modems. How can I determine that mobile numbers with an even number at the end are sent with the first modem and mobile numbers with an odd number at the end are sent with the second modem?

thank you

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 672

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1141

Posts: 3899

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1488