Closed giorgio93p closed 1 year ago
When an NCCO with advanced machine detection is built using this library, it is rejected with a reason (in an event) behavior cannot be empty or NULL. Notice the spelling in the error and in the docs: behavior.
behavior cannot be empty or NULL
behavior
Observe that the code currently https://github.com/Vonage/vonage-php-sdk-core/blob/bb29ae2b9001581a077e09114394f9ce88973828/src/Voice/VoiceObjects/AdvancedMachineDetection.php#L84 outputs the value as behaviour.
behaviour
Changing the spelling of behavio(u)r in the code suffices to get rid of the error.
Fixed in #415 To be deployed
Current Behavior
When an NCCO with advanced machine detection is built using this library, it is rejected with a reason (in an event)
behavior cannot be empty or NULL
. Notice the spelling in the error and in the docs:behavior
.Observe that the code currently https://github.com/Vonage/vonage-php-sdk-core/blob/bb29ae2b9001581a077e09114394f9ce88973828/src/Voice/VoiceObjects/AdvancedMachineDetection.php#L84 outputs the value as
behaviour
.Possible Solution
Changing the spelling of behavio(u)r in the code suffices to get rid of the error.
Your Environment