twilio-labs / twilio-aspnet

Integrate Twilio Programmable Messaging and Voice with ASP.NET Respond to webhooks with TwiML in seconds
Apache License 2.0
59 stars 30 forks source link

VoiceRequest is missing the ParentCallSid param #91

Closed bartMoskala closed 2 years ago

bartMoskala commented 2 years ago

According to the https://www.twilio.com/docs/voice/twiml#request-parameters ParentCallSid param can be sent in the VoiceRequest. I believe it's important to have it there, because the StatusCallbackRequest which inherits that request always contains it.

`
/// < summary > /// A unique identifier for the call that created this leg. This parameter is not passed if this is the first leg of a call. /// </ summary >

public string ParentCallSid { get; set; }

`

image

Swimburger commented 2 years ago

Would you like to submit a PR for this? If not I can take care of it.

Swimburger commented 2 years ago

Fixed in #104