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

33 lines
995 B
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; }
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
2025-04-21 03:49:53 +00:00
public string SpeechModel { get; set; } = "googlev2_telephony";
2025-03-14 21:44:19 +00:00
public string? MessagingShortCode { get; set; }
2025-03-14 18:59:13 +00:00
/// <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; }
2025-03-17 22:09:02 +00:00
public int MachineDetectionSilenceTimeout { get; set; } = 2500;
2025-03-14 18:59:13 +00:00
public bool RecordingEnabled { get; set; } = false;
2025-03-25 21:37:54 +00:00
public bool TranscribeEnabled { get; set; } = false;
2023-11-09 20:02:57 +00:00
}