Configuration files store addresses, audience information, message groups, and a list of replies with their associated return codes.
When a message arrives at the CA NSM mailbox, the message server opens it and searches for an ID code. If this code matches the code expected by the Wireless Messaging client, the server passes the message to that client. The client processes the text of the message and looks for a reply. If a reply is found, the client checks the appropriate configuration file to find the code it should return to the calling application.
The Reply Information Configuration file then maps responses to return codes. In the following sample configuration file, Acknowledge is mapped to return code 97.
# SendKeep Text= 30 Page Someone Else= 31 Banner Message= 37 Acknowledge= 97
Note: You can define message actions that send responses based on the return code received in the message.
The Reply Information Configuration file may include any or all responses sent with a message, and can include additional responses that were not sent as suggestions but may be useful to the remote user. Valid return codes range from 6 through 95 and can be unique to each client instance.
Note: Return codes 6 through 95 can be assigned to user replies. All 90 return codes can be in any configuration file, but configuration files and standard policy generated by the Wireless Messaging Policy Writer recognize only replies that you list when defining the policy.
Wireless Messaging can interpret other replies if they are added manually to the configuration file or a default file is used. Otherwise, return code definitions can be arbitrary (as long as they are unique) without affecting the behavior of the policy.
The reserved return codes (0-5 and 96-99) are used by the system. The following codes are significant.
|
Code |
Description |
|---|---|
|
03 |
Message not sent (rejected by calendar check) |
|
96 |
Abort code (triggered by server termination or capagecl -I issueid -X command) |
|
97 |
Acknowledge |
|
98 |
Reply not found in the given configuration file |
|
99 |
Wireless Messaging client timed out without receiving a reply |
For information about the format of configuration files, see the online CA Reference.
|
Copyright © 2010 CA.
All rights reserved.
|
|