We have successfully implemented SMS sending via the Teltonika RMS API. We are now in the process of implementing/configuring an SMPP profile with our local Telecom supplier.
Q1 - If SMPP is correctly configured on our router (RUT951), when calling the SMS sending API, will the SMS be sent by SMPP or the current active SIM in the router? Our goal is to send SMS using the SMPP.
Q2 - The Telecom supplier has asked us to provide a public address for the SMPP configuration on their end. However, as far as we know Teltonika routers or RMS platform does not expose a public address. Why would they need a public address? Is there way to provide them one?
When using the SMS sending API, messages are sent via the currently active SIM card in the router. To send SMS messages via SMPP, the requests must be directed to the SMPP server itself.
The reason for requiring a public IP address would be best clarified directly with your telecom supplier. In most cases, a public IP is needed if they intend to access the SMPP service remotely.
If remote access is required, you can configure port forwarding on the router(RUT950 Firewall - Teltonika Networks Wiki). Please note that this setup requires a public IP address to be assigned by your ISP.
You can verify whether your router currently has a public IP by navigating to Network → WAN. If the active interface IP address falls within the following ranges, it is private:
10.0.x.x
192.168.x.x
172.16.x.x – 172.31.x.x
If the IP is private, remote access would need to be established using a VPN solution that does not require a public IP address, such as ZeroTier, Teltonika RMS VPN Hub, or RMS Connect. Or you would need to contact your ISP regarding a public IP.
Here is a configuration example of an SMPP server that you may find useful:
Many thanks @Justinas in taking the time to answer our questions.
Could you please elaborate more on how we will concretely send/receive an SMS using the SMPP API (not the SMS API itself). There is no clear explanation/instructions in Teltonika Wiki on what happens next once you have configured the SMPP section in the router.
Basically at this point, it is not clear to us how to concretely send/receive an SMS once the SMPP has been configured in the router correctly (credentials, port…).
The router acts as a SMPP gateway, so there is no specific Teltonika API to document. The method for sending and receiving messages depends on the SMPP platform you are using. Please refer to your platform’s own documentation for the necessary commands and configuration.