4
votes

I have a webhook setup on my Twilio number to execute a C# Controller/Action when a new call comes into my number. I'm returning TwiML to Twilio without any problems. Now I need to be notified when a call moves from a ringing status to an in-progress status. I'm attempting to use a webhook in the "CALL STATUS CHANGES" field in Twilio but this seems to only fire when the call is completed:Twilio Webhook

Twilio Logs How can I configure a webhook on an incoming call to be notified when the call moves from ringing to in-progress?

Edit Added Image showing the request sent to my webserver clearly passes a Call Status parameter with value of "ringing". Why wouldn't I receive a notification when this changes to in-progress?

2
I have the same problem: stackoverflow.com/questions/53437521/… Did you make progress on your end?Engin Kurutepe
@EnginKurutepe My use case is to make sure the entire conversation is recorded (this was before the REST Recording feature was GA). I wound up using an intermediary Twilio number that <Dial>s another Twilio number with the Recording attribute and Recording Callback values set (also kind of a hacky work around) and more expensive because it's now two Twilio calls.slashNburn

2 Answers

0
votes

When the call comes into Twilio, it is automatically answered. There is no ringing, it goes right to in-progress.

Are you looking for the results of another call you place using your TwiML? Then you can use the verb's noun.

TwiML Voice: https://www.twilio.com/docs/voice/twiml/number

0
votes

If you want to track the status of your calls, you can use the StatusCallbackEvent parameter to get notifications back to your application every time a call moves to a different status. For more information, please see article Tracking the Status of an Outbound Call. Documentation