A non-transitory computer-readable storage medium storing computer program instructions which, when executed by a processor in a Serving Call Session Control Function, S-CSCF, cause the processor to perform a method of handling a communication failure between the S-CSCF and a Home Subscriber Server, HSS, of an IP Multimedia Subsystem, IMS, network, the method comprising:
- detecting delivery failure of a notification sent by the S-CSCF to the HSS and relating to an IMS registration state change for a given user;
- recording an indication of the delivery failure in association with said given user in order to indicate a loss of IMS registration state synchronization for the given user between the S-CSCF and the HSS;
- detecting an event relating to said given user, the event requiring an IMS registration state change for the user to a new state;
- determining that a delivery failure indication is currently associated with the user;
- and
- sending a further notification to the HSS, the further notification including both an indication of the required IMS registration state change and an indication of a previous loss of IMS registration state synchronization for the user between the S-CSCF and the HSS.