Reputation: 1
I am facing issue with status call back event, my status call back url is being called every time when call status changes but i am not able to get data or call information. How can i get this data.
var call = CallResource.Create(to, from,
url: new Uri("http://demo.twilio.com/docs/voice.xml"),
statusCallback: new Uri("http://my-app.com/Home/Contact"),
statusCallbackMethod: HttpMethod.Post,
statusCallbackEvent : statusCallbackEvent
);
Home/Contact url being hit by the application when call status changes but i did not understand how to get call information on this method? Please guide me.
Thanks in advance.
Upvotes: 0
Views: 59
Reputation: 10781
You will see a list of the key value pairs sent to your application in this document below.
TwiML for Programmable Voice - Request parameters
You can extract them using the web development framework of your chosen programming language (i.e. Flask, Express, etc).
Upvotes: -1