Reputation: 31
I could make a call and record call conversation. string callerId =string.Empty;//Twillio Account SID var dial = new Dial(callerId: callerId, record: record_from_answer How to retrieve Recording Sid of the current call, once the call recording is complete from Twilio using c#
Upvotes: 1
Views: 388
Reputation: 21730
Twilio developer evangelist here.
Twilio will make a request to your server with the recording information via the RecordingStatusCallback
attribute. You can read more about it here
So all you need is create an endpoint that accepts a POST
request from Twilio and change your code to something like:
var response = new VoiceResponse();
response.Dial("to-phone-number",
callerId: "your-twilio-number",
record: "record-from-answer",
recordingStatusCallback: new Uri("url_in_your_application_that_processes_recordings")
);
Hope this helps you
Upvotes: 1