Closed hlotfy85 closed 2 years ago
Hey we have changed the implementation to stream the audio. After v5.15, the call recording is retrieved by calling a connect api directly, instead of using CloudFront. Please try upgrade the CTI Adapter version and let us know if you have any issue with the new implementation.
I've followed the guide to enable audio recordings in SFDC. Transcripts are coming in fine, however when i try to listen to the recording i get this error in the console within SFDC:
RECORDING_URL:CHANGED {"errorMessage": "Could not deserialize key data.", "errorType": "ValueError", "stackTrace": [" File \"/var/task/sfGenerateAudioRecordingStreamingURL.py\", line 69, in lambda_handler\n url, date_less_than=expire_date)\n", " File \"/opt/python/lib/python3.7/site-packages/botocore/signers.py\", line 341, in generate_presigned_url\n signature = self.rsa_signer(policy)\n", " File \"/var/task/sfGenerateAudioRecordingStreamingURL.py\", line 78, in rsa_signer_with_key\n backend=default_backend()\n", " File \"/opt/python/lib/python3.7/site-packages/cryptography/hazmat/primitives/serialization/base.py\", line 16, in load_pem_private_key\n return backend.load_pem_private_key(data, password)\n", " File \"/opt/python/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/backend.py\", line 1186, in load_pem_private_key\n password,\n", " File \"/opt/python/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/backend.py\", line 1411, in _load_key\n self._handle_key_loading_error()\n", " File \"/opt/python/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/backend.py\", line 1465, in _handle_key_loading_error\n raise ValueError(\"Could not deserialize key data.\")\n"]} string