
280 IMS Connectivity in an On Demand Environment: A Practical Guide to IMS Connectivity
4. If the interaction ended normally, IMS Connect sends us a CSM structure; otherwise, we
receive an RSM. If we receive an RSM, we will probably want to notify the user with an
appropriate error message.
5. If we receive a CSM, we can process the output message from IMS. We also check if we
need to send an ACK, looking at the corresponding bit flag, according to 14.2.2, “The IMS
Connect output message” on page 274. In this sample, we use sync level=confirm, so we
always need to ACK a correct response. However, it is a good programming practice to
check the ...