SMS delivery: What rate should you expect? How to optimize it. read the article SMS delivery: What rate should you expect? How to optimize it.read the article Entrega de SMS: ¿Qué tasa debe esperar? Cómo optimizarlo. leer el artículo Consegna degli SMS: quale tasso di consegna si deve prevedere? Come ottimizzarlo.per saperne di più SMS-Zustellung: Welche Rate ist zu erwarten? Wie man sie optimiert.mehr erfahren

SMPP

SETTING UP ACCESS
SMPP smsmode©

SMPP or Short Message Peer-to-Peer is the protocol most often used by telecom companies and aggregators to connect directly to telephone operators.

WHY USE SMPP TO CONNECT TO THE PLATFORM SMSMODE© ?

Our customers can use our SMPP service to send and receive mobile messages (SMS MT & SMS MO), as well as message delivery reports (DLR) to and from the SMS gateway. smsmode©.

For customers who already have an SMPP implementation within their architecture, this connection allows them to avoid re-implementing the sending of messages via the API that may be required as a result of updates to the API.
For clients without an SMPP implementation, it should be noted that the implementation of this protocol can be quite complex and require low-level development.

HOW TO SET UP THE SMPP CONNECTION?

Prerequisite

Contact our team by phone on +33(0)4 91 05 64 63 or by email at contact(at)smsmode.com. Your account manager will configure your personalized SMPP access and send you your channel login details.

 

Direct use of Kannel

You can use Kannel version 1.4.3 or later:

1. Download our kannel.conf configuration file

2. Edit the kannel.conf file and replace SMSMODE_USER and SMSMODE_PASSWORD with the credentials we've emailed you.

3. For security reasons, the default configuration uses SSL (certificate *.smsmode.com) and only authorizes connections from localhost. To authorize connections from a different machine, edit the required fields in kannel.conf. For example, for IP address X.X.X.X :

Admin-Allow-IP = "127.0.0.1; X.X.X. X "box-allow-IP =" 127.0.0.1; X.X.X. X "User-allow-IP =" 127.0.0.1; X.X.X. X "

4. Restarting Kannel

5. To send a message, make the following request:

http://localhost:13018/cgi-bin/sendsms?username=username&password=password&to=336XXXXXXXX&text=Hello%20World&from=MySenderID&dlr-mask=11
Using Kannel with Docker

For Docker users, smsmode© provides you with a Kannel image with the pre-defined configuration to ensure SMPP connection with the server smsmode©.
To use the smsmode© with Docker, simply follow these two steps:

1. To install and launch the Kannel image, run the following command, replacing SMSMODE_USER and SMSMODE_PASSWORD with the credentials we've emailed you.

docker run -d --name kannel -e 'SMSMODE_USER=COMPLETE-HERE' -e 'SMSMODE_PASSWORD=COMPLETE-HERE' -p 13018:13018 smsmode/kannel

2. Then, to send a message, execute the following command by entering the desired number.

Curl-V "http://localhost:13018/cgi-bin/sendsms?&username=username&password=password&to=336XXXXXXXX&from=MySenderID&text=Hello%20World&smsc=smsmodeFranceTrans&dlr-mask=11"

Need more info?
Do not hesitate to contact us.