File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,15 @@ class AdvancedMachineDetection implements ArrayHydrateInterface
1010 public const MACHINE_BEHAVIOUR_HANGUP = 'hangup ' ;
1111 public const MACHINE_MODE_DETECT = 'detect ' ;
1212 public const MACHINE_MODE_DETECT_BEEP = 'detect_beep ' ;
13+ public const MACHINE_MODE_DEFAULT = 'default ' ;
1314 public const BEEP_TIMEOUT_MIN = 45 ;
1415 public const BEEP_TIMEOUT_MAX = 120 ;
1516 protected array $ permittedBehaviour = [self ::MACHINE_BEHAVIOUR_CONTINUE , self ::MACHINE_BEHAVIOUR_HANGUP ];
16- protected array $ permittedModes = [self ::MACHINE_MODE_DETECT , self ::MACHINE_MODE_DETECT_BEEP ];
17+ protected array $ permittedModes = [
18+ self ::MACHINE_MODE_DETECT ,
19+ self ::MACHINE_MODE_DETECT_BEEP ,
20+ self ::MACHINE_MODE_DEFAULT
21+ ];
1722
1823 public function __construct (
1924 protected string $ behaviour ,
You can’t perform that action at this time.
0 commit comments