SMPP#
Server address: smsapi.telekom.sk
Port: 2775
For the TON and NPI parameters, you can use the value 1. These
values do not affect the SMPP connection itself.
Sending Messages (submit_sm)#
The following table describes parameters supported when submitting
messages via submit_sm.
| Parameter | Hodnoty | Popis |
|---|---|---|
| source_addr_ton | 1 | Automatic sender detection |
| source_addr_npi | 1 | Automatic sender detection |
| dest_addr_ton | 1 | Automatic recipient detection |
| dest_addr_npi | 1 | Automatic recipient detection |
| data_coding | 0 = auto-detect, 1 = latin1, 8 = UCS2 | Message encoding type |
Delivery Information (deliver_sm)#
The deliver_sm command includes the esm_class parameter with the
following values:
Delivery receipt format:
id:123A456B sub:1 dlvrd:1 submit date:202104011545 done date:202104011552 stat:DELIVERED err:0
| Parameter | Length (octets) | Description |
|---|---|---|
| id | string | Message ID |
| sub | 3 | Number of submitted message parts |
| dlvrd | 3 | Number of delivered message parts |
| submit date | 12 | Date and time the message was submitted. Format: YYYYMMDDhhmm |
| done date | 12 | Date and time the message was delivered. Format: YYYYMMDDhhmm |
| stat | 13 | Message status |
| err | 3 | Error code |
SMS Statuses
| Status | message_state | Description |
|---|---|---|
| QUEUED | 1 | In queue - message accepted and waiting to be sent. |
| SENT | 3 | Sent - message delivered to the SMSC. |
| DELIVERED | 4 | Delivered - message delivered to the recipient. |
| EXPIRED | 5 | Expired - delivery time limit exceeded. |
| DELETED | 6 | Deleted - message removed from delivery queue. |
| UNDELIVERABLE | 7 | Undeliverable - message cannot be delivered. |
| DENIED | 8 | Rejected - message rejected by the SMSC. |
| ERROR | 9 | Error - message could not be sent due to an error. The system retries delivery up to 5 times within 60 minutes. |
| UNKNOWN | 10 | Unknown - message was sent, but delivery status cannot be determined. |
| SCHEDULED | 11 | Scheduled - message is queued for later delivery. |
| IN_GROUP | 12 | In group - message assigned to a cadence group. |
| PROCESSING | 14 | Processing - message is currently being processed. |
| READ | 15 | Read - message has been read by the recipient. |