<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Assim :</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>macro letexto(arquivo){<br>
</span>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(texto=${FILE(${arquivo})});<br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;<br>
</div>
<div>}<br>
</div>
<div>macro gravatexto(arquivo,texto){<br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set(FILE(${arquivo})=${texto});<br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return;<br>
</div>
<div>}<br>
</div>
<div>macro anexatexto(arquivo,texto){<br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set(enter=${FILE(/etc/aio/enter.txt)});<br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Set(FILE(${arquivo},,,aL)=${texto}${enter});<br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return;<br>
</div>
<div>}<br>
</div>
<span></span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
E depois na outra maquina usa o Curl<br>
Ex:<br>
Set(foo=${CURL(https://somewhere.com/somepage.html?x=5&amp;y=4)})</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="signature">
<pre style="line-height:17px; white-space:normal; color:rgb(42,42,42); background-color:rgb(255,255,255)">Hudson??<br>(048) 8413-7000<br>Para quem nao cre, nenhuma prova converte,Para aquele que cre, nenhuma prova precisa.??</pre>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> asteriskbrasil-bounces@listas.asteriskbrasil.org &lt;asteriskbrasil-bounces@listas.asteriskbrasil.org&gt; em nome de Caio Pato &lt;caiopato@gmail.com&gt;<br>
<b>Enviado:</b> quarta-feira, 27 de junho de 2018 16:24<br>
<b>Para:</b> asteriskbrasil<br>
<b>Assunto:</b> Re: [AsteriskBrasil] Tempo de espera atendimento presencial</font>
<div>&nbsp;</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">2018-06-27 13:57 GMT-04:00 Hudson Cardoso &lt;hudsoncardoso@hotmail.com&gt;:<br>
&gt; Usa o BD do proprio asterisk, vai de boa...<br>
<br>
E qual a dica para gravar a informação no BD, já que o servidor que<br>
tem o tempo da fila está em outra rede (sem VPN conectando ambos)?<br>
<br>
Se fosse local, faria um asterisk -rx database put bablabla... Mas<br>
está em outra máquina, outra rede, outro site..<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>
Intercomunicador e acesso remoto via rede IP e telefones IP<br>
Conheça todo o portfólio em <a href="http://www.Khomp.com">www.Khomp.com</a><br>
_______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em branco para asteriskbrasil-unsubscribe@listas.asteriskbrasil.org<br>
</div>
</span></font></div>
</body>
</html>