twilio-labs / twilio-aspnet

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

VoiceRequest is missing the ParentCallSid param #91

Closed bartMoskala closed 1 year 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 1 year ago

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

Swimburger commented 1 year ago

Fixed in #104