Support forum

Advanced Search

— Forum Scope —

— Match —

— Forum Options —

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

Translating one number into multiple destinations using Number Template
sp_NewPost Add Reply sp_NewTopic Add Topic
December 5, 2018
4:28 pm
Koen Dooms


Thank you very much. This sounds like a feasible approach.
I'll try it out.

Please do send me a script example.


December 5, 2018
3:40 pm
Henk Helmantel
Forum Posts: 942
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Koen,

The number template can only be used to change the format of a single number, not to expand it to multiple destination numbers.

There is a way to send a single message to multiple destinations in Diafaan SMS Server but it is a little complicated to set up and it requires a custom script.

To set this up you have to take the following steps:

- First, add a Web Connector (if you have not done so already) and set it to route the messages to the gateway that you use to send the messages.

- Then you add a Scripting Gateway and set the routing of the messages from the ESPA Protocol Connector to only the Scripting Gateway.

- Change the default script in the Scripting Gateway to create an HTTP request to the HTTP API of the Web Connector for each destination number (I can send an example script to your email address if you like).

After this is set up correctly, the ESPA Protocol Connector will send the single message to the Scripting Gateway. The script generates messages to multiple destination numbers and generates the required HTTP API calls to the Web Connector. The Web Connector sends the messages to the gateway for delivery.

Regards, Henk

December 5, 2018
1:13 pm
Koen Dooms

I'm wondering if it is possible to translate 1 number into multiple destination phone numbers using a Number template.

I am testing a setup where a fire alarm system is sending message using ESPA to the Diafaan SMS server.
To leave some flexibility to ourselves, I've asked the fire alarm technician to send the message to the SMS server with the destination number 9999.
In the ESPA Protocol Connector I use the Number template to send the message to the actual mobile phone number.
The template looks something like this: 9999[001234567890].
It works great for a single destination

But is it possible to have that 9999 translated into multiple destinations?
If so, how would the template look like?

It would really leverage us to buying the product.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
11 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 503

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 778

Posts: 2679

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 942