"dial-by-name" script has been downloaded form cisco web site. there are 20 people but I want to forward the call only to extension 106, 107 and 108 by dial-by-name script. I added "if" statement in the script but when the caller dial the name other that owner of those extesion, still CUE announces the name of called party. I want if the user dial the incorrect person name, the script loopback to start and CUE doesn't announce the called name if they are not the owner of 106, 107 and 108 extension. I attached the sample script to review.
any suggestion would be very appreciated.