<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">Para ouvir direto pelo navegador teria
      que ser um <b>streaming</b>. J&aacute; vi artigos sobre streaming de MOH
      mas de canal em tempo real n&atilde;o.<br>
      <br>
      Outra possibilidade seria ter um componente SIP em uma p&aacute;gina que
      faria o papel do softphone. S&atilde;o componentes pagos, ainda n&atilde;o vi
      nenhum 100% free.<br>
      <br>
      <pre class="moz-signature" cols="72">Claudio Eden
<a class="moz-txt-link-abbreviated" href="mailto:claudio.eden@gmail.com">claudio.eden@gmail.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.eden.com.br">www.eden.com.br</a></pre>
      Em 06/09/13 08:38, <a class="moz-txt-link-abbreviated" href="mailto:deny.santos@gmail.com">deny.santos@gmail.com</a> escreveu:<br>
    </div>
    <blockquote
      cite="mid:E3CD14FA-7BF6-477E-A7DB-F62F915ACF3D@gmail.com"
      type="cite"><base href="x-msg://110/"><br>
      <div>
        <div>On Sep 5, 2013, at 9:55 PM, Telesurf Multimidia wrote:</div>
        <br class="Apple-interchange-newline">
        <blockquote type="cite"><span class="Apple-style-span"
            style="border-collapse: separate; font-family: Helvetica;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height: normal;
            orphans: 2; text-align: -webkit-auto; text-indent: 0px;
            text-transform: none; white-space: normal; widows: 2;
            word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
            -webkit-border-vertical-spacing: 0px;
            -webkit-text-decorations-in-effect: none;
            -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
            0px; font-size: medium; ">
            <div class="hmmessage" style="font-size: 12pt; font-family:
              Calibri; ">
              <div dir="ltr">Olha se isto serve
                <div><br>
                </div>
                <div><br>
                </div>
                <div>
                  <div>&lt;?php&nbsp;</div>
                  <div><br>
                  </div>
                  <div>$extension="9999" ; //where 9999 is the extension
                    you would like to call</div>
                  <div><br>
                  </div>
                  <div>&nbsp;$socket = fsockopen("localhost","5038", $errno,
                    $errstr, $timeout);&nbsp;</div>
                  <div>&nbsp;fputs($socket, "Action: Login\r\n");&nbsp;</div>
                  <div>&nbsp;fputs($socket, "UserName: admin\r\n"); &nbsp; &nbsp; //
                    default username and password&nbsp;</div>
                  <div>&nbsp;fputs($socket, "Secret: amp111\r\n\r\n"); &nbsp;//
                    for other Asterisk platforms plase get your username
                    and &nbsp;</div>
                  <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //
                    password from /etc/asterisk/manager.conf</div>
                  <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $wrets=fgets($socket,128);&nbsp;</div>
                  <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo $wrets;&nbsp;</div>
                  <div><br>
                  </div>
                  <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fputs($socket, "Action:
                    Originate\r\n" );&nbsp;</div>
                  <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fputs($socket, "Channel:
                    SIP/$extension\r\n" );&nbsp;</div>
                  <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fputs($socket, "Exten:
                    $extension\r\n" );&nbsp;</div>
                  <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fputs($socket, "Context:
                    outbound-dialing\r\n" );&nbsp;</div>
                  <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fputs($socket, "Priority: 1\r\n"
                    );&nbsp;</div>
                  <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fputs($socket, "Async:
                    yes\r\n\r\n" );&nbsp;</div>
                  <div><br>
                  </div>
                  <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$wrets=fgets($socket,128);&nbsp;</div>
                  <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo $wrets;&nbsp;</div>
                  <div><br>
                  </div>
                  <div>?&gt;&nbsp;</div>
                </div>
              </div>
            </div>
          </span></blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Caro amigo funciona perfeitamente para chamar porem nao
          tenho retorno do audio no navegador , o asterisk da um hangout
          assim que atende a chamada, eu precisaria que quando atendesse
          a pessoa que chamou pelo navegador escuta-se , nao precisaria
          falar somente escutar .&nbsp;</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Obrigado&nbsp;</div>
        <br>
        <blockquote type="cite"><span class="Apple-style-span"
            style="border-collapse: separate; font-family: Helvetica;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height: normal;
            orphans: 2; text-align: -webkit-auto; text-indent: 0px;
            text-transform: none; white-space: normal; widows: 2;
            word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
            -webkit-border-vertical-spacing: 0px;
            -webkit-text-decorations-in-effect: none;
            -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
            0px; font-size: medium; ">
            <div class="hmmessage" style="font-size: 12pt; font-family:
              Calibri; ">
              <div dir="ltr">
                <div>
                  <div><br>
                  </div>
                  <br>
                  <div>&gt; From:<span class="Apple-converted-space">&nbsp;</span><a
                      moz-do-not-send="true"
                      href="mailto:deny.santos@gmail.com">deny.santos@gmail.com</a><br>
                    &gt; Date: Thu, 5 Sep 2013 11:59:52 -0300<br>
                    &gt; To:<span class="Apple-converted-space">&nbsp;</span><a
                      moz-do-not-send="true"
                      href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</a><br>
                    &gt; Subject: [AsteriskBrasil] WEb2Click intranet
                    SIP<br>
                    &gt;<span class="Apple-converted-space">&nbsp;</span><br>
                    &gt; Bom dia amigos, estou pesquisando atras de um
                    script em html ou php para fazer um botao numa
                    pagina simples web onde o usu&aacute;rio ir&aacute; clicar neste
                    botao e o mesmo ir&aacute; chamar diretamente meu ramal .
                    Pergunto existe algo simples neste quesito visto que
                    &eacute;ssa p&aacute;gina web s&oacute; ir&aacute; ser utilizada internamente .
                    O usu&aacute;rio nao ir&aacute; interagir somente escutar portanto
                    nao precisara utilizar microfone , somente um fone
                    de ouvido .<br>
                    &gt;<span class="Apple-converted-space">&nbsp;</span><br>
                    &gt;<span class="Apple-converted-space">&nbsp;</span><br>
                    &gt; Obrigado<span class="Apple-converted-space">&nbsp;</span><br>
                    &gt;<span class="Apple-converted-space">&nbsp;</span><br>
                    &gt;<span class="Apple-converted-space">&nbsp;</span><br>
                    &gt; _______________________________________________<br>
                    &gt; KHOMP: completa linha de placas externas FXO,
                    FXS, GSM e E1;<br>
                    &gt; Media Gateways de 1 a 64 E1s para SIP com R2,
                    ISDN e SS7;<br>
                    &gt; Intercomunicadores para acesso remoto via rede
                    IP. Conhe&ccedil;a em<span class="Apple-converted-space">&nbsp;</span><a
                      moz-do-not-send="true" href="http://www.Khomp.com">www.Khomp.com</a>.<br>
                    &gt; _______________________________________________<br>
                    &gt; ALIGERA &#8211; Fabricante nacional de Gateways
                    SIP-E1 para R2, ISDN e SS7.<br>
                    &gt; Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI
                    Express.<br>
                    &gt; Channel Bank &#8211; Appliance Asterisk - Acesse<span
                      class="Apple-converted-space">&nbsp;</span><a
                      moz-do-not-send="true"
                      href="http://www.aligera.com.br">www.aligera.com.br</a>.<br>
                    &gt; _______________________________________________<br>
                    &gt; Para remover seu email desta lista, basta
                    enviar um email em branco para<span
                      class="Apple-converted-space">&nbsp;</span><a
                      moz-do-not-send="true"
                      href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>
                  </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<span class="Apple-converted-space">&nbsp;</span><a
                moz-do-not-send="true" href="http://www.Khomp.com">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<span
                class="Apple-converted-space">&nbsp;</span><a
                moz-do-not-send="true" href="http://www.aligera.com.br">www.aligera.com.br</a>.<br>
              _______________________________________________<br>
              Para remover seu email desta lista, basta enviar um email
              em branco para<span class="Apple-converted-space">&nbsp;</span><a
                moz-do-not-send="true"
                href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></div>
          </span></blockquote>
      </div>
      <br>
      <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>