<b>Pelo que entendi no seu cenário a Alcatel esta com o E1 da STFC certo ? e interligado via tie-line com o Elastix <br><br>se assim estiver acredito que esteja limitado pela alcatel , resolvi uma situação semelhante colocando o asterisk na frente direto com a operadora.<br>
mas é claro , tive a parceria de uma Digitro ,</b><br><br><div class="gmail_quote">2009/8/20 Sidnei <span dir="ltr">&lt;<a href="mailto:sidnei_rp@ig.com.br">sidnei_rp@ig.com.br</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div link="blue" vlink="purple" lang="PT-BR">

<div>

<p><span style="font-size: 10pt;">Olá
lista.</span></p>

<p><span style="font-size: 10pt;">Tenho
o seguinte cenário:</span></p>

<p><span style="font-size: 10pt;"> </span></p>

<p><span style="font-size: 10pt;">PABX
Alcatel interligado via E1 (Placa Digivoice) no Asterisk(Elastix) – E1
Embratel (placa Digivoice).</span></p>

<p><span style="font-size: 10pt;"> </span></p>

<p><span style="font-size: 10pt;">O
sistema só não está 100% por um único detalhe:</span></p>

<p><span style="font-size: 10pt;"> </span></p>

<p><span style="font-size: 10pt;">Estou
com um Elastix que não esta gravando as ligações originadas pelos ramais da
Alcatel, somente as originadas...será que alguém já passou por esse erro???</span></p>

<p><span style="font-size: 10pt;">As
ligações originadas pelos ramais SIP’s são gravadas normalmente</span></p>

<p><span style="font-size: 10pt;">Pelo
que entendi ele não grava por não receber o “Callerid”.</span></p>

<p><span style="font-size: 10pt;">Mas
é a mesma regra discagem para todos.</span></p>

<p><span style="font-size: 10pt;"> </span></p>

<p><span style="font-size: 10pt;">Ligação
feita pelo ramal da Alcatel:</span></p>

<p><span style="font-size: 10pt;"> </span></p>

