Was wondering if anyone can help me currently I only accept 3 cvv numbers and I need to chage this to 4 but I can't find any where online how to put a range in this statement.
exten => s,n,GotoIf($[${LEN(${vrCC_CCV})}=3]?wait:cc_ccvinv)
Visa/Mastercard are fine with 3 didits but American Express requires the four digits on front of the card.
Any assistance would be greatful.
Like any other language asterisk support AND/OR in expressions.
https://www.voip-info.org/asterisk-cmd-gotoif/
More info about expressions in dialplan
https://www.voip-info.org/asterisk-expressions/