File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -166,4 +166,45 @@ public class VoiceRequest : TwilioRequest
166166 public string ? SipSourceIp { get ; set ; }
167167
168168 #endregion
169+
170+ #region Conversation Relay Parameters
171+
172+ /// <summary>
173+ /// A unique identifier for the application
174+ /// </summary>
175+ public string ? ApplicationSid { get ; set ; }
176+
177+ /// <summary>
178+ /// A unique identifier for the Conversation Relay Session
179+ /// </summary>
180+ public string ? SessionId { get ; set ; }
181+
182+ /// <summary>
183+ /// The status of the session: ended, failed, completed, in-progress
184+ /// </summary>
185+ public string ? SessionStatus { get ; set ; }
186+
187+ /// <summary>
188+ /// Duration of the Conversation Relay Session
189+ /// </summary>
190+ public string ? SessionDuration { get ; set ; }
191+
192+ /// <summary>
193+ /// Error Code from the Conversation Relay Session
194+ /// </summary>
195+ public string ? ErrorCode { get ; set ; }
196+
197+ /// <summary>
198+ /// Error Message from the Conversation Relay Session
199+ /// </summary>
200+ public string ? ErrorMessage { get ; set ; }
201+
202+ /// <summary>
203+ /// The string of escaped JSON returned from an End session message in Conversation Relay
204+ /// https://www.twilio.com/docs/voice/twiml/connect/conversationrelay#end-session-message
205+ /// https://www.twilio.com/docs/voice/twiml/connect/conversationrelay#connect-action-url-callback
206+ /// </summary>
207+ public string ? HandoffData { get ; set ; }
208+
209+ #endregion
169210}
You can’t perform that action at this time.
0 commit comments