<p><span style="font-size: 10pt;">   
-- Executing [XXXXXXX@from-internal:1] Macro(&quot;DGV/24&quot;,
&quot;user-callerid|SKIPTTL|&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:1] <b><span style="color: red;">NoOp(&quot;DGV/24&quot;,
&quot;user-callerid:  &quot;) in new stack</span></b></span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:2] Set(&quot;DGV/24&quot;,
&quot;AMPUSER=&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:3] GotoIf(&quot;DGV/24&quot;,
&quot;0?report&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:4] ExecIf(&quot;DGV/24&quot;,
&quot;1|Set|REALCALLERIDNUM=&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:5] NoOp(&quot;DGV/24&quot;,
&quot;REALCALLERIDNUM is &quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:6] Set(&quot;DGV/24&quot;,
&quot;AMPUSER=&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:7] Set(&quot;DGV/24&quot;,
&quot;AMPUSERCIDNAME=&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:8] GotoIf(&quot;DGV/24&quot;,
&quot;1?report&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Goto (macro-user-callerid,s,13)</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:13] NoOp(&quot;DGV/24&quot;,
&quot;TTL:  ARG1: SKIPTTL&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:14] GotoIf(&quot;DGV/24&quot;,
&quot;1?continue&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Goto (macro-user-callerid,s,23)</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:23] NoOp(&quot;DGV/24&quot;, &quot;Using
CallerID &quot;&quot; &lt;&gt;&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [XXXXXXX @from-internal:2] Set(&quot;DGV/24&quot;,
&quot;_NODEST=&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [XXXXXXX @from-internal:3] Macro(&quot;DGV/24&quot;,
&quot;record-enable||OUT|&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-record-enable:1] GotoIf(&quot;DGV/24&quot;,
&quot;0?2:4&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Goto (macro-record-enable,s,4)</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-record-enable:4] AGI(&quot;DGV/24&quot;,
&quot;recordingcheck|20090812-180011|1250110811.78943&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck</span></p>

<p><span style="font-size: 10pt;"> 
recordingcheck|20090812-180011|1250110811.78943: No AMPUSER db entry for . Not
recording</span></p>

<p><span style="font-size: 10pt;">   
-- AGI Script recordingcheck completed, returning 0</span></p>

<p><span style="font-size: 10pt;">   
<span style="color: red;">-- Executing [s@macro-record-enable:5]
NoOp(&quot;DGV/24&quot;, &quot;No recording needed&quot;) in new stack</span></span></p>

<p><span style="font-size: 10pt; color: red;"> </span></p>

<p><span style="font-size: 10pt;">Ligação
feita pelo ramal SIP:</span></p>

<p><span style="font-size: 10pt;"> </span></p>

<p><span style="font-size: 10pt;">   
-- SIP/vono-0850af78 is making progress passing it to DGV/17</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [21916363@from-internal:1] Macro(&quot;SIP/857-b361bae0&quot;,
&quot;user-callerid|SKIPTTL|&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:1] <b><span style="color: red;">NoOp(&quot;SIP/857-b361bae0&quot;,
&quot;user-callerid: &quot;device&quot; &lt;857&gt;&quot;)</span></b> in new
stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:2] Set(&quot;SIP/857-b361bae0&quot;,
&quot;AMPUSER=857&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:3] GotoIf(&quot;SIP/857-b361bae0&quot;,
&quot;0?report&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:4] ExecIf(&quot;SIP/857-b361bae0&quot;,
&quot;1|Set|REALCALLERIDNUM=857&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:5] NoOp(&quot;SIP/857-b361bae0&quot;,
&quot;REALCALLERIDNUM is 857&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:6] Set(&quot;SIP/857-b361bae0&quot;,
&quot;AMPUSER=857&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:7] Set(&quot;SIP/857-b361bae0&quot;,
&quot;AMPUSERCIDNAME=857&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:8] GotoIf(&quot;SIP/857-b361bae0&quot;,
&quot;0?report&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:9] Set(&quot;SIP/857-b361bae0&quot;,
&quot;AMPUSERCID=21980857&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:10] Set(&quot;SIP/857-b361bae0&quot;,
&quot;CALLERID(all)=&quot;857&quot; &lt;21980857&gt;&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:11] Set(&quot;SIP/857-b361bae0&quot;,
&quot;REALCALLERIDNUM=857&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:12] ExecIf(&quot;SIP/857-b361bae0&quot;,
&quot;0|Set|CHANNEL(language)=&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:13] NoOp(&quot;SIP/857-b361bae0&quot;,
&quot;TTL:  ARG1: SKIPTTL&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:14] GotoIf(&quot;SIP/857-b361bae0&quot;,
&quot;1?continue&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Goto (macro-user-callerid,s,23)</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-user-callerid:23] NoOp(&quot;SIP/857-b361bae0&quot;,
&quot;Using CallerID &quot;857&quot; &lt;21980857&gt;&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [21916363@from-internal:2] Set(&quot;SIP/857-b361bae0&quot;,
&quot;_NODEST=&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [21916363@from-internal:3] Macro(&quot;SIP/857-b361bae0&quot;,
&quot;record-enable|857|OUT|&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-record-enable:1] GotoIf(&quot;SIP/857-b361bae0&quot;,
&quot;0?2:4&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Goto (macro-record-enable,s,4)</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-record-enable:4] AGI(&quot;SIP/857-b361bae0&quot;,
&quot;recordingcheck|20090820-154828|1250794108.7047&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;">   
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck</span></p>

<p><span style="font-size: 10pt;"> 
recordingcheck|20090820-154828|1250794108.7047: Outbound recording enabled.</span></p>

<p><span style="font-size: 10pt;"> 
recordingcheck|20090820-154828|1250794108.7047:
CALLFILENAME=OUT-857-1250794108.7047</span></p>

<p><span style="font-size: 10pt;">   
-- AGI Script recordingcheck completed, returning 0</span></p>

<p><span style="font-size: 10pt;">   
-- Executing [s@macro-record-enable:999]
MixMonitor(&quot;SIP/857-b361bae0&quot;,
&quot;OUT-857-1250794108.7047.wav&quot;) in new stack</span></p>

<p><span style="font-size: 10pt;"> </span></p>

<p><span style="font-size: 10pt;">Alguém
tem alguma idéia pq??</span></p>

<p><b><span style="font-size: 10pt;"> </span></b></p>

<p><b><span style="font-size: 10pt;"> </span></b></p>

<table border="0" cellpadding="0">
 <tbody><tr>
  <td style="padding: 0.75pt;"></td>
  <td style="padding: 0.75pt;">
  <p style="margin-left: 1.2pt; line-height: 115%;"><b><span style="font-size: 12pt; line-height: 115%; color: rgb(119, 119, 119);"> </span></b></p>
  <p style="margin-left: 1.2pt; line-height: 115%;"><b><span style="color: rgb(119, 119, 119);">Pereira, Sidnei</span></b><b><span style="font-size: 10pt; line-height: 115%; color: rgb(119, 119, 119);"></span></b></p>
  <p style="margin-left: 1.2pt; line-height: 115%;"><b><span style="font-size: 10pt; line-height: 115%; color: rgb(119, 119, 119);">Telecomunicações<br>
  </span></b><b><span style="font-size: 13.5pt; line-height: 115%; font-family: Wingdings; color: rgb(119, 119, 119);">:</span></b><b><span style="font-size: 10pt; line-height: 115%; color: rgb(119, 119, 119);"> Tecnologia
  com Comprometimento <br>
  </span></b><b><span style="font-family: Webdings; color: rgb(119, 119, 119);">O</span></b><b><span style="font-size: 10pt; line-height: 115%; color: rgb(119, 119, 119);">(17) 8124 3954 - </span></b><b><span style="font-family: Wingdings; color: rgb(119, 119, 119);">*</span></b><b><span style="font-size: 10pt; line-height: 115%; color: rgb(119, 119, 119);"> <a href="mailto:sidnei@znt.com.br" target="_blank"><span style="line-height: 115%;">sidnei_rp@ig.com.br</span></a>
  </span></b><b><span style="font-size: 12pt; line-height: 115%; color: gray;"></span></b></p>
  <div>
  <div style="line-height: 115%;"><b><span style="color: gray;">
  <hr style="width: 14cm;" align="left" size="3" width="529">
  </span></b></div>
  </div>
  <p style="line-height: 115%;"><b><span style="font-size: 12pt; line-height: 115%; color: gray;"> </span></b></p>
  </td>
 </tr>
</tbody></table>

<p><b><span style="font-size: 7.5pt; color: rgb(119, 119, 119);"> </span></b></p>

<table border="0" cellpadding="0">
 <tbody><tr>
  <td style="padding: 0.75pt;">
  <p style="line-height: 115%;"><b><span style="color: gray;"><img src="cid:image001.jpg@01CA21AC.DCD0E690" alt="cid:020801c9eebe$3ad738b0$0b01a8c0@zntnoteribeir" border="0" height="66" width="66"></span></b><b><span style="font-size: 12pt; line-height: 115%; color: gray;"></span></b></p>

  </td>
  <td style="padding: 0.75pt;" valign="bottom">
  <p style="line-height: 115%;"><b><span style="font-size: 10pt; line-height: 115%; color: rgb(0, 160, 0);">Antes
  de imprimir esse e-mail, pense em seu compromisso com o MEIO AMBIENTE.<br>
  Desculpe-nos algum inconveniente pelo fundo deste e-mail ser escuro, porém
  esta é uma forma de economia de energia.</span></b><b><span style="font-size: 12pt; line-height: 115%; color: gray;"></span></b></p>
  </td>
 </tr>
</tbody></table>

<p> </p>

<p> </p>

<p><span style="font-size: 10pt;"> </span></p>

</div>

</div>


<br><br>
_______________________________________________<br>
Participe do IV Encontro VoIPCenter, 16 a 18 de setembro - São Paulo.<br>
VoIP, Asterisk e Convergência de Redes.<br>
<a href="http://www.encontrovoipcenter.com.br" target="_blank">http://www.encontrovoipcenter.com.br</a><br>
<br>
Compre uma camiseta da AsteriskBrasil.org!<br>
<a href="http://www.voipmania.com.br" target="_blank">http://www.voipmania.com.br</a><br>
<br>
Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na rede Freenode.net: #asterisk-br<br>
_______________________________________________<br>
Lista de discussões AsteriskBrasil.org<br>
<a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
<a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br></blockquote></div><br>