Skip to content

Commit d219b5c

Browse files
authored
Syncing protocol buffers (#72)
1 parent b82b6df commit d219b5c

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

wgtwo/events/v0/events.proto

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,11 +266,46 @@ message SmsDeliveryReportEvent {
266266
FROM_SUBSCRIBER = 1;
267267
TO_SUBSCRIBER = 2;
268268
}
269+
// Summarised status derived from the TP-Status field defined in 3GPP TS 23.040
269270
enum Status {
270271
STATUS_UNKNOWN = 0;
272+
// Delivery successful. <br>
273+
// Derived from TP-Status values: <br>
274+
// - 'Short message received by the SME' <br>
275+
// - 'Short message forwarded by the SC to the SME but the SC is unable to confirm delivery' <br>
276+
// - 'Short message replaced by the SC' <br>
271277
DELIVERED = 1;
278+
// Delivery unsuccessful but will retry. <br>
279+
// Derived from TP-Status values: <br>
280+
// - 'Congestion' <br>
281+
// - 'SME busy' <br>
282+
// - 'No response from SME' <br>
283+
// - 'Service rejected' <br>
284+
// - 'Quality of service not available' <br>
285+
// - 'Error in SME' <br>
272286
TEMPORARY_FAILURE = 2;
287+
// Delivery unsuccessful and will NOT retry. <br>
288+
// Derived from TP-Status values: <br>
289+
// - 'Remote procedure error' <br>
290+
// - 'Incompatible destination' <br>
291+
// - 'Connection rejected by SME' <br>
292+
// - 'Not obtainable' <br>
293+
// - 'Quality of service not available' <br>
294+
// - 'No interworking available' <br>
295+
// - 'SM Deleted by originating SME' <br>
296+
// - 'SM Deleted by SC Administration' <br>
297+
// - 'SM does not exist' <br>
298+
// SC is not making any more transfer attempts after following temporary errors <br>
299+
// - 'Congestion' <br>
300+
// - 'SME busy' <br>
301+
// - 'No response from SME' <br>
302+
// - 'Service rejected' <br>
303+
// - 'Quality of service not available' <br>
304+
// - 'Error in SME' <br>
273305
FINAL_FAILURE = 3;
306+
// Delivery unsuccessful and will NOT retry. <br>
307+
// Derived from TP-Status values: <br>
308+
// - 'SM Validity Period Expired' <br>
274309
EXPIRED = 4;
275310
}
276311

@@ -287,6 +322,7 @@ message SmsDeliveryReportEvent {
287322
}
288323
Direction direction = 8;
289324
string sms_id = 9;
325+
// Summary of delivery status. See Status enum for details on how status is mapped.
290326
Status status = 10;
291327
}
292328

0 commit comments

Comments
 (0)