Figure 8.3.6.1-1 shows the procedure for MSGin5G Client to update the stored message. This procedure enables user to update store and forward parameters of the stored message or discard to stored message. It is up to the end user or application client to decide if update the stored message is required or not.
Pre-conditions:
-
The MSGin5G Client has originated a message to a recipient UE and it is stored to the MSGin5G Server as the recipient UE is not available (as specified in clause 8.3.6).
Step 0.
The user or the Application Client decides to update the stored message. In order to update the stored message, the user or the Application Client decides to either update store and forward parameters or discard the stored message. The Application Client informs MSGin5G Client to update the stored message.
Step 1.
The MSGin5G Client sends a request message to update the store message to the MSGin5G Server. The message includes the Message ID for which store and forward parameters needs to be updated, and new or updated store and forward parameters (e.g. Message expiration time) as specified in
Table 8.3.2-2.
Upon receiving the request, if the MSGin5G Client is not authorized to update the stored message (e.g. to update store and forward parameters or to discard the message), the MSGin5G Server sends failure response in step-2.
Information element |
Status |
Description |
Originating UE Service ID/AS Service ID | M | The service identity of the sending MSGin5G Client or the sending Application Server. |
Destination address | M | The targeted server address. |
Message ID | M | Unique identifier of the stored message which requires update (i.e. for which parameters need to be updated or needs to be discarded). |
Store and forward parameters (NOTE) | O |
Updated parameters used by MSGin5G Server for providing store and forward services, as detailed in Table 8.3.2-2. |
NOTE:
This IE is only present if the request is to update stored and forward parameters.
|
Step 2.
If the MSGin5G Client is authorized, the MSGin5G Server checks whether the message is stored based on received Message ID. If message is stored, and if "Store and forward parameters" IE is present, then the MSGin5G Server updates the store and forward parameters. if "Store and forward parameters" IE is not present, the MSGin5G server discards the stored message. The MSGin5G Server sends a response back to the MSGin5G Client. If the message does not exists, then the response message includes a failure cause.
Information element |
Status |
Description |
Result | M | Indication if the procedure is success or failure. |
Failure Cause
(see NOTE) | O | The reason for failure. |
NOTE:
This IE shall only be present when the result is Failure.
|
This procedure applies when an MSGin5G message is received at the MSGin5G Server for delivery and the message cannot be delivered to the recipient since the recipient UE is unavailable (disconnected or power off), i.e. not registered; otherwise, the procedure detailed in
clause 8.3.2 applies.
This procedure applies to the MSGin5G Server that is the home of the terminating MSGin5G Service ID based on the configuration from MSGin5G service provider. If the deferred message service is enabled, this procedure applies to all MSGin5G messages received at the MSGin5G Server for delivery.
Figure 8.3.7-1 shows the procedure for providing deferred message services.
Pre-conditions:
-
The MSGin5G message reaches to the MSGin5G Server that is the home of the terminating MSGin5G Service ID for delivery.
-
The UE with the terminating MSGin5G Service ID is not registered.
Step 1.
MSGin5G Server tries to deliver the MSGin5G message to the UE but either:
-
no UE with the requested MSGin5G Service ID has registered; or
-
the UE with the requested MSGin5G Service ID registered but is unavailable (e.g. disconnected or power off) for message delivery.
Step 2.
The MSGin5G Server checks whether the value of the Store and forward flag IE (see
Table 8.3.2-1) in the MSGin5G message indicates that store and forward services are requested by the sender. If the store and forward services are requested by the sender, the procedure specified in
clause 8.3.6 applies.
Step 3.
If the store and forward services are not requested by the sender, the MSGin5G Server checks whether the deferred message service is enabled by the MSGin5G service provider. If the deferred message service is enabled, the MSGin5G Server stores the MSGin5G message and continues the rest steps in this clause, otherwise the MSGin5G Server discards the MSGin5G message and skipped all the rest steps except step 8b.
Step 4.
Before either the Message expiration time is expired or the maximum deferred time is expired, the MSGin5G Server may trigger the Recipient UE based on the MSGin5G device triggering procedure in
clause 8.9.3.
Step 5.
The MSGin5G Server may send a message response as defined in
Table 8.3.2-3 which includes deferred status information in the Delivery Status IE, e.g., that the delivery had been deferred.
Step 6a.
The recipient UE, i.e. the UE with the requested MSGin5G Service ID, becomes available for message delivery.
Step 7.
the MSGin5G Server delivers of the MSGin5G message using the procedure specified in
clause 8.3.3.
Step 8a.
The MSGin5G Server may send a message response as defined in
Table 8.3.2-3 with status information in the Delivery Status IE, e.g., that the message was delivered.
Step 6b.
The recipient UE has not became available due to its registration before the Message expiration time is expired or the maximum deferred time is expired.
Step 8b.
The MSGin5G Server discards the MSGin5G message and may send a message response as defined in
Table 8.3.2-3 which status information in the Delivery Status IE, e.g., that the message was discarded.
If the recipient UE has become available due to its registration before the Message expiration time is expired or the maximum deferred time is expired, step 6a, 7a and 8a apply, otherwise step 6b and 8b apply.