<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">voc&ecirc; tem que estar com o app_fax
      compilado<br>
      <br>
<a class="moz-txt-link-freetext" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_ReceiveFAX_app_fax">https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_ReceiveFAX_app_fax</a><br>
      <br>
      pra ter ele tem que ter o spandsp e recompilar o asterisk<br>
      <br>
      Connected to Asterisk 1.8.22.0 currently running on OUTRO_HOSTNAME
      (pid = 602)<br>
      app_fax.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Simple FAX
      Application&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
      <br>
      <br>
      Connected to Asterisk 1.8.20.1 currently running on HOSTNAME (pid
      = 1471)<br>
      app_fax.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Simple FAX
      Application&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
      <br>
      <br>
      -rw-r--r--&nbsp; 1 root&nbsp; root&nbsp; 25176713 Jan 22&nbsp; 2013
      asterisk-1.8-current.tar.gz<br>
      -rw-r--r--&nbsp; 1 root&nbsp; root&nbsp;&nbsp; 3278758 Ago&nbsp; 4&nbsp; 2012
      spandsp-0.0.6pre21.tgz<br>
      <br>
      <br>
      root@HOSTNAME:/usr/lib/asterisk# ls modules/ | grep fax<br>
      app_fax.so<br>
      res_fax.so<br>
      <br>
      <br>
      <br>
      <br>
      Em 25/11/13 12:52, Elieser Junior escreveu:<br>
    </div>
    <blockquote
