A method for handling call recording failures for a contact center comprising: determining by a processor that media exchanged between first and second communication devices during a telephony call handled by resources associated with the contact center is to be recorded; storing by the processor metadata for the telephony call in a local storage device on the contact center premise; bridging by the processor a media path between the first and second communication devices for conducting the telephony call, wherein the bridging of the media path includes establishing a first media session with the first communication device, and establishing a second media session with the second communication device, wherein the processor transmits and receives media to and from the first communication device via the established first media session, wherein the media is encrypted with a generated session key by the processor and the generated session key is encrypted; recording by the processor, into the local storage device, the encrypted session key and encrypted media exchanged in the media path wherein the encrypted media is temporarily stored into the local storage device as encrypted blocks, wherein while encrypted media is bridged and recorded by the processor, the processor fails and restarts at a later time; checking by the processor, in response to restarting of the processor, the local storage device for stored data; packaging the encrypted blocks and transmitting by the processor the stored metadata, encrypted blocks and encrypted session key from the local storage device for storage in an external storage device; and removing by the processor the data from the local storage device after the stored metadata and media is transmitted. determining by a processor that media exchanged between first and second communication devices during a telephony call handled by resources associated with the contact center is to be recorded; storing by the processor metadata for the telephony call in a local storage device on the contact center premise; bridging by the processor a media path between the first and second communication devices for conducting the telephony call, wherein the bridging of the media path includes establishing a first media session with the first communication device, and establishing a second media session with the second communication device, wherein the processor transmits and receives media to and from the first communication device via the established first media session, wherein the media is encrypted with a generated session key by the processor and the generated session key is encrypted; recording by the processor, into the local storage device, the encrypted session key and encrypted media exchanged in the media path wherein the encrypted media is temporarily stored into the local storage device as encrypted blocks, wherein while encrypted media is bridged and recorded by the processor, the processor fails and restarts at a later time; checking by the processor, in response to restarting of the processor, the local storage device for stored data; packaging the encrypted blocks and transmitting by the processor the stored metadata, encrypted blocks and encrypted session key from the local storage device for storage in an external storage device; and removing by the processor the data from the local storage device after the stored metadata and media is transmitted.