Hello, I'd like to make it so that after 5 invalid attempts of entering an extension, the Hangup command will be issued. How would I go about doing this?
Andrew Kohlsmith
2005-Mar-23 18:59 UTC
[Asterisk-Users] Perform Action after X invalid tries
On March 23, 2005 08:53 pm, Josh Alberts wrote:> Hello, I'd like to make it so that after 5 invalid attempts of entering > an extension, the Hangup command will be issued. How would I go about > doing this?My guess would be a combination of SetVar($[${VAR} + 1]) and GotoIf($[${VAR} < 5 }) Not having ever done it before, that's only a guess. -A.