Test on SANDBOX step by step SANDBOX
This guide walks you through testing SMS Gateway on SANDBOX end to end. No real SMS is sent; the outcome depends on the last 4 digits of the destination number (scenario table).
Every example on this page was run against the real dev system (API http://localhost:30080, SMPP localhost:2775). Keys, secrets, passwords and ids on this page are sample values; use your own.
| Way | Good for | You need |
|---|---|---|
| 1. Admin "Test send" page | quick look, no code | an admin account with message.send |
| 2. HTTP API | systems that send with POST /v1/messages | an API key (keyId + secret) |
| 3. SMPP | systems that already talk SMPP 3.4 to an SMSC | an SMPP account (system_id + password) + IP allowlist |
Overview: 4 combinations and where the DR goes
Clients connect over 2 channels (HTTP / SMPP) and can send out over 2 SANDBOX routes. All combinations use the same logic (route, sender name, TPS, duplicate guard, DR, MO).
- route
SANDBOXsimulates an HTTP provider: SANDBOX posts DR/MO back to the Gateway's/provider/sandbox/drand/provider/sandbox/mo - route
SANDBOX_SMPPsimulates an SMPP provider: DR/MO arrive asdeliver_smon a simulated bind, with a bind state (BOUND/UNBOUND)
| Client connects over | route | How the route is picked | DR / MO reach the client as |
|---|---|---|---|
| HTTP | SANDBOX | route field of each request | webhook message.status / message.inbound |
| HTTP | SANDBOX_SMPP | route field of each request | webhook message.status / message.inbound |
| SMPP | SANDBOX | Route of the SMPP account (set in admin) | deliver_sm on an RX/TRX session |
| SMPP | SANDBOX_SMPP | Route of the SMPP account (set in admin) | deliver_sm on an RX/TRX session |
HTTP client ── POST /v1/messages ─┐ ┌─ route SANDBOX ──── DR/MO as HTTP POST ─┐
├─> Gateway (service.Send) ┤ ├─> Gateway ─┬─> webhook (HTTP client)
SMPP client ── submit_sm :2775 ───┘ └─ route SANDBOX_SMPP ─ DR/MO as deliver_sm ┘ └─> deliver_sm (SMPP client)How the client gets results depends on the channel the message was sent on, not on the route: messages sent over HTTP report by webhook, messages sent over SMPP report by deliver_sm.
Before you start (administrator)
Dev has a ready SANDBOX set (client smsup, routes SANDBOX / SANDBOX_SMPP, sender name SANDBOX). To test with a new client, open admin → Clients → pick the client:
- Routes tab: add route
SANDBOX→ accountSANDBOX HTTPandSANDBOX_SMPP→ accountSANDBOX SMPP, then Save routes - Senders page: add sender
SANDBOXof providersandboxfor this client with statusAPPROVED - Way 2 needs an API key, way 3 needs an SMPP account (see each way)
Way 1: admin "Test send" page
- Open the admin site and log in
- Menu Test send
- Client: pick a client, e.g.
smsup - Route:
SANDBOXorSANDBOX_SMPP - Sender name:
SANDBOX - SANDBOX scenario: pick a case, e.g.
0001 undeliverable; the page sets the last 4 digits of the destination for you - Text: type a message (Thai over 70 characters or GSM over 160 is split into parts)
- Press Send test, then Open timeline to see the message events (
submitted→sent→delivered…)
Messages sent from this page take the same path as the HTTP API: the chosen client's webhook is called too (if a URL is set), and the calls show on the Webhooks page.
Way 2: HTTP API
2.1 Create an API key
- Admin → Clients → pick the client → API keys tab
- Press Create API key with a label such as
sandbox-test - Copy the Key ID and Secret now; the secret is shown once
- If the client has an IP allowlist, call from a listed IP or get
403 IP_NOT_ALLOWED(empty = not checked; fine for testing only)
All examples read these environment variables:
export GW_URL=http://localhost:30080
export GW_KEY_ID=gw_0123456789abcdef # sample value
export GW_SECRET='<secret from key creation>'2.2 Sign and send
Signature = hex(HMAC-SHA256(secret, rawBody + "." + timestamp)) in headers X-GW-Key-ID, X-GW-Timestamp, X-GW-Signature (details). A request without a body (GET) signs "" + "." + timestamp.
#!/usr/bin/env bash
# usage: GW_KEY_ID=... GW_SECRET=... ./send.sh 66812340001
set -euo pipefail
GW_URL="${GW_URL:-http://localhost:30080}"
TO="${1:-66812345678}"
body=$(printf '{"clientRef":"sbx-%s","route":"SANDBOX","from":"SANDBOX","to":"%s","text":"ทดสอบ SANDBOX"}' "$(date +%s)-$RANDOM" "$TO")
ts=$(date +%s)
sig=$(printf '%s.%s' "$body" "$ts" | openssl dgst -sha256 -hmac "$GW_SECRET" -hex | sed 's/^.* //')
curl -sS -X POST "$GW_URL/v1/messages" \
-H 'Content-Type: application/json' \
-H "X-GW-Key-ID: $GW_KEY_ID" \
-H "X-GW-Timestamp: $ts" \
-H "X-GW-Signature: $sig" \
--data-raw "$body"
echo// usage: GW_KEY_ID=... GW_SECRET=... node send.mjs 66812340001
import { createHmac } from 'node:crypto'
const GW_URL = process.env.GW_URL ?? 'http://localhost:30080'
function sign(rawBody, timestamp) {
return createHmac('sha256', process.env.GW_SECRET).update(`${rawBody}.${timestamp}`).digest('hex')
}
async function call(method, path, payload) {
const body = payload === undefined ? '' : JSON.stringify(payload)
const timestamp = Math.floor(Date.now() / 1000).toString()
const res = await fetch(GW_URL + path, {
method,
headers: {
'Content-Type': 'application/json',
'X-GW-Key-ID': process.env.GW_KEY_ID,
'X-GW-Timestamp': timestamp,
'X-GW-Signature': sign(body, timestamp),
},
body: body || undefined,
})
return { status: res.status, json: await res.json() }
}
const sent = await call('POST', '/v1/messages', {
clientRef: `sbx-${Date.now()}`,
route: 'SANDBOX',
from: 'SANDBOX',
to: process.argv[2] ?? '66812345678',
text: 'ทดสอบ SANDBOX',
})
console.log(sent.status, sent.json)
if (sent.json.messageId) {
await new Promise((r) => setTimeout(r, 5000))
const got = await call('GET', `/v1/messages/${sent.json.messageId}`)
console.log(got.json.status, got.json.events.map((e) => e.stage))
}# usage: GW_KEY_ID=... GW_SECRET=... python3 send.py 66812340001
import hashlib, hmac, json, os, sys, time, urllib.error, urllib.request
GW_URL = os.environ.get("GW_URL", "http://localhost:30080")
def call(method, path, payload=None):
body = b"" if payload is None else json.dumps(payload, ensure_ascii=False).encode()
ts = str(int(time.time()))
sig = hmac.new(os.environ["GW_SECRET"].encode(), body + b"." + ts.encode(), hashlib.sha256).hexdigest()
req = urllib.request.Request(GW_URL + path, data=body or None, method=method, headers={
"Content-Type": "application/json",
"X-GW-Key-ID": os.environ["GW_KEY_ID"],
"X-GW-Timestamp": ts,
"X-GW-Signature": sig,
})
try:
with urllib.request.urlopen(req) as r:
return r.status, json.load(r)
except urllib.error.HTTPError as e:
return e.code, json.load(e)
status, sent = call("POST", "/v1/messages", {
"clientRef": f"sbx-{time.time_ns()}",
"route": "SANDBOX",
"from": "SANDBOX",
"to": sys.argv[1] if len(sys.argv) > 1 else "66812345678",
"text": "ทดสอบ SANDBOX",
})
print(status, sent)
if "messageId" in sent:
time.sleep(5)
_, got = call("GET", f"/v1/messages/{sent['messageId']}")
print(got["status"], [e["stage"] for e in got["events"]])Answer 200:
{
"messageId": "5d98416a-0000-4000-8000-000000000001",
"clientRef": "sbx-1796033791-12345",
"status": "SUBMITTED",
"parts": 1,
"operator": "SANDBOX",
"duplicate": false
}- Sending the same
clientRefagain returns the original message with"duplicate": trueand sends nothing; always retry with the sameclientRef - Errors come as
{ "error": { "code", "message", "retryable" } }, see Error codes
2.3 Get the status: GET /v1/messages/{messageId}
#!/usr/bin/env bash
# usage: GW_KEY_ID=... GW_SECRET=... ./get.sh <messageId>
set -euo pipefail
GW_URL="${GW_URL:-http://localhost:30080}"
ts=$(date +%s)
# GET has no body: sign "" + "." + timestamp
sig=$(printf '.%s' "$ts" | openssl dgst -sha256 -hmac "$GW_SECRET" -hex | sed 's/^.* //')
curl -sS "$GW_URL/v1/messages/$1" \
-H "X-GW-Key-ID: $GW_KEY_ID" \
-H "X-GW-Timestamp: $ts" \
-H "X-GW-Signature: $sig"
echoAbout 3 seconds after sending to a normal number you should get "status": "DELIVERED" with events submitted → sent → delivered (full example in Get message status). Look up by clientRef with GET /v1/messages?clientRef=....
2.4 Receive the DR by webhook
- Admin → Clients → edit the client → set Status webhook to e.g.
http://127.0.0.1:8787/gw-webhook(Inbound (MO) webhook empty = same URL) - Run the receiver below, then press Send test webhook on the Webhook tab, or send a new message
The Gateway signs webhooks with the secret of the client's latest usable API key, same formula as requests, and sends X-GW-Key-ID to say which key. Answer 2xx fast; otherwise the Gateway retries (up to 12 times within 24 hours), so de-duplicate on eventId.
// usage: GW_SECRET=... node webhook.mjs (listens on :8787)
import { createHmac, timingSafeEqual } from 'node:crypto'
import { createServer } from 'node:http'
const seen = new Set() // eventId already handled (use a DB table in real code)
function valid(rawBody, timestamp, signature) {
if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false
const expected = createHmac('sha256', process.env.GW_SECRET).update(`${rawBody}.${timestamp}`).digest('hex')
const a = Buffer.from(expected)
const b = Buffer.from(String(signature))
return a.length === b.length && timingSafeEqual(a, b)
}
createServer((req, res) => {
const chunks = []
req.on('data', (c) => chunks.push(c))
req.on('end', () => {
const raw = Buffer.concat(chunks).toString('utf8')
if (!valid(raw, req.headers['x-gw-timestamp'], req.headers['x-gw-signature'])) {
res.writeHead(401).end()
return
}
const event = JSON.parse(raw)
if (!seen.has(event.eventId)) {
seen.add(event.eventId)
console.log(event.type, event.stage ?? '', event.status ?? '', event.code ?? '', event.messageId ?? '')
console.log(raw)
}
res.writeHead(200).end('ok') // answer 2xx fast; do slow work after
})
}).listen(8787, () => console.log('webhook on http://127.0.0.1:8787'))Send to 66812340001 and the receiver should print 3 lines:
message.status submitted PENDING 5d98416a-...
message.status sent PENDING 5d98416a-...
message.status failed FAILED UNDELIVERED 5d98416a-...Body formats of every type are on Webhooks.
dev vs production
On dev, webhooks may call localhost. In production the Gateway does not call internal addresses (loopback, private, link-local); use a URL reachable from the internet.
Way 3: SMPP
3.1 Create an SMPP account
- Admin → Clients → pick the client → SMPP tab → Add SMPP account
- system_id: 1–15 characters, e.g.
demo01 - Bind types:
TX,RX,TRX(the examples useTRX) - Route:
SANDBOXorSANDBOX_SMPP; every message of this account uses it (SMPP has no route field) - IP: the IPs that will bind, e.g.
127.0.0.1/32and::1/128for your own machine. Empty = use the client's IPs; empty on both = bind refused - Save, then copy the Password now; it is shown once (use Reset password if lost)
Defaults: max sessions 2, window 10, TPS 50, keep DRs waiting for a bind 72 hours.
export SMPP_SYSTEM_ID=demo01 # sample value
export SMPP_PASSWORD='<password from account creation>'3.2 Bind TRX, submit_sm, receive deliver_sm
# pip install smpplib
# usage: SMPP_SYSTEM_ID=... SMPP_PASSWORD=... python3 smpp_client.py 66812345678 "ทดสอบ SMPP"
import os, sys, time
import smpplib.client
import smpplib.consts
HOST, PORT = os.environ.get("SMPP_HOST", "localhost"), int(os.environ.get("SMPP_PORT", "2775"))
to = sys.argv[1] if len(sys.argv) > 1 else "66812345678"
text = sys.argv[2] if len(sys.argv) > 2 else "ทดสอบ SMPP"
wait_s = int(os.environ.get("WAIT", "15")) # how long to keep the bind open for DR / MO
state = {"done": False}
def on_sent(pdu):
# submit_sm_resp: message_id = messageId of the gateway (UUID)
print("submit_sm_resp status=0x%08X message_id=%s" % (pdu.status, pdu.message_id.decode()))
if pdu.status != 0:
state["done"] = True
def on_deliver(pdu):
body = pdu.short_message or pdu.message_payload or b""
if pdu.esm_class & 0x04: # delivery receipt
print("DR :", body.decode())
else: # MO from the handset (data_coding 8 = UCS2)
print("MO :", body.decode("utf-16-be") if pdu.data_coding == 8 else body.decode())
return 0 # deliver_sm_resp ESME_ROK
client = smpplib.client.Client(HOST, PORT, timeout=1, allow_unknown_opt_params=True)
client.set_message_sent_handler(on_sent)
client.set_message_received_handler(on_deliver)
client.connect()
try:
client.bind_transceiver(system_id=os.environ["SMPP_SYSTEM_ID"], password=os.environ["SMPP_PASSWORD"])
except smpplib.exceptions.PDUError as e:
print("bind_resp status=0x%08X" % e.args[1])
sys.exit(1)
payload = text.encode("utf-16-be")
client.send_message(
source_addr_ton=smpplib.consts.SMPP_TON_ALNUM,
source_addr=os.environ.get("SMPP_FROM", "SANDBOX"),
dest_addr_ton=smpplib.consts.SMPP_TON_INTL,
dest_addr_npi=smpplib.consts.SMPP_NPI_ISDN,
destination_addr=to,
data_coding=smpplib.consts.SMPP_ENCODING_ISO10646, # 8 = UCS2 (Thai)
registered_delivery=1, # 1 = send a DR for every result
# up to 140 bytes in short_message; longer text goes in the message_payload TLV
**({"short_message": payload} if len(payload) <= 140 else {"short_message": b"", "message_payload": payload}),
)
end = time.time() + wait_s
while time.time() < end and not state["done"]:
try:
client.read_once() # handles submit_sm_resp, deliver_sm, enquire_link
except smpplib.exceptions.PDUError as e: # submit_sm_resp with an error command_status
print("submit_sm_resp status=0x%08X" % e.args[1])
break
except OSError: # socket timeout: nothing arrived within 1 s
pass
client.unbind()
client.disconnect()// go get github.com/linxGnu/gosmpp
// usage: SMPP_SYSTEM_ID=... SMPP_PASSWORD=... go run . 66812345678 "ทดสอบ SMPP"
package main
import (
"fmt"
"log"
"os"
"time"
"github.com/linxGnu/gosmpp"
"github.com/linxGnu/gosmpp/data"
"github.com/linxGnu/gosmpp/pdu"
)
func main() {
to, text := "66812345678", "ทดสอบ SMPP"
if len(os.Args) > 2 {
to, text = os.Args[1], os.Args[2]
}
addr := os.Getenv("SMPP_ADDR")
if addr == "" {
addr = "localhost:2775"
}
done := make(chan struct{}, 1)
sess, err := gosmpp.NewSession(
gosmpp.TRXConnector(gosmpp.NonTLSDialer, gosmpp.Auth{
SMSC: addr,
SystemID: os.Getenv("SMPP_SYSTEM_ID"),
Password: os.Getenv("SMPP_PASSWORD"),
}),
gosmpp.Settings{
EnquireLink: 30 * time.Second,
ReadTimeout: 60 * time.Second,
OnAllPDU: func(p pdu.PDU) (pdu.PDU, bool) {
switch p := p.(type) {
case *pdu.SubmitSMResp:
// message_id = messageId of the gateway (UUID)
fmt.Printf("submit_sm_resp status=0x%08X message_id=%s\n", uint32(p.CommandStatus), p.MessageID)
if p.CommandStatus != data.ESME_ROK {
done <- struct{}{}
}
case *pdu.DeliverSM:
msg, _ := p.Message.GetMessage()
if p.EsmClass&0x04 != 0 {
fmt.Println("DR :", msg) // id:<messageId> sub:001 dlvrd:001 ... stat:DELIVRD err:000 text:
} else {
fmt.Println("MO :", msg)
}
return p.GetResponse(), false // deliver_sm_resp ESME_ROK
case *pdu.EnquireLink:
return p.GetResponse(), false
}
return nil, false
},
}, 5*time.Second) // rebind 5 s after the link drops
if err != nil {
log.Fatal(err) // a refused bind shows its command_status, e.g. ESME_RINVPASWD
}
defer sess.Close()
sm := pdu.NewSubmitSM().(*pdu.SubmitSM)
_ = sm.SourceAddr.SetAddress("SANDBOX")
sm.SourceAddr.SetTon(5) // alphanumeric
_ = sm.DestAddr.SetAddress(to)
sm.DestAddr.SetTon(1) // international
sm.DestAddr.SetNpi(1) // ISDN
sm.RegisteredDelivery = 1 // DR for every result
if err := sm.Message.SetMessageWithEncoding(text, data.UCS2); err != nil {
log.Fatal(err) // UCS2 short_message holds 70 characters; send longer text in message_payload
}
if err := sess.Transceiver().Submit(sm); err != nil {
log.Fatal(err)
}
select {
case <-done:
case <-time.After(15 * time.Second): // keep the bind open to receive DR / MO
}
}Output (normal number, then 0001):
submit_sm_resp status=0x00000000 message_id=18ed20a2-0000-4000-8000-000000000001
DR : id:18ed20a2-0000-4000-8000-000000000001 sub:001 dlvrd:001 submit date:2611301726 done date:2611301726 stat:DELIVRD err:000 text:
submit_sm_resp status=0x00000000 message_id=03543593-0000-4000-8000-000000000002
DR : id:03543593-0000-4000-8000-000000000002 sub:001 dlvrd:000 submit date:2611301726 done date:2611301726 stat:UNDELIV err:001 text:message_idinsubmit_sm_respandid:in the DR are the GatewaymessageId, the same one the admin site shows- Over SMPP only the final result of the whole message is sent (no
ENROUTEfor thesentstage); a multi-part message gets one DR - DR times are Thailand time,
YYMMDDhhmm, with TLVsreceipted_message_id(0x001E) andmessage_state(0x0427) - If no RX/TRX session is bound when a DR arrives, the Gateway keeps it and sends it on the next bind (within keep DRs waiting for a bind, 72 hours by default)
- Bound sessions and a Disconnect button are on the client's SMPP tab
3.3 command_status values
| Case | PDU | command_status |
|---|---|---|
| accepted | submit_sm_resp | 0x00000000 ESME_ROK |
wrong password, or account requires TLS but bound on the plain port | bind_resp | 0x0000000E ESME_RINVPASWD |
unknown system_id | bind_resp | 0x0000000F ESME_RINVSYSID |
| IP not in the allowlist, account off, bind type not allowed | bind_resp | 0x0000000D ESME_RBINDFAIL |
| more binds than max sessions | bind_resp | 0x00000005 ESME_RALYBND |
sender name (source_addr) not approved or suspended | submit_sm_resp | 0x0000000A ESME_RINVSRCADR |
| invalid destination number | submit_sm_resp | 0x0000000B ESME_RINVDSTADR |
| empty or too long text | submit_sm_resp | 0x00000001 ESME_RINVMSGLEN |
data_coding not accepted (0, 3, 8 are) or text that does not decode | submit_sm_resp | 0x00000104 ESME_RINVDCS |
| over the account TPS or the window | submit_sm_resp | 0x00000058 ESME_RTHROTTLED |
provider rejects or is unavailable (0004, 0005, 0006, 0013) | submit_sm_resp | 0x00000045 ESME_RSUBMITFAIL |
unsupported command (data_sm, query_sm, submit_multi …) | generic_nack | 0x00000003 ESME_RINVCMDID |
Repeated bind failures block the IP
10 failed binds within 5 minutes from one IP and the Gateway drops every connection from that IP without an answer for 15 minutes (a good bind does not reset the count). Mind this when testing wrong passwords.
On 0x58 wait and resend. On 0x45 from a retryable case (0005, 0013) you may resend, but SMPP has no clientRef, so duplicates are not prevented (limitations).
Scenarios: what you should see
Use 668123400XX with XX set to the case (e.g. 66812340001); any other number is the normal case. Times are SANDBOX defaults.
| Ending | HTTP: answer on send | Final status (GET) | Webhooks (HTTP client) | SMPP client gets |
|---|---|---|---|---|
| other | 200 SUBMITTED | DELIVERED in ~3 s | submitted → sent → delivered | ROK + DR stat:DELIVRD err:000 |
0001 | 200 SUBMITTED | FAILED errorCode: UNDELIVERED | … → failed code: UNDELIVERED | ROK + DR stat:UNDELIV err:001 |
0002 | 200 SUBMITTED | EXPIRED errorCode: EXPIRED | … → failed code: EXPIRED | ROK + DR stat:EXPIRED |
0003 | 200 SUBMITTED | FAILED errorCode: SENDER_SUSPENDED | submitted → failed code: SENDER_SUSPENDED; the 3rd within 60 min also brings sender.suspended | ROK + DR stat:UNDELIV err:300; after the threshold, sends get 0x0A |
0004 | 502 SUBMIT_FAILED details.providerCode: INVALID_DESTINATION | SUBMIT_FAILED | failed code: INVALID_DESTINATION | 0x45, then a DR stat:REJECTD |
0005 | 503 PROVIDER_UNAVAILABLE retryable: true | — (no message stored) | — | 0x45 |
0006 | 502 SUBMIT_FAILED details.code: TIMEOUT after ~30 s | UNKNOWN | failed code: TIMEOUT | 0x45 after ~30 s |
0007 | 200 SUBMITTED | stays SUBMITTED until the DR wait ends (72 h by default), then UNKNOWN NO_DR | submitted, then nothing | ROK, no DR |
0008 | 200 DELIVERED (the DR came before the answer) | DELIVERED | submitted → delivered | ROK + DR stat:DELIVRD |
0009 | 200 SUBMITTED | DELIVERED (2 delivered events and a late sent) | delivered once | one DR |
0010 | 200 SUBMITTED | DELIVERED | normal | normal |
0011 | 200 SUBMITTED | DELIVERED | normal, then ~5 s later message.inbound keyword: STOP | DR, then MO STOP (deliver_sm esm_class 0x00) |
0012 | 200 SUBMITTED | SENT for ~60 s, then DELIVERED | sent, then delivered after ~60 s | DR after ~60 s |
0013 | route SANDBOX: 503 PROVIDER_UNAVAILABLE (providerCode: 502), sending the same number again succeeds / route SANDBOX_SMPP: 503 and the link is UNBOUND for 5 s | DELIVERED after the resend | normal after the resend | 0x45 |
Notes
0013onSANDBOX_SMPPdrops the link every time this number is sent. For those 5 seconds every message on routeSANDBOX_SMPPgets503. Watch it recover by sending a normal number after 5 seconds; see the link state withGET /v1/routes(bindState) or the Providers page0003counts per sender name of the client: 3 within 60 minutes (configurable in settings) suspends the sender, and later sends get422 SENDER_SUSPENDEDuntil an administrator approves it again on the Senders page- Over HTTP,
0005and0013are safe to retry with the sameclientRef. Do not auto-retry0004and0006(retryable: false):0006may already have reached the handset
Long messages
| Text | Parts | What you should see |
|---|---|---|
| GSM 7-bit up to 160 / Thai (UCS2) up to 70 characters | 1 | normal |
| GSM, 200 characters | 2 (153 per part) | "parts": 2; sent / delivered events carry partNo 1 and 2 |
| Thai, 100 characters | 2 (67 per part) | "parts": 2 as well |
The message status is the worst part: any part failed makes the message failed; all parts delivered makes it delivered. Over SMPP, send long text in the message_payload TLV (or send UDH parts yourself; each part is one message with its own DR).
Known limitations
registered_delivery:0= no DR and1= DR for every result are supported.2(DR on failure only) works like1: you also get a DR on success- SMPP cannot prevent duplicates: SMPP has no
clientRef; sending the samesubmit_smtwice sends 2 messages. Without asubmit_sm_resp(e.g. the link dropped), check the admin site before resending. HTTP prevents duplicates withclientRef sender.suspendedis webhook only: SMPP clients are not told; they see0x0AESME_RINVSRCADR on the next send. Set a webhook URL too if you need to know at once- DR for a rejected
submit_sm: in case0004an SMPP client gets0x45(nomessage_id) and later a DRstat:REJECTDwhoseid:matches none of its messages; ignore it - SMPP v1 supports
submit_smonly; nodata_sm,submit_multi,query_sm,cancel_sm,replace_sm