Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Basing on https://secure.mghhosting.com/wiki/download/attachments/12386334/SMSPL-SW-807-MCOR-0001+-+Web+Services+API+-+V1.06.2.pdf?version=1&modificationDate=1337252411000 and https://secure.mghhosting.com/wiki/display/MC4API/Web+Service+to+query+status. Some status codes are omitted as they can't (yet) occur in our application.

Status code

Priority

Final

Meaning

When?

0

1N

Unknown

Message with the given id not found. It is possible that the message was submitted, but not yet processed by a worker. Or that such a message doesn't exist.

1

4N

En route

Last event is "routed" or "re-routed" (after a bind failure)

29YDeliveredMessage was sent and Delivery Receipt was received
38YExpiredMessage delivery failed and message expired (SMSC will no longer try to deliver it)

5

6Y

Undeliverable

Last event is "unroutable". There's no bind (even among inactive ones) that can accept the message.

7

2Y

Invalid

Last event is "validation failed" (wrong text, recipient, etc.)

87YRejectedMessage rejected by SMSC
103N

Submitted

Last event is "request received". Not yet routed. May be temporarily unroutable.

11

5N

Sent

Last event is "sent"

Missing status codes: 4 (deleted), 6 (accepted), 7 (invalid, removed in favour of more detailed statuses below). 9 (pending)

...

If message parts have different statuses, the status returned in the query process will be the lowest priority status within the relevant message parts.   It is possible for one message part to show as delivered while the others show as sent.  A multipart message will not display on a handset until all message parts are delivered so the valid total message status is sent and this is what your message status query will return.   You can log into the user web application on MC5 and view the status of the individual message parts as each Outbound message to the SMSC shows as a separate entry in the SMS Out Volume Report

 

Status code

Final

Meaning

When?

-101

Y

No username

 

-102

Y

No password

 

-103

Y

No document id

 

-104YInvalid recipientRecipient number invalid - validation rules - numeric length: 8-16 inclusive
-105YInvalid sourceSender number invalid - validation rules - in the system - hardcoded So alpha <2, 11>, digit < 3, 16>
-106YEmpty textSMS text was empty
-107YMissing sender or replyToBoth sender and replyTo value were missing. Exactly of them should be present.
-108YBoth sender and replyTo providedBoth sender and replyTo were provided. Exactly one of them is allowed.
-109YInvalid rotation algorithm providedAvailable algorithms are: max_rotation, conversation
-110YInvalid encoding nameAvailable encodings are e.g. "utf-16", "gsm", "iso-8859-1" etc. (see Send Single Message)

-200

Y

Invalid username/password

Last event: "invalid username/pass"

-201

Y

User disabled

Last event: "user disabled"

-202YUser blockedLast event: "user blocked"

-210

Y

Insufficient credits

Last event: "no credits"

-230YDocument ID not matchedUser does not have rights to check message status
-240YInvalid (not supported) replyTo value 

-910

Y

SMSC error

Last event: "send failure" 

-999

Y

Internal error

 

Missing status codes:

...