<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><SPAN style="FONT-SIZE: 9pt; COLOR: #355e00; FONT-FAMILY: Verdana"><FONT
color=#000080><FONT face=Arial color=#000000
size=2>Pessoal</FONT></FONT></SPAN></DIV><SPAN
style="FONT-SIZE: 9pt; COLOR: #355e00; FONT-FAMILY: Verdana"><FONT
color=#000080><FONT face=Arial color=#000000 size=2></FONT></FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 9pt; COLOR: #355e00; FONT-FAMILY: Verdana"><FONT
color=#000080><FONT face=Arial color=#000000 size=2>Esse contexto cria um
diretorio por data para gravaçao, acredito que foi o grande sylvio que passou,
mas nao grava nada, o que pode ser que esta faltando?</FONT></FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 9pt; COLOR: #355e00; FONT-FAMILY: Verdana"><FONT
color=#000080><SPAN lang=PT-BR>
<P>exten => _0[1234]<FONT face="Courier New" size=1><FONT face="Courier New"
size=1>XXXXXXX</FONT></FONT><FONT
size=1>,1,Set(PATH=/var/spool/asterisk/monitor/${TBDST}/${STRFTIME(${EPOCH},,%Y/%m/%d)})</P>
<P>exten => _0[1234]XXXXXXX,</FONT><FONT face="Courier New" size=1><FONT
face="Courier New" size=1>n</FONT></FONT><FONT size=1>,System(/bin/mkdir -p
${PATH})</P>
<P>exten => _0[1234]XXXXXXX,</FONT><FONT face="Courier New" size=1><FONT
face="Courier New" size=1>n,</FONT></FONT><FONT
size=1>Set(NAME=${CALLERID(num)}-${STRFTIME(${EPOCH},,%d%m%Y%H%M%S)}-${UNIQUEID})</P>
<P>exten => _0[1234]XXXXXXX,</FONT><FONT face="Courier New" size=1><FONT
face="Courier New" size=1>n</FONT></FONT><FONT
size=1>,Set(CDR(userfield)=</FONT><FONT face="Courier New" size=1><FONT
face="Courier New" size=1>monitor</FONT></FONT><FONT
size=1>/${TBDST}/${STRFTIME(${EPOCH},,%Y/%m/%d)}/${NAME}.${CODEC})</P>
<P>exten => _0[1234]XXXXXXX,</FONT><FONT face="Courier New" size=1><FONT
face="Courier New" size=1>n</FONT></FONT><FONT
size=1>,Set(MONITOR_FILENAME=${PATH}/${NAME})</P>
<P>exten => _0[</FONT><FONT face="Courier New" size=1><FONT
face="Courier New" size=1>1</FONT></FONT><FONT
size=1>234]XXXXXXX,n,Dial(DAHDI/g1/${EXTEN:1},200,tT) </P></FONT></SPAN></DIV>
<DIV><BR></DIV></FONT></SPAN></BODY></HTML>