exten ⇒ _1XXX,1,Answer()
same ⇒ n,Set(N=0)
same ⇒ n(no),Playback(enter-password)
same ⇒ n,Read(PASS,,3,,,)
same ⇒ n,Playback(beep)
same ⇒ n,Set(N=$[${N}+1])
same ⇒ n,GotoIf($[${N} = 3]?no1:yes)
same ⇒ n(yes),GotoIf($[«${PASS}» = «123»]?:no)
same ⇒ n,Set(CALLERID(num)=2${CALLERID(num)})
same ⇒ n,Dial(sip/ast1/${EXTEN:1})
same ⇒ n(no1),Playback(enter-password-wrong)
same ⇒ n,Hangup()