Код: Выделить всё
same => n,Macro(app-mp3,/var/spool/asterisk/monitor/,${STRFTIME(${EPOCH},,%Y%m%d)}/${UNIQUEID}) same => n,Answer()
same => n,Set(TIMEOUT(digit)=1)
same => n,Wait(1)
same => n,Set(q=1)
same => n,While($[${q} < 4])
same => n,Background(/var/lib/asterisk/sounds/ivr/aviata/main_menu)
same => n,WaitExten(4)
same => n,Set(q=$[${q} + 1])
same => n,EndWhile
exten => 1,1,GoTo(rus-main,s,1)
exten => 2,1,GoTo(eng-main,s,1)