<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>&nbsp; &nbsp;Boa tarde colegas...<div>&nbsp; &nbsp;Estou tentando usar a funcao de anexar uma linha nova num texto, via function file, e, De acordo com o site :<div><a href="https://wiki.asterisk.org/wiki/display/AST/Function_FILE">https://wiki.asterisk.org/wiki/display/AST/Function_FILE</a><font face="Arial" size="3" style="font-size:12pt;"><br id="FontBreak"></font>deveria funcionar sem problemas, so que dá erro, e não grava a string.</div><div><br></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(FILE(/etc/asterisk/test.txt)=linha1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(FILE(/etc/asterisk/test.txt,,,ad)=linha2);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(FILE(/etc/asterisk/test.txt,,,ad)=linha3);</div><div><br></div><div>se eu fizer apenas anexando, ele coloca assim :&nbsp;<span style="font-size: 12pt;">linha1</span><span style="font-size: 12pt;">linha2</span><span style="font-size: 12pt;">linha3</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Mas preciso desse formato :</span></div><div><span style="font-size: 12pt;"><br></span></div><div>linha1</div><div>linha2</div><div>linha3</div><div><br></div><div>trata-se de um bug ? ou estou usando de forma errada ?</div><div><br></div><br><pre style="line-height:17px;white-space:normal;color:rgb(42, 42, 42);background-color:rgb(255, 255, 255);">Hudson&nbsp;<br>(048) 8413-7000<br>Para quem nao cre, nenhuma prova converte,Para aquele que cre, nenhuma prova precisa.&nbsp;</pre></div></div>                                               </div></body>
</html>