<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">Jo&atilde;o vc tem sido um cara dez, mais acho estar fazendo cac&aacute;, vc tem skype, se tiver me adiciona e falamos falando<br />
<br />
usuario skype = joao_carlosj<br />
<br />
<br />
<div></div>
<br />
<br />
<span style="font-family: tahoma, arial, sans-serif; font-size: 10pt;"><hr size="2" width="100%" align="center" />
<strong>De</strong>: "Jo&atilde;o Marcelo Queiroz" &lt;jmbq@bol.com.br&gt;<br />
<strong>Enviado</strong>: sexta-feira, 11 de maio de 2012 10:31<br />
<strong>Para</strong>: asteriskbrasil@listas.asteriskbrasil.org<br />
<strong>Assunto</strong>: Re: [AsteriskBrasil] Gravar audio no Elastix</span><br />
<br />
<div>Jo&atilde;o,</div>
<div><br />
</div>
<div>fiz uma confus&atilde;o, o que descrevi a voc&ecirc; foi como adicionar as grava&ccedil;&otilde;es das FILAS caso n&atilde;o estejam aparecendo. Mas o processo &eacute; semelhante para o seu contexto.</div>
<div><br />
</div>
<div>O campo userfield do banco CDR do ASTERISKCDRDB &eacute; o respons&aacute;vel por dar ao Elastix o caminho onde ele deve buscar o arquivo de &aacute;udio, ent&atilde;o voc&ecirc; deve preenche-lo, fazendo com que o Elastix saiba onde est&aacute; a grava&ccedil;&atilde;o. O problema de seu contexto &eacute; que ele, apesar de salvar o &aacute;udio, n&atilde;o diz ao ELASTIX onde encontr&aacute;-lo. Voc&ecirc; tem que fazer isso lincando o arquivo de &aacute;udio ao registro do CDR correspondente.</div>
<div><br />
</div>
<div>Para setar o userfield no CDR use algo do tipo:&nbsp;</div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;">exten =&gt; 2,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID})</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;">exten =&gt; 2,n,Set(CDR(userfield)=audio:${MONITOR_FILENAME}.${MIXMON_FORMAT})</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;"><br />
</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;">A primeira linha d&aacute; nome ao arquivo de &aacute;udio em /var/spool/asterisk/monitor cujo nome tem o ramal, hora e uniqueid.</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;">A segunda linha seta (SET) na tabela CDR o campo userfield como sendo algo do tipo:</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;">audio:nome-do-arquivo.formato-do-audio</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;"><br />
</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;">Ent&atilde;o o que voc&ecirc; deve fazer &eacute; setar o userfield em seu contexto de grava&ccedil;&atilde;o para que bata com o nome de seu arquivo salvo no hd e com o CDR dele no asteriskcdrdb.</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;"><br />
</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;"><br />
</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;">Espero ter ajudado.</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;"><br />
</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;">Boa sorte,</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;"><br />
</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;">Jo&atilde;o Marcelo Queiroz</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;"><br />
</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;"><br />
</span></div>
<div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;"><br />
</span></div>
<div>
<div>Em 11/05/2012, &agrave;s 09:45, <a href="mailto:joao@oxman.com.br">joao@oxman.com.br</a> escreveu:</div>
<br class="Apple-interchange-newline" />
<blockquote type="cite"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">No meu mysql<br />
<br />
est&aacute; assim<br />
<br />
mysql&gt; describe cdr;<br />
+-------------+--------------+------+-----+---------------------+-------+<br />
| Field &nbsp; &nbsp; &nbsp; | Type &nbsp; &nbsp; &nbsp; &nbsp; | Null | Key | Default &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | Extra |<br />
+-------------+--------------+------+-----+---------------------+-------+<br />
| calldate &nbsp; &nbsp;| datetime &nbsp; &nbsp; | NO &nbsp; | &nbsp; &nbsp; | 0000-00-00 00:00:00 | &nbsp; &nbsp; &nbsp; |<br />
| clid &nbsp; &nbsp; &nbsp; &nbsp;| varchar(80) &nbsp;| NO &nbsp; | &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| src &nbsp; &nbsp; &nbsp; &nbsp; | varchar(80) &nbsp;| NO &nbsp; | &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| dst &nbsp; &nbsp; &nbsp; &nbsp; | varchar(80) &nbsp;| NO &nbsp; | &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| dcontext &nbsp; &nbsp;| varchar(80) &nbsp;| NO &nbsp; | &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| channel &nbsp; &nbsp; | varchar(80) &nbsp;| NO &nbsp; | &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| dstchannel &nbsp;| varchar(80) &nbsp;| NO &nbsp; | &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| lastapp &nbsp; &nbsp; | varchar(80) &nbsp;| NO &nbsp; | &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| lastdata &nbsp; &nbsp;| varchar(80) &nbsp;| NO &nbsp; | &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| duration &nbsp; &nbsp;| int(11) &nbsp; &nbsp; &nbsp;| NO &nbsp; | &nbsp; &nbsp; | 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| billsec &nbsp; &nbsp; | int(11) &nbsp; &nbsp; &nbsp;| NO &nbsp; | &nbsp; &nbsp; | 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| disposition | varchar(45) &nbsp;| NO &nbsp; | &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| amaflags &nbsp; &nbsp;| int(11) &nbsp; &nbsp; &nbsp;| NO &nbsp; | &nbsp; &nbsp; | 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| accountcode | varchar(20) &nbsp;| NO &nbsp; | &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| uniqueid &nbsp; &nbsp;| varchar(32) &nbsp;| NO &nbsp; | MUL | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
| userfield &nbsp; | varchar(255) | NO &nbsp; | &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; |<br />
+-------------+--------------+------+-----+---------------------+-------+<br />
16 rows in set (0.00 sec)<br />
<div><br />
</div>
<br />
<br />
<div></div>
como posso colocar para buscar o caminho, to at&eacute; confuso, de como farei isso.<br />
pode me ajudar ?<br />
<br />
<br />
<span style="font-family: tahoma, arial, sans-serif; font-size: 10pt;"><hr size="2" width="100%" align="center" />
<strong>De</strong>: "Jo&atilde;o Marcelo Queiroz" &lt;<a href="mailto:jmbq@bol.com.br">jmbq@bol.com.br</a>&gt;<br />
<strong>Enviado</strong>: sexta-feira, 11 de maio de 2012 09:34<br />
<strong>Para</strong>: <a href="mailto:joao@oxman.com.br">joao@oxman.com.br</a>, <a href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</a><br />
<strong>Assunto</strong>: Re: [AsteriskBrasil] Gravar audio no Elastix</span><br />
<br />
<div>O problema &eacute; exatamente esse, o &aacute;udio &eacute; gravado e est&aacute; no local correto mas o campo userfield (que informa onde est&aacute; o arquivo) n&atilde;o &eacute; preenchido no banco asteriskcdrdb, logo a aba Monitor n&atilde;o sabe onde buscar o &aacute;udio.</div>
<div><br />
</div>
<div><br />
</div>
<div><br />
</div>
<div>Boa sorte,</div>
<div><br />
</div>
<div>Jo&atilde;o Marcelo Queiroz</div>
<div><br />
</div>
<br />
<div>
<div>Em 11/05/2012, &agrave;s 09:06, <a href="mailto:joao@oxman.com.br">joao@oxman.com.br</a> escreveu:</div>
<br class="Apple-interchange-newline" />
<blockquote type="cite"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">H&aacute; desculpa esqueci de falar<br />
<br />
Os arquivos de&nbsp;&aacute;udio&nbsp;at&eacute; est&atilde;o na pasta /var/spool/asterisk/monitor/ por&eacute;m n&atilde;o aparecem na interface do elastix na ABA monitoring.<br />
<br />
desde j&aacute; agrade&ccedil;o<br />
<br />
<br />
att,,<br />
<br />
<br />
<div></div>
<br />
<br />
<span style="font-family: tahoma, arial, sans-serif; font-size: 10pt;"><hr size="2" width="100%" align="center" />
<strong>De</strong>: "<a href="mailto:joao@oxman.com.br">joao@oxman.com.br</a>" &lt;<a href="mailto:joao@oxman.com.br">joao@oxman.com.br</a>&gt;<br />
<strong>Enviado</strong>: sexta-feira, 11 de maio de 2012 08:56<br />
<strong>Para</strong>: <a href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</a>, <a href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</a><br />
<strong>Assunto</strong>: Re: [AsteriskBrasil] Gravar audio no Elastix</span><br />
<br />
<span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Ola, Jo&atilde;o!<br />
<br />
Obrigado pela dica, por&eacute;m n&atilde;o achei o ext-queues pode me ajudar o que posso fazer pra ele ler o campo.<br />
<br />
desde j&aacute; agrade&ccedil;o sua ajuda.<br />
<br />
att,,<br />
<br />
Joao<br />
<br />
<div></div>
<br />
<br />
<span style="font-family: tahoma, arial, sans-serif; font-size: 10pt;"><hr size="2" width="100%" align="center" />
<strong>De</strong>: "Jo&atilde;o Marcelo Queiroz" &lt;<a href="mailto:jmbq@bol.com.br">jmbq@bol.com.br</a>&gt;<br />
<strong>Enviado</strong>: sexta-feira, 11 de maio de 2012 08:28<br />
<strong>Para</strong>: <a href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</a><br />
<strong>Assunto</strong>: Re: [AsteriskBrasil] Gravar audio no Elastix</span><br />
<br />
<div>Jo&atilde;o,</div>
<div><br />
</div>
<div>verifica no banco asteriskcdrdb se o campo userfield da tabela est&aacute; preenchido (ele informa onde est&aacute; o arquivo de &aacute;udio). Caso n&atilde;o esteja copie o ext-queues para o extensions_override_freepbx e fa&ccedil;a a modifica&ccedil;&atilde;o abaixo:</div>
<div><br />
</div>
<div><blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>
<div>
<div>Era:&nbsp;</div>
<div>exten =&gt; 2,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID})</div>
<div><br />
</div>
<div>Com o userfield:</div>
<div>
<div>exten =&gt; 2,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID})</div>
<div>exten =&gt; 2,n,Set(CDR(userfield)=audio:${MONITOR_FILENAME}.${MIXMON_FORMAT})</div>
</div>
</div>
</div>
</div>
</blockquote></div>
<div><br />
</div>
<div>Onde no caso acima p "2" &eacute; o n&uacute;mero da fila. Verifique, com o usu&aacute;rio ADMINISTRADOR, se depois disso as grava&ccedil;&otilde;es aparecem no monitoring, caso queira verificar com outro usu&aacute;rio, a&iacute; voc&ecirc; ter&aacute; que setar permiss&atilde;o de administrador ao usu&aacute;rio apenas nessa ABA, isso &eacute; feito editando o arquivo php correspondente, caso seja o caso fa&ccedil;a o seguinte:</div>
<div><br />
</div>
<div><a href="http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/2011-September/053794.html">http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/2011-September/053794.html</a></div>
<div><br />
</div>
<div><br />
</div>
<div><br />
</div>
<div>Boa sorte,</div>
<div><br />
</div>
<div>Jo&atilde;o Marcelo Queiroz</div>
<div><br />
</div>
<div><br />
</div>
<div><br />
</div>
<div><br />
</div>
<br />
<div>
<div>Em 10/05/2012, &agrave;s 19:45, <a href="mailto:joao@oxman.com.br">joao@oxman.com.br</a> escreveu:</div>
<br class="Apple-interchange-newline" />
<blockquote type="cite"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Boa Noite a Todos os Amigos!<br />
<br />
<br />
Estou com uma dificuldade e gostaria de saber se&nbsp;algu&eacute;m&nbsp;tem uma dica pra ajudar.<br />
<br />
<span class="Apple-tab-span" style="white-space: pre;">        </span>Tenho uma Ura de atendimento no Elastix&nbsp;2.2.0 e fa&ccedil;o grava&ccedil;&otilde;es de&nbsp;&aacute;udio&nbsp;das chamadas &nbsp;entrantes, porem agora quero fazer grava&ccedil;&otilde;es de&nbsp;&aacute;udio&nbsp;das chamadas nos agentes Ativos das liga&ccedil;&otilde;es saintes, criei um contexto e as grava&ccedil;&otilde;es s&atilde;o armazenadas na pasta monitor, por&eacute;m n&atilde;o aparecem na interface do&nbsp;usu&aacute;rio&nbsp;que deseja monitorar.<br />
<br />
As grava&ccedil;&otilde;es de chamadas entrante tudo ok, somente tenho problemas para aparecer as grava&ccedil;&otilde;es das chamadas saintes.<br />
<br />
Algu&eacute;m&nbsp;j&aacute; conseguiu e tem uma dica pra ajudar ?<br />
<br />
desde j&aacute; agrade&ccedil;o<br />
<br />
<br />
att,,<br />
<br />
<div></div>
</span>
_______________________________________________<br />
KHOMP Inova&ccedil;&atilde;o: External Board Series<br />
M&oacute;dulos de 1/2 rack e 1U para todas as interfaces e solu&ccedil;&otilde;es Asterisk e FreeSWITCH.<br />
Tenha a External Series Experience na sua aplica&ccedil;&atilde;o. Visite&nbsp;<a href="http://www.khomp.com/">www.khomp.com</a><br />
_______________________________________________<br />
DIGIVOICE &nbsp;Fabricante de Placas de Voz e Channel Bank<br />
20 anos de experi&ecirc;ncia com E1(R2/ISDN), FXS, FXO e GSM<br />
Centro Treinamento - Curso de PABX IP - &nbsp;Asterisk &nbsp;- Site &nbsp;<a href="http://www.digivoice.com.br/">www.digivoice.com.br</a><br />
________<br />
YEALINK: Telefones IP e V&iacute;deoPhones IP com o melhor custo/benef&iacute;cio do mercado.<br />
email: <a href="mailto:yealink@commlogik.com.br">yealink@commlogik.com.br</a> | <a href="http://www.commlogik.com.br/">www.commlogik.com.br</a> | (11) 5503-1011<br />
______________________________________________<br />
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></blockquote></div>
<br />
</span></span>
_______________________________________________<br />
KHOMP Inova&ccedil;&atilde;o: External Board Series<br />
M&oacute;dulos de 1/2 rack e 1U para todas as interfaces e solu&ccedil;&otilde;es Asterisk e FreeSWITCH.<br />
Tenha a External Series Experience na sua aplica&ccedil;&atilde;o. Visite&nbsp;<a href="http://www.khomp.com/">www.khomp.com</a><br />
_______________________________________________<br />
DIGIVOICE &nbsp;Fabricante de Placas de Voz e Channel Bank<br />
20 anos de experi&ecirc;ncia com E1(R2/ISDN), FXS, FXO e GSM<br />
Centro Treinamento - Curso de PABX IP - &nbsp;Asterisk &nbsp;- Site &nbsp;<a href="http://www.digivoice.com.br/">www.digivoice.com.br</a><br />
________<br />
YEALINK: Telefones IP e V&iacute;deoPhones IP com o melhor custo/benef&iacute;cio do mercado.<br />
email: <a href="mailto:yealink@commlogik.com.br">yealink@commlogik.com.br</a> | <a href="http://www.commlogik.com.br/">www.commlogik.com.br</a> | (11) 5503-1011<br />
______________________________________________<br />
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></blockquote></div>
<br />
</span>
</blockquote></div>
<br /></span>