I'm making outbound calls through Twilio Flex with StartOutboundCall
built-in action. I want to be able to manage call recording during and after the call so that I can start-stop-delete recording when necessary. However, I am not able to get call sid to do so. Is there an easy way to get call sid for a call that is started by StartOutboundCall
?
StartOutboundCall
some info: https://www.twilio.com/docs/flex/developer/voice/dialpad-click-to-dial#the-outbound-call-action-1- So far I was able to find a conference object within task attributes when I listen to "AcceptTask" event and look at its payload object, but it's not always there. Maybe the insertion of that property happens asynchronously and I should get it after a certain event.