Category : twilio-api

I’m trying to decrypt encrypted Twilio recording using PHP https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption#step-5 This is my Encryption Details: I have successfully perform first step: $privateKey = openssl_get_privatekey(‘—–BEGIN RSA PRIVATE KEY—– *****’); $result = openssl_private_decrypt( base64_decode(‘< encrypted_cek from EncryptionDetails >’), $decryptedKeyData, $privateKey, OPENSSL_NO_PADDING ); Then I’m trying to decrypt recording using openssl_decrypt function: $data = base64_decode(file_get_contents(‘https://api.twilio.com/2010-04-01/Accounts/AC***/Recordings/RE***’)); $tag = substr($data,-16); ..

Read more

I have the Pre-Event Url correct which will send a POST request to add everything i need. But I need to try to get a dynamic url for the Post-Event URL, when I want to view the conversation, for example: https://example.com/conversation/<Conversation_sid>/ I can put a wildcard after the conversation url: https://example.com/conversation/* But I would like ..

Read more

We are trying to develop making a call feature from browser to phone using Twilio. For that made all the necessary configuration, Javascript, and API changes by using this document reference – https://www.twilio.com/blog/make-receive-phone-calls-browser-twilio-programmable-voice-python-javascript. When making a call, Twilio triggered the API configured in the TwiML app to handle the call. The API returns $response value ..

Read more

We are trying to develop making a call feature from browser to phone using Twilio. For that made all the necessary configuration, Javascript, and API changes by using this document reference – https://www.twilio.com/blog/make-receive-phone-calls-browser-twilio-programmable-voice-python-javascript. When making a call, Twilio triggered the API configured in the TwiML app to handle the call. The API returns $response value ..

Read more

We have been utilizing the Twilio php library for several years and have recently attempted to have our voice calls from XML files use the a different language. Our code is building the following xml file for test purposes. <Response> <Pause length=’1’/><Say voice=’alice’ language=’es-MX’>Prueba de nuevos manejadores de mensajes. ┬┐Recibiste este mensaje, Timoteo?</Say><Pause length=’1’/> </Response> ..

Read more

We have been utilizing the Twilio php library for several years and have recently attempted to have our voice calls from XML files use the a different language. Our code is building the following xml file for test purposes. <Response> <Pause length=’1’/><Say voice=’alice’ language=’es-MX’>Prueba de nuevos manejadores de mensajes. ┬┐Recibiste este mensaje, Timoteo?</Say><Pause length=’1’/> </Response> ..

Read more