api-snippets icon indicating copy to clipboard operation
api-snippets copied to clipboard

Update answer_call.5.x.php

Open electricBonfire opened this issue 7 years ago • 0 comments

I think there is an error with the code sample, and documentation on the website: https://www.twilio.com/docs/voice/quickstart/php - Receive and Respond to inbound voice calls. I was getting an error saying Uncaught Error: Class 'Twilio\\TwiML' not found I believe the Twiml class was deprecated and we should use the VoiceResponse class

electricBonfire avatar Jan 17 '19 19:01 electricBonfire