CFA User Input and Authentication Validation Skip

Status
Not open for further replies.

DenizKoca

Free User
Joined
Jan 16, 2024
Messages
2
Reaction score
1
Hello 3CX Forum,

I have a question about the User Input and the Authentication components in CFA. I designed a new Call Flow for a customer of ours that needs to check for a specific number that the caller must enter to be transfered to a specific User. In my tests both of these components worked fine until I entered more digits than allowed via DTMF. The number the caller has to enter is always 5 digits. So I configured that Min Digits must be 5 and Max Digits also 5 because this number cannot be anything but 5. Now normaly I would expect more digits than allowed to be an invalid input and the component loops for another retry. But this is not the case. The Call Flow just accepts the input and enters the valid input branch. It even needs a Stop Digit via the DigitPound but when the input reaches the Max Digits limit it just enters the valid input branch.

Is this issue known? How can I circumvent this.

Thank you in advance,

Deniz
 
Hello Deniz,

As soon as you enter 5 digits, the input is considered valid and the CFD app moves to the next component. When you enter the 6th digit, that digit will be sent to the next component that waits for DTMF.

If you want to wait for more digits, for example the # as stop digit, then you need to increase the value of Max Digits, so it has room for that. Usually, when you need to enter exactly N digits, you don't use a stop digit. A stop digit is usually used to move to the next step faster once you complete entering the digits, so you don't need to wait for the timeout. But this is only useful when your input has a variable length.
 
Hello Deniz,

As soon as you enter 5 digits, the input is considered valid and the CFD app moves to the next component. When you enter the 6th digit, that digit will be sent to the next component that waits for DTMF.

If you want to wait for more digits, for example the # as stop digit, then you need to increase the value of Max Digits, so it has room for that. Usually, when you need to enter exactly N digits, you don't use a stop digit. A stop digit is usually used to move to the next step faster once you complete entering the digits, so you don't need to wait for the timeout. But this is only useful when your input has a variable length.
Okay now I get it. It makes sense I was just confused because a "violation" of every other option in the component seems like to lead to an invalid input. Thank you very much!
 
  • Like
Reactions: edossantos
Status
Not open for further replies.

Forum statistics

Threads
111,973
Messages
590,079
Members
164,899
Latest member
mazet