exten => 800,1,Set(DIRNAME=${CALLERID(num)}/${STRFTIME(${EPOCH},,%a%d%b%Y)})
exten => 800,2,Set(FILENAME=${DIRNAME}/${STRFTIME(${EPOCH},,%H%M%S)}-${EXTEN:2})
exten => 800,3,System(/bin/mkdir -p /var/spool/asterisk/monitor/${DIRNAME})
exten => 800,4,MixMonitor(${FILENAME}.wav,b)
exten => 800,5,Dial(SIP/chef1,20)
exten => 900,1,Set(DIRNAME=${CALLERID(num)}/${STRFTIME(${EPOCH},,%a%d%b%Y)})
exten => 900,2,Set(FILENAME=${DIRNAME}/${STRFTIME(${EPOCH},,%H%M%S)}-${EXTEN:2})
exten => 900,3,System(/bin/mkdir -p /var/spool/asterisk/monitor/${DIRNAME})
exten => 900,4,MixMonitor(${FILENAME}.wav,b)
exten => 900,5,Dial(SIP/chef2,20)
exten => 200,1,Set(DIRNAME=${CALLERID(num)}/${STRFTIME(${EPOCH},,%a%d%b%Y)})
exten => 200,2,Set(FILENAME=${DIRNAME}/${STRFTIME(${EPOCH},,%H%M%S)}-${EXTEN:2})
exten => 200,3,System(/bin/mkdir -p /var/spool/asterisk/monitor/${DIRNAME})
exten => 200,4,MixMonitor(${FILENAME}.wav,b)
exten => 200,5,Dial(SIP/employe1,20)
exten => 300,1,Set(DIRNAME=${CALLERID(num)}/${STRFTIME(${EPOCH},,%a%d%b%Y)})
exten => 300,2,Set(FILENAME=${DIRNAME}/${STRFTIME(${EPOCH},,%H%M%S)}-${EXTEN:2})
exten => 300,3,System(/bin/mkdir -p /var/spool/asterisk/monitor/${DIRNAME})
exten => 300,4,MixMonitor(${FILENAME}.wav,b)
exten => 300,5,Dial(SIP/emplye2,20)