BotSharp/src/Plugins/BotSharp.Plugin.Twilio/Settings/TwilioSetting.cs

37 lines
1 KiB
C#
Raw Normal View History

2023-11-09 20:02:57 +00:00
namespace BotSharp.Plugin.Twilio.Settings;
public class TwilioSetting
{
2025-03-14 18:59:13 +00:00
/// <summary>
/// Outbound phone number
/// </summary>
public string? PhoneNumber { get; set; }
/// <summary>
/// Enable streaming for outbound phone call
/// </summary>
public bool StreamingEnabled { get; set; } = false;
2023-11-09 20:02:57 +00:00
public string AccountSID { get; set; }
public string AuthToken { get; set; }
2023-12-06 22:55:55 +00:00
public string AppSID { get; set; }
public string ApiKeySID { get; set; }
public string ApiSecret { get; set; }
2023-11-09 20:02:57 +00:00
public string CallbackHost { get; set; }
2025-03-14 18:59:13 +00:00
/// <summary>
/// Default Agent Id to handle inbound phone call
/// </summary>
public string? AgentId { get; set; }
/// <summary>
/// Human agent phone number if AI can't handle the call
/// </summary>
public string? CsrAgentNumber { get; set; }
2025-01-23 16:57:21 +00:00
public int MaxGatherAttempts { get; set; } = 4;
2025-03-14 18:59:13 +00:00
public string? MachineDetection { get; set; }
public bool RecordingEnabled { get; set; } = false;
2023-11-09 20:02:57 +00:00
}