seizure of * in SIP In my extensions.conf I wish to control the seizure that the person enters on SIP. it must seize a number between 1 and 4.
If it types # the person hears an error message. But I am not able to control the seizure of one *. I wish that the person also hears an error message.
How to make?
thank you in advance
extensions.conf
[...]
exten => 555,2,Read(rep|Message|1)
exten => 555,3,GotoIf($["${rep}" != ""]?4:2) ;TEST THE #
exten => 555,4,GotoIf($[${rep} > 4 | ${rep} <1]?5:7} ;TEST THE ENTERS BETWEEN 1 AND 4
exten => 555,5,PlayBack(Message_Error)
[...] |