Outbound SMS Logs#

Outbound SMS logs list a record for each SMS that you sent through your SMS trunks. Use them to monitor outbound messages, check charges, and troubleshoot failed messages.

To open the logs, in the DIDWW User Panel, go to Logs & Analytics > SMS Logs > Outbound.


Outbound SMS log filters#

Date / time (UTC), Source address, Destination address, and Status are always shown. To show or hide SMS trunk, SMS ID, Service type, and Sender ID Verification, select them in the Filters menu. Reset all inputs in the same menu clears all filter values.

Filter

Description

Date / time (UTC)

Shows SMS sent in the selected period: Today, Last 24 hours, This week, This month, Previous month, or Custom range. The default is Last 24 hours. In Custom range, you can select dates in the current month and the previous two months.

Source address

Shows SMS sent from the entered source addresses. Select Equals or Contains, and enter an address or select one of your numbers from the list.

Destination address

Shows SMS sent to the entered numbers. Select Equals or Contains.

Status

Shows SMS with the selected status: Any status, Success, Failed, Routing Error, Queued, or In Progress. See Outbound SMS statuses.

SMS trunk

Shows SMS sent through the selected SMS trunks.

SMS ID

Shows the SMS with the entered SMS ID.

Service type

Shows A2P or P2P SMS.

Sender ID Verification

Shows SMS sent with the selected Sender ID verifications.

To filter by several values in one field, separate them with commas (,) or spaces. For example, enter 123,456 or 123 456.

Outbound tab of the SMS Logs page with the filter bar highlighted.

Fig. 1. Outbound SMS log filters.#


Outbound SMS log fields#

Each record is one outbound SMS. A long SMS sent in several fragments is one record.

Field

Description

Date / Time (UTC)

When DIDWW received the SMS from your SMS trunk.

Status

How DIDWW processed the SMS, for example SUCCESS or ROUTING ERROR. See Outbound SMS statuses.

Reason

Why the SMS was not sent, for example SMS source address is not allowed. For SMS sent through an HTTP OUT trunk, the Reason describes the callback code_id in words. See Outbound SMS API errors and status codes.

Source Address

The sender of the SMS: a phone number or a Sender ID.

Destination Address

The number the SMS was sent to.

Trunk / Type

The SMS trunk the SMS was sent through, and its type, for example HTTP OUT.

Sender ID Verification

The Sender ID verification used for an A2P SMS. Empty for a P2P SMS.

SMS ID

The identifier DIDWW assigned to the SMS.

Billed Fragments

The number of billed fragments. - if the SMS was not charged. See How outbound SMS are billed.

Charged (USD)

The total charge for the billed fragments, in USD. - if the SMS was not charged.

Outbound tab of the SMS Logs page with the outbound SMS records highlighted.

Fig. 2. Outbound SMS logs.#

Outbound SMS statuses#

The Status shows how DIDWW processed the SMS. For SMS sent through an HTTP OUT trunk, SUCCESS, ROUTING ERROR, and FAILED match the status of the message status callback. Queued and In Progress are intermediate states that are not reported in the callback.

Status

Description

SUCCESS

DIDWW sent the SMS to the carrier. This does not confirm that the recipient received it.

ROUTING ERROR

DIDWW could not route the SMS, for example because the trunk cannot use the sender. The SMS is not sent and not charged. See the Reason.

FAILED

The SMS failed. See the Reason.

Queued

Filter value for SMS that DIDWW accepted and has not sent yet.

In Progress

Filter value for SMS that DIDWW is sending.

The logs do not show the final delivery status. To know whether the recipient received an SMS, use its delivery receipt (DLR):

How outbound SMS are billed#

Outbound SMS are billed per fragment, not per message. A long SMS is sent in several fragments, and each fragment is billed at the rate for the destination and the service type (A2P or P2P). The Billed Fragments field shows how many fragments were billed, and Charged (USD) shows the total charge.

You are charged only for the fragments that DIDWW sent to the carrier. If no fragment was sent, the SMS is not charged, and Billed Fragments and Charged (USD) show -.

Status

Billing

SUCCESS

Billed for each fragment sent.

ROUTING ERROR

Not billed. DIDWW could not route the SMS, so no fragment was sent.

FAILED

Billed only for the fragments that were sent before the SMS failed. Not billed when no fragment was sent, for example when no balance was available during the SMS’s time to live.

Queued and In Progress

Not billed yet. The charge is shown when DIDWW finishes processing the SMS.

How fragments are counted#

The number of fragments depends on the length of the SMS and its encoding. For SMS sent through an HTTP OUT trunk, DIDWW uses GSM-7 when every character of the message is in the GSM-7 alphabet. Otherwise, the whole message uses UCS-2. Over SMPP, the data_coding parameter of each message sets the encoding. A header is added to each fragment of a long SMS, so each fragment holds fewer characters than a single SMS.

Encoding

Single SMS

Each fragment of a long SMS

GSM-7

160 characters

153 characters

UCS-2 (Unicode)

70 characters

67 characters

The limits count GSM-7 basic-alphabet characters. GSM-7 extension characters, such as €, [, and ], use two positions each.

For example:

  • An SMS of 160 GSM-7 basic-alphabet characters is billed as 1 fragment.

  • An SMS of 200 GSM-7 basic-alphabet characters is billed as 2 fragments (153 + 47).

  • An SMS of 100 Cyrillic characters uses UCS-2 and is billed as 2 fragments (67 + 33).

  • On an HTTP OUT trunk, one emoji switches the whole SMS to UCS-2, so a short English message with an emoji can need more fragments than the same message without it.

For more examples and the encoding rules, see SMS encoding reference. For current rates, see DIDWW pricing.