cite="mid:CAH+9EbC=B_BpcQKXoZ_yGR6AA4BacvU3w4=C7PsGUVP4vn-=QA@mail.gmail.com"
      type="cite">
      <div dir="ltr"><b>Jairo, fiz a corre&ccedil;&atilde;o, obrigado. <br>
          Estou com esse problema abaixo. Algu&eacute;m j&aacute; fez a instala&ccedil;&atilde;o do
          SPANDSP no asterisk 1.8?<br>
          J&aacute; que nessa vers&atilde;o j&aacute; vem instalado o modulo res_fax.so,
          por&eacute;m n&atilde;o conseguir coloc&aacute;-lo para funcionar, n&atilde;o sei se est&aacute;
          faltando algum. Quando tento realizar uma liga&ccedil;&atilde;o para o ramal
          do FAX agora aparece a seguinte mensagem abaixo:</b><br>
        <br>
        Using SIP RTP CoS mark 5<br>
        &nbsp;&nbsp;&nbsp; -- Executing [9300@ramais:1]
        Goto("SIP/voipcallcenter-0000001c", "fax,fax,1") in new stack<br>
        &nbsp;&nbsp;&nbsp; -- Goto (fax,fax,1)<br>
        &nbsp;&nbsp;&nbsp; -- Executing [fax@fax:1] Set("SIP/voipcallcenter-0000001c",
        "FAXFILE=/var/spool/asterisk/fax/fax-201311250941") in new stack<br>
        &nbsp;&nbsp;&nbsp; -- Executing [fax@fax:2] Set("SIP/voipcallcenter-0000001c",
        "FAXFILENAME=fax-201311250941") in new stack<br>
        &nbsp;&nbsp;&nbsp; -- Executing [fax@fax:3]
        ReceiveFAX("SIP/voipcallcenter-0000001c",
        "/var/spool/asterisk/fax/fax-201311250941.tiff,f") in new stack<br>
        &nbsp;&nbsp;&nbsp; -- Channel 'SIP/voipcallcenter-0000001c' receiving FAX
        '/var/spool/asterisk/fax/fax-201311250941.tiff'<br>
        <b>[Nov 25 14:41:47] ERROR[3282]: res_fax.c:784
          fax_session_reserve: Could not locate a FAX technology module
          with capabilities (RECEIVE)<br>
          [Nov 25 14:41:47] ERROR[3282]: res_fax.c:1726 receivefax_exec:
          Unable to reserve FAX session.</b><br>
        &nbsp; == Spawn extension (fax, fax, 3) exited non-zero on
        'SIP/voipcallcenter-0000001c'<br>
        &nbsp;&nbsp;&nbsp; -- Executing [h@fax:1] System("SIP/voipcallcenter-0000001c",
        "/usr/local/bin/<a moz-do-not-send="true"
          href="http://fax2email.pl">fax2email.pl</a>
        /var/spool/asterisk/fax/fax-201311250941.tiff
        fax-201311250941.pdf <a moz-do-not-send="true"
          href="mailto:elieser@scmba.com.br">elieser@scmba.com.br</a>")
        in new stack<br>
        <br>
        <br>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">Em 25 de novembro de 2013 13:04, Jairo
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:jairomolinajr@gmail.com" target="_blank">jairomolinajr@gmail.com</a>&gt;</span>
          escreveu:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Ol&aacute; amigo.
              <div><br>
              </div>
              <div>A mensagem de erro est&aacute; relacionada ao uso dos
                par&acirc;metros do Goto que devem ser: o contexto, a extens&atilde;o
                e a prioridade. No caso do c&oacute;digo citado, est&aacute; tentando
                saltar para a extens&atilde;o 1 do contexto fax e ela n&atilde;o
                existe. Tenta:</div>
              <div><br>
              </div>
              <div><span
                  style="font-size:13px;font-family:arial,sans-serif">[ramais]</span><br
                  style="font-size:13px;font-family:arial,sans-serif">
                <span
                  style="font-size:13px;font-family:arial,sans-serif">exten=&gt;
                  9300,1,Goto(fax,fax,1)</span><br>
              </div>
              <div><br>
              </div>
              <div>Mais informa&ccedil;&otilde;es da sintaxe do comando:</div>
              <div><br>
              </div>
              <div><a moz-do-not-send="true"
                  href="http://www.voip-info.org/wiki/view/Asterisk+cmd+Goto"
                  target="_blank">http://www.voip-info.org/wiki/view/Asterisk+cmd+Goto</a>&nbsp;</div>
            </div>
            <div class="gmail_extra"><br>
              <br>
              <div class="gmail_quote">Em 25 de novembro de 2013 13:22,
                Elieser Junior <span dir="ltr">&lt;<a
                    moz-do-not-send="true"
                    href="mailto:zeljunior@gmail.com" target="_blank">zeljunior@gmail.com</a>&gt;</span>
                escreveu:
                <div>
                  <div class="h5"><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">
                        <div>
                          <div>
                            <div>
                              <div>Lista, boa tarde.<br>
                                <br>
                              </div>
                              Estou tentando instalar pela primeira vez
                              um FAX no Asterisk 1.8. Observei que essa
                              vers&atilde;o j&aacute; vem com o m&oacute;dulo res_fax.so
                              instalado. Primeiro tentei fazer uma
                              liga&ccedil;&atilde;o para o n&uacute;mero 9300, para ouvir o
                              sinal de FAX, <b>"a liga&ccedil;&atilde;o cai"</b> e
                              aparece a seguinte mensagem abaixo:<br>
                              <br>
                              Using SIP RTP CoS mark 5<br>
                              &nbsp;&nbsp;&nbsp; -- Executing [9300@ramais:1]
                              Goto("SIP/voipcallcenter-0000000f",
                              "fax,1,fax") in new stack<br>
                              [Nov 25 12:07:06] NOTICE[3079]: pbx.c:4514
                              pbx_extension_helper: Cannot find
                              extension '1' in context 'fax'<br>
                              [Nov 25 12:07:06] WARNING[3079]:
                              pbx.c:10888 pbx_parseable_goto: Priority
                              'fax' must be a number &gt; 0, or valid
                              label<br>
                              &nbsp; == Spawn extension (ramais, 9300, 1)
                              exited non-zero on
                              'SIP/voipcallcenter-0000000f'<b><br>
                              </b><br>
                              <br>
                            </div>
                            <b>Como posso saber se o meu FAX est&aacute;
                              detectando e se foi instalado da forma
                              correta, algu&eacute;m pode dar uma dica?<br>
                            </b></div>
                          <div><b>Al&eacute;m do extensions.conf precisa criar
                              mais alguma configura&ccedil;&atilde;o em um outro
                              arquivo?</b><br>
                          </div>
                          <div><br>
                            <br>
                          </div>
                          Segue configura&ccedil;&otilde;es extensions.conf&nbsp; abaixo:<br>
                          <br>
                          [ramais]<br>
                          exten=&gt; 9300,1,Goto(fax,1,fax)
                          <div><br>
                            &nbsp;<br>
                            [fax]<br>
                            exten =&gt;
fax,1,Set(FAXFILE=/var/spool/asterisk/fax/fax-${STRFTIME(${EPOCH},GMT+8,%C%y%m%d%H%M)})<br>
                            exten =&gt;
                            fax,n,Set(FAXFILENAME=fax-${STRFTIME(${EPOCH},GMT+8,%C%y%m%d%H%M)})<br>
                            exten =&gt;
                            fax,n,ReceiveFax(${FAXFILE}.tiff,f)<br>
                            exten =&gt; fax,n,Hangup()<br>
                            &nbsp;<br>
                          </div>
                          exten =&gt; h,1,System(/usr/local/bin/<a
                            moz-do-not-send="true"
                            href="http://fax2email.pl" target="_blank">fax2email.pl</a>
                          ${FAXFILE}.tiff ${FAXFILENAME}.pdf
                          usurio@dominio)<br>
                          <br>
                        </div>
                        <br>
                        <div>Obrigado a todos.<br>
                          <br>
                          <br>
                        </div>
                        <div><br>
                          <div>
                            <div><br>
                              <br>
                              <br>
                              <br>
                              <br>
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="gmail_extra"><br>
                        <br>
                        <div class="gmail_quote">Em 10 de novembro de
                          2013 16:07, Elieser Junior <span dir="ltr">&lt;<a
                              moz-do-not-send="true"
                              href="mailto:zeljunior@gmail.com"
                              target="_blank">zeljunior@gmail.com</a>&gt;</span>
                          escreveu:<br>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">
                            <p dir="ltr">Valeu Mike</p>
                            <div class="gmail_quote">Em 10/11/2013
                              15:51, "Mike Tesliuk" &lt;<a
                                moz-do-not-send="true"
                                href="mailto:mike@tesliuk.com"
                                target="_blank">mike@tesliuk.com</a>&gt;
                              escreveu:
                              <div>
                                <div><br type="attribution">
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    <div bgcolor="#FFFFFF"
                                      text="#000000">
                                      <div><br>
                                        o m&oacute;dulo &eacute; o res_fax, ele usa o
                                        spandsp, nao existe um
                                        res_fax_spandsp<br>
                                        <br>
                                        Em 09/11/13 20:17, Elieser
                                        Junior escreveu:<br>
                                      </div>
                                      <blockquote type="cite">
                                        <div dir="ltr">
                                          <div>Lista boa noite, baixei e
                                            tentei instalar o spandsp.
                                            Fiz o seguinte:<br>
                                            <br>
                                            <b>Instalaei as libs abaixo:
                                            </b><br>
                                            # aptitude install
                                            libtiff-tools fltk1.3-doc
                                            fltk1.1-doc libtiff5-dev
                                            libtiff-devel
                                            libaudiofile-dev fftw2
                                            fftw-dev fftw-docs<br>
                                            <br>
                                            <b>Baxei e compilei o
                                              spandsp</b><br>
                                            # wget <a
                                              moz-do-not-send="true"
                                              href="http://soft-switch.org/downloads/spandsp/spandsp-0.0.6pre18.tgz"
                                              target="_blank">http://soft-switch.org/downloads/spandsp/spandsp-0.0.6pre18.tgz</a><br>
                                            # cd spandsp-0.0.6/<br>
                                            # ./configure<br>
                                            # make clean<br>
                                            # make <br>
                                            # make install<br>
                                            <b><br>
                                              Recompilei o asterisk 1.8</b><br>
                                            # cd asterisk-1.8.23.0/<br>
                                            # ./configure<br>
                                            # make menuselect&nbsp;&nbsp; (<b>N&atilde;o
                                              aparece o m&oacute;dulo
                                              res_fax_spandsp</b>)<br>
                                            <br>
                                            <br>
                                            <b>Ao entrar no asterisk
                                              mostra o seguinte modulo
                                              abaixo instalado:</b><br>
                                            srv-asterisk2*CLI&gt; module
                                            show like <br>
                                            res_adsi.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_ael_share.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_agi.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_calendar.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_clialiases.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_convert.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_crypto.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>res_fax.so</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                            res_limit.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_monitor.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_musiconhold.so&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_mutestream.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_phoneprov.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_realtime.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_rtp_asterisk.so&nbsp;&nbsp;&nbsp;
                                            res_rtp_multicast.so&nbsp;&nbsp;
                                            res_security_log.so&nbsp;&nbsp;&nbsp;
                                            res_smdi.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_speech.so&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            res_stun_monitor.so&nbsp;&nbsp;&nbsp;
                                            res_timing_dahdi.so&nbsp;&nbsp;&nbsp;
                                            res_timing_pthread.so&nbsp;
                                            res_timing_timerfd.so&nbsp;
                                            res_clioriginate.so <br>
                                            <br>
                                            <font><b>A d&uacute;vida:<br>
                                              </b>Para receber os fax
                                              pelo asterisk posso
                                              utilizar esse modulo<b> "</b></font><font><b><b>res_fax.so"</b></b>,<b><b>
                                                </b></b>ou
                                              necessariamente precisa
                                              resolver a compila&ccedil;&atilde;o do
                                              spandsp? <b><br>
                                              </b>O m&oacute;dulo<b> "</b></font><font><b><b>res_fax_spandsp</b></b><b><b>"
                                                </b></b>n&atilde;o est&aacute;
                                              aparecendo depois de
                                              compilar!</font><br>
                                            <br>
                                            <br>
                                          </div>
                                          Algu&eacute;m pode ajudar?<br>
                                          <div><br>
                                          </div>
                                          <div>Obrigado.<br>
                                            <br>
                                          </div>
                                        </div>
                                        <div class="gmail_extra"><br>
                                          <br>
                                          <div class="gmail_quote">Em 7
                                            de novembro de 2013 11:37,
                                            Mike Tesliuk <span
                                              dir="ltr">&lt;<a
                                                moz-do-not-send="true"
                                                href="mailto:mike@tesliuk.com"
                                                target="_blank">mike@tesliuk.com</a>&gt;</span>
                                            escreveu:<br>
                                            <blockquote
                                              class="gmail_quote"
                                              style="margin:0 0 0
                                              .8ex;border-left:1px #ccc
                                              solid;padding-left:1ex">
                                              <div bgcolor="#FFFFFF"
                                                text="#000000">
                                                <div>Fale por email, eu
                                                  moro nos estados
                                                  unidos e estou em
                                                  horario de trabalho,
                                                  manda email que eu
                                                  respondo.<br>
                                                  <br>
                                                  Em 07/11/13 06:03,
                                                  Elieser Junior
                                                  escreveu:<br>
                                                </div>
                                                <div>
                                                  <div>
                                                    <blockquote
                                                      type="cite">
                                                      <div dir="ltr">
                                                        <div>
                                                          <div>Mike, bom
                                                          dia.<br>
                                                          <br>
                                                          Se n&atilde;o for
                                                          incomodo, tem
                                                          como voc&ecirc;
                                                          enviar seu
                                                          contato
                                                          pessoal
                                                          (Celular ou
                                                          fixo) para eu
                                                          esclarecer uma
                                                          d&uacute;vida sobre o
                                                          script?<br>
                                                          Sou muito novo
                                                          com asterisk e
                                                          n&atilde;o conhe&ccedil;o
                                                          muito de <b>"script
                                                          em perl"</b>.<br>
                                                          <br>
                                                          </div>
                                                          Muito obrigado
                                                          mesmo.<br>
                                                          <br>
                                                        </div>
                                                        <br>
                                                      </div>
                                                      <div>
                                                        <div>
                                                          <div
                                                          class="gmail_extra"><br>
                                                          <br>
                                                          <div
                                                          class="gmail_quote">2013/11/7
                                                          jefaokpta <span
                                                          dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:jefaokpta@hotmail.com"
                                                          target="_blank">jefaokpta@hotmail.com</a>&gt;</span><br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">Mike,
                                                          vlw pelo
                                                          script.<br>
                                                          <br>
                                                          Flws<br>
                                                          <br>
                                                          Em 06-11-2013
                                                          16:29, Mike
                                                          Tesliuk
                                                          escreveu:<br>
                                                          <div>
                                                          <div>&gt;
                                                          #!/usr/bin/perl<br>
                                                          &gt;<br>
                                                          &gt;<br>
                                                          &gt; use
                                                          MIME::Lite;;<br>
                                                          &gt; use
                                                          Net::SMTP;<br>
                                                          &gt;<br>
                                                          &gt; @ARGV;<br>
                                                          &gt;<br>
                                                          &gt; my
                                                          $faxfile =
                                                          $ARGV['0'];<br>
                                                          &gt; my
                                                          $faxname =
                                                          $ARGV['1'];<br>
                                                          &gt; my
                                                          $destination =
                                                          $ARGV['2'];<br>
                                                          &gt; my
                                                          $faxname2 =
                                                          "/var/spool/asterisk/fax/"
                                                          . $faxname;<br>
                                                          &gt;<br>
                                                          &gt;
                                                          system("tiff2pdf
                                                          -o $faxname2
                                                          $faxfile");<br>
                                                          &gt;<br>
                                                          &gt; my
                                                          ($sec,$min,$hour,$mday,$mon,$year,<br>
                                                          &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                          $wday,$yday,$isdst)
                                                          = localtime
                                                          time;<br>
                                                          &gt;<br>
                                                          &gt;
                                                          if(!$destination){<br>
                                                          &gt; &nbsp; &nbsp;
                                                          $destination =
"EU\@MEUDOMINIO";<br>
                                                          &gt; }<br>
                                                          &gt;<br>
                                                          &gt; $msg =
                                                          MIME::Lite-&gt;new(<br>
                                                          &gt; &nbsp; &nbsp; From
                                                          =&gt;
                                                          'pabx_COMPANIA@DOMINIO',<br>
                                                          &gt; &nbsp; &nbsp; To
                                                          =&gt;
                                                          '$destination',<br>
                                                          &gt; &nbsp; &nbsp;
                                                          Subject =&gt;
                                                          "Fax recebido
                                                          em $mday/" .
                                                          ($mon + 1) .
                                                          "/" . ($year +<br>
                                                          &gt; 1900) . "
                                                          as
                                                          $hour:$min:$sec
                                                          ",<br>
                                                          &gt; &nbsp; &nbsp; Type
                                                          =&gt;
                                                          'multipart/mixed'<br>
                                                          &gt; );<br>
                                                          &gt;<br>
                                                          &gt;
                                                          $msg-&gt;attach(<br>
                                                          &gt; &nbsp; &nbsp; Type
                                                          =&gt; 'TEXT',<br>
                                                          &gt; &nbsp; &nbsp; Data
                                                          =&gt; "Ola!,
                                                          \n\nVoce
                                                          recebeu um
                                                          novo fax, o
                                                          arquivo esta
                                                          em<br>
                                                          &gt;
                                                          anexo.\n\nAtt.
                                                          Equipe de
                                                          Tecnologia
                                                          COMPANIA\n"<br>
                                                          &gt; );<br>
                                                          &gt;<br>
                                                          &gt;
                                                          $msg-&gt;attach(<br>
                                                          &gt; &nbsp; &nbsp; Type
                                                          =&gt;
                                                          'application/x-pdf',<br>
                                                          &gt; &nbsp; &nbsp; Path
                                                          =&gt;
                                                          "$faxname2",<br>
                                                          &gt; &nbsp; &nbsp;
                                                          Filename =&gt;
                                                          "$faxname",<br>
                                                          &gt; &nbsp; &nbsp;
                                                          Disposition
                                                          =&gt;
                                                          'attachment'<br>
                                                          &gt; );<br>
                                                          &gt;<br>
                                                          &gt; $smtp =
                                                          Net::SMTP-&gt;new(Host
                                                          =&gt;
                                                          "SERVIDOR_SMTP",<br>
                                                          &gt; &nbsp; &nbsp; Debug
                                                          =&gt; 1,<br>
                                                          &gt; );<br>
                                                          &gt;
                                                          $smtp-&gt;auth("USUARIO\@DOMINIO",
                                                          "SENHA");<br>
                                                          &gt;
                                                          $smtp-&gt;mail("USUARIO\@DOMINIO");<br>
                                                          &gt;
                                                          $smtp-&gt;to("$destination");<br>
                                                          &gt;
                                                          $smtp-&gt;data();<br>
                                                          &gt;
                                                          $smtp-&gt;datasend(
                                                          $msg-&gt;as_string
                                                          );<br>
                                                          &gt;
                                                          $smtp-&gt;dataend();<br>
                                                          &gt;
                                                          $smtp-&gt;quit();<br>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          <div>
                                                          <div>_______________________________________________<br>
                                                          KHOMP:
                                                          completa linha
                                                          de placas
                                                          externas FXO,
                                                          FXS, GSM e E1;<br>
                                                          Media Gateways
                                                          de 1 a 64 E1s
                                                          para SIP com
                                                          R2, ISDN e
                                                          SS7;<br>
                                                          Intercomunicadores
                                                          para acesso
                                                          remoto via
                                                          rede IP.
                                                          Conhe&ccedil;a em <a
moz-do-not-send="true" href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>
_______________________________________________<br>
                                                          ALIGERA &#8211;
                                                          Fabricante
                                                          nacional de
                                                          Gateways
                                                          SIP-E1 para
                                                          R2, ISDN e
                                                          SS7.<br>
                                                          Placas de 1E1,
                                                          2E1, 4E1 e 8E1
                                                          para PCI ou
                                                          PCI Express.<br>
                                                          Channel Bank &#8211;
                                                          Appliance
                                                          Asterisk -
                                                          Acesse <a
                                                          moz-do-not-send="true"
href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.<br>
_______________________________________________<br>
                                                          Para remover
                                                          seu email
                                                          desta lista,
                                                          basta enviar
                                                          um email em
                                                          branco para <a
moz-do-not-send="true"
                                                          href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org"
target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </blockquote>
                                                    <br>
                                                  </div>
                                                </div>
                                              </div>
                                            </blockquote>
                                          </div>
                                          <br>
                                        </div>
                                      </blockquote>
                                      <br>
                                    </div>
                                  </blockquote>
                                </div>
                              </div>
                            </div>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                      <br>
                      _______________________________________________<br>
                      KHOMP: completa linha de placas externas FXO, FXS,
                      GSM e E1;<br>
                      Media Gateways de 1 a 64 E1s para SIP com R2, ISDN
                      e SS7;<br>
                      Intercomunicadores para acesso remoto via rede IP.
                      Conhe&ccedil;a em <a moz-do-not-send="true"
                        href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>
                      _______________________________________________<br>
                      ALIGERA &#8211; Fabricante nacional de Gateways SIP-E1
                      para R2, ISDN e SS7.<br>
                      Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI
                      Express.<br>
                      Channel Bank &#8211; Appliance Asterisk - Acesse <a
                        moz-do-not-send="true"
                        href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.<br>
                      _______________________________________________<br>
                      Para remover seu email desta lista, basta enviar
                      um email em branco para <a moz-do-not-send="true"
href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org"
                        target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>
                    </blockquote>
                  </div>
                </div>
              </div>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;<br>
            Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;<br>
            Intercomunicadores para acesso remoto via rede IP. Conhe&ccedil;a
            em <a moz-do-not-send="true" href="http://www.Khomp.com"
              target="_blank">www.Khomp.com</a>.<br>
            _______________________________________________<br>
            ALIGERA &#8211; Fabricante nacional de Gateways SIP-E1 para R2,
            ISDN e SS7.<br>
            Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br>
            Channel Bank &#8211; Appliance Asterisk - Acesse <a
              moz-do-not-send="true" href="http://www.aligera.com.br"
              target="_blank">www.aligera.com.br</a>.<br>
            _______________________________________________<br>
            Para remover seu email desta lista, basta enviar um email em
            branco para <a moz-do-not-send="true"
              href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;
Intercomunicadores para acesso remoto via rede IP. Conhe&ccedil;a em <a class="moz-txt-link-abbreviated" href="http://www.Khomp.com">www.Khomp.com</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>