Telnyx activities enhancements
This commit is contained in:
parent
d339b8d389
commit
e24609d3ec
|
|
@ -98,6 +98,15 @@ namespace Elsa.Activities.Telnyx.Activities
|
|||
get => GetState(() => Duration.FromSeconds(20));
|
||||
set => SetState(value);
|
||||
}
|
||||
|
||||
[ActivityInput(
|
||||
Hint = "Enables Answering Machine Detection.",
|
||||
UIHint = ActivityInputUIHints.Dropdown,
|
||||
Options = new[] {"disabled", "detect", "detect_beep", "detect_words", "greeting_end"},
|
||||
DefaultValue = "disabled",
|
||||
Category = PropertyCategories.Advanced,
|
||||
SupportedSyntaxes = new[] {SyntaxNames.Literal, SyntaxNames.JavaScript, SyntaxNames.Liquid})]
|
||||
public string? AnsweringMachineDetection { get; set; } = "disabled";
|
||||
|
||||
private CallAnsweredPayload? CallAnsweredPayload
|
||||
{
|
||||
|
|
|
|||
|
|
@ -60,9 +60,10 @@ namespace Elsa.Activities.Telnyx.Activities
|
|||
[ActivityInput(
|
||||
Hint = "Enables Answering Machine Detection.",
|
||||
UIHint = ActivityInputUIHints.Dropdown,
|
||||
Options = new[] { "disabled", "detect", "detect_beep", "detect_words", "greeting_end" },
|
||||
SupportedSyntaxes = new[] { SyntaxNames.Literal, SyntaxNames.JavaScript, SyntaxNames.Liquid })]
|
||||
public string? AnsweringMachineDetection { get; set; }
|
||||
Options = new[] {"disabled", "detect", "detect_beep", "detect_words", "greeting_end"},
|
||||
DefaultValue = "disabled",
|
||||
SupportedSyntaxes = new[] {SyntaxNames.Literal, SyntaxNames.JavaScript, SyntaxNames.Liquid})]
|
||||
public string? AnsweringMachineDetection { get; set; } = "disabled";
|
||||
|
||||
[ActivityInput(
|
||||
Label = "Answering Machine Detection Configuration",
|
||||
|
|
|
|||
Loading…
Reference in a new issue