<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Nossa cara, t&aacute; osso mesmo... ker
      resolver faz isso:<br>
      <br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Set(System(echo linha1 &gt;&gt;
      /etc/asterisk/test.txt);
      <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(System(echo linha2 &gt;&gt;
        /etc/asterisk/test.txt);</div>
      <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(System(echo linha3 &gt;&gt;
        /etc/asterisk/test.txt);<br>
        <br>
        Falows<br>
      </div>
      <br>
      <br>
      On 18-02-2013 17:01, Hudson Cardoso wrote:<br>
    </div>
    <blockquote cite="mid:SNT002-W243A024BB8B142C56B2CFBA3F40@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr"><font style="font-size:12pt;" face="Arial" size="3">se
          eu quizesse somente escreve o caractere #13, como voce faria ?<br
            id="FontBreak">
        </font><br>
        <br>
        <pre style="line-height:17px;white-space:normal;color:rgb(42, 42, 42);background-color:rgb(255, 255, 255)">Hudson&nbsp;
(048) 8413-7000
Para quem nao cre, nenhuma prova converte,Para aquele que cre, nenhuma prova precisa.&nbsp;</pre>
        <br>
        <br>
        <div>
          <hr id="stopSpelling">Date: Mon, 18 Feb 2013 16:54:55 -0300<br>
          From: <a class="moz-txt-link-abbreviated" href="mailto:jefaokpta@hotmail.com">jefaokpta@hotmail.com</a><br>
          To: <a class="moz-txt-link-abbreviated" href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</a><br>
          Subject: Re: [AsteriskBrasil] funcao file<br>
          <br>
          <div class="ecxmoz-cite-prefix">S&oacute; pra ter certeza parcero vc
            protegeu o \n? ele ficaria \\n<br>
            <br>
            Set(FILE(/etc/asterisk/test.txt)=linha1\\n);<br>
            <br>
            Isso acima n&atilde;o funfa?<br>
            <br>
            Falows<br>
            <br>
            On 18-02-2013 16:35, Hudson Cardoso wrote:<br>
          </div>
          <blockquote
            cite="mid:SNT002-W98B244C219557904347C87A3F40@phx.gbl">
            <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
            <div dir="ltr"><font style="font-size:12pt;" face="Arial"
                size="3">Colocar um \n foi a minha primeira tentativa ,
                depois tentei colocar (#13), mas n&atilde;o sei muito bem como
                fazer isso .</font>
              <div><font style="font-size:12pt;" face="Arial" size="3">tem
                  que colocar um line feed no fim, mas vai
                  saber....rsrsrsr<br id="ecxFontBreak">
                </font><br>
                <br>
                <pre style="line-height:17px;white-space:normal;color:rgb(42, 42, 42);background-color:rgb(255, 255, 255);">Hudson&nbsp;
(048) 8413-7000
Para quem nao cre, nenhuma prova converte,Para aquele que cre, nenhuma prova precisa.&nbsp;</pre>
                <br>
                <br>
                <div>
                  <hr id="ecxstopSpelling">Date: Mon, 18 Feb 2013
                  16:21:22 -0300<br>
                  From: <a moz-do-not-send="true"
                    class="ecxmoz-txt-link-abbreviated"
                    href="mailto:jefaokpta@hotmail.com">jefaokpta@hotmail.com</a><br>
                  To: <a moz-do-not-send="true"
                    class="ecxmoz-txt-link-abbreviated"
                    href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</a><br>
                  Subject: Re: [AsteriskBrasil] funcao file<br>
                  <br>
                  <div class="ecxmoz-cite-prefix">Tenta ao fim de cada
                    palavra inserir um "\n".<br>
                    <br>
                    Falows<br>
                    <br>
                    On 18-02-2013 16:04, Hudson Cardoso wrote:<br>
                  </div>
                  <blockquote
                    cite="mid:SNT002-W1166F4B41351CD8694352B6A3F40@phx.gbl">
                    <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}


--></style>
                    <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 moz-do-not-send="true"
                            href="https://wiki.asterisk.org/wiki/display/AST/Function_FILE"
                            target="_blank">https://wiki.asterisk.org/wiki/display/AST/Function_FILE</a><font
                            style="font-size:12pt;" face="Arial"
                            size="3"><br id="ecxFontBreak">
                          </font>deveria funcionar sem problemas, so que
                          d&aacute; erro, e n&atilde;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;
(048) 8413-7000
Para quem nao cre, nenhuma prova converte,Para aquele que cre, nenhuma prova precisa.&nbsp;</pre>
                        </div>
                      </div>
                    </div>
                    <br>
                    <fieldset class="ecxmimeAttachmentHeader"></fieldset>
                    <br>
                    <pre>_______________________________________________
EBS MODULAR: 3 slots para combina&ccedil;&atilde;o entre E1, GSM, FXS ou FXO;
Linha de PORTEIROS IP, abrem at&eacute; 2 dispositivos com acesso IP remoto;
Conhe&ccedil;a esses e outros LAN&Ccedil;AMENTOS KHOMP em <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>&nbsp;
_______________________________________________
DIGIVOICE  Fabricante de Placas de Voz e Channel Bank
20 anos de experi&ecirc;ncia com E1(R2/ISDN), FXS, FXO e GSM
Centro Treinamento - Curso de PABX IP -  Asterisk  - Site  <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a>
_______________________________________________
ALIGERA &#8211; Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
Channel Bank &#8211; Appliance Asterisk - Acesse <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></pre>
                  </blockquote>
                  <br>
                  <br>
                  _______________________________________________ EBS
                  MODULAR: 3 slots para combina&#65533;&#65533;o entre E1, GSM, FXS ou
                  FXO; Linha de PORTEIROS IP, abrem at&#65533; 2 dispositivos
                  com acesso IP remoto; Conhe&#65533;a esses e outros
                  LAN&#65533;AMENTOS KHOMP em <a moz-do-not-send="true"
                    class="ecxmoz-txt-link-abbreviated" target="_blank">www.Khomp.com&#65533;</a>
                  _______________________________________________
                  DIGIVOICE Fabricante de Placas de Voz e Channel Bank
                  20 anos de experi&#65533;ncia com E1(R2/ISDN), FXS, FXO e GSM
                  Centro Treinamento - Curso de PABX IP - Asterisk -
                  Site <a moz-do-not-send="true"
                    class="ecxmoz-txt-link-abbreviated"
                    href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a>
                  _______________________________________________
                  ALIGERA &#65533; Fabricante nacional de Gateways SIP-E1 para
                  R2, ISDN e SS7. Placas de 1E1, 2E1, 4E1 e 8E1 para PCI
                  ou PCI Express. Channel Bank &#65533; Appliance Asterisk -
                  Acesse <a moz-do-not-send="true"
                    class="ecxmoz-txt-link-abbreviated"
                    href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.
                  _______________________________________________ Para
                  remover seu email desta lista, basta enviar um email
                  em branco para <a moz-do-not-send="true"
                    class="ecxmoz-txt-link-abbreviated"
                    href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></div>
              </div>
            </div>
            <br>
            <fieldset class="ecxmimeAttachmentHeader"></fieldset>
            <br>
            <pre>_______________________________________________
EBS MODULAR: 3 slots para combina&ccedil;&atilde;o entre E1, GSM, FXS ou FXO;
Linha de PORTEIROS IP, abrem at&eacute; 2 dispositivos com acesso IP remoto;
Conhe&ccedil;a esses e outros LAN&Ccedil;AMENTOS KHOMP em <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>&nbsp;
_______________________________________________
DIGIVOICE  Fabricante de Placas de Voz e Channel Bank
20 anos de experi&ecirc;ncia com E1(R2/ISDN), FXS, FXO e GSM
Centro Treinamento - Curso de PABX IP -  Asterisk  - Site  <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a>
_______________________________________________
ALIGERA &#8211; Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
Channel Bank &#8211; Appliance Asterisk - Acesse <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></pre>
          </blockquote>
          <br>
          <br>
          _______________________________________________
          EBS MODULAR: 3 slots para combina&#65533;&#65533;o entre E1, GSM, FXS ou
          FXO;
          Linha de PORTEIROS IP, abrem at&#65533; 2 dispositivos com acesso IP
          remoto;
          Conhe&#65533;a esses e outros LAN&#65533;AMENTOS KHOMP em <a class="moz-txt-link-abbreviated" href="http://www.Khomp.com&#65533;">www.Khomp.com&#65533;</a>
          _______________________________________________
          DIGIVOICE Fabricante de Placas de Voz e Channel Bank
          20 anos de experi&#65533;ncia com E1(R2/ISDN), FXS, FXO e GSM
          Centro Treinamento - Curso de PABX IP - Asterisk - Site
          <a class="moz-txt-link-abbreviated" href="http://www.digivoice.com.br">www.digivoice.com.br</a>
          _______________________________________________
          ALIGERA &#65533; Fabricante nacional de Gateways SIP-E1 para R2, ISDN
          e SS7.
          Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
          Channel Bank &#65533; Appliance Asterisk - Acesse <a class="moz-txt-link-abbreviated" href="http://www.aligera.com.br">www.aligera.com.br</a>.
          _______________________________________________
          Para remover seu email desta lista, basta enviar um email em
          branco para
          <a class="moz-txt-link-abbreviated" href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
EBS MODULAR: 3 slots para combina&ccedil;&atilde;o entre E1, GSM, FXS ou FXO;
Linha de PORTEIROS IP, abrem at&eacute; 2 dispositivos com acesso IP remoto;
Conhe&ccedil;a esses e outros LAN&Ccedil;AMENTOS KHOMP em <a class="moz-txt-link-abbreviated" href="http://www.Khomp.com">www.Khomp.com</a>&nbsp;
_______________________________________________
DIGIVOICE  Fabricante de Placas de Voz e Channel Bank
20 anos de experi&ecirc;ncia com E1(R2/ISDN), FXS, FXO e GSM
Centro Treinamento - Curso de PABX IP -  Asterisk  - Site  <a class="moz-txt-link-abbreviated" href="http://www.digivoice.com.br">www.digivoice.com.br</a>
_______________________________________________
ALIGERA &#8211; Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
Channel Bank &#8211; Appliance Asterisk - Acesse <a class="moz-txt-link-abbreviated" href="http://www.aligera.com.br">www.aligera.com.br</a>.
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para <a class="moz-txt-link-abbreviated" href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>