<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Boa tarde Fabio Henrique,<br>
<br>
Que modelo de placa E1 est&aacute; utilizando? <br>
<br>
Geralmente para placas digium trabalhar com r2 &eacute; necess&aacute;rio unicall ou
openr2....<br>
<br>
Abra&ccedil;o!<br>
<br>
Fabio Henrique escreveu:
<blockquote
 cite="mid:280fbd660908191138t752f36a7r97960716770f6ad7@mail.gmail.com"
 type="cite">Ol&aacute; Amigos, estou tentando configurar E1-R2 EMBRATEL no
Asterisk ,segue abaixo as config do zaptel e zapata, apresenta o erro
mais abaixo...Alguem pode me ajudar.<br>
  <br>
zaptel.conf:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
  <br>
loadzone&nbsp;&nbsp;&nbsp; = br<br>
defaultzone = br<br>
  <br>
span=1,1,0,cas,hdb3<br>
cas=1-15:1101<br>
cas=17-31:1101<br>
dchan=16<br>
_____________<br>
  <br>
zapata.conf: <br>
  <br>
[trungroups]<br>
  <br>
[channels]<br>
usecallerid=yes<br>
callwaiting=yes<br>
usecallingpres=yes<br>
callwaitingcallerid=yes<br>
threewaycalling=yes<br>
transfer=yes<br>
canpark=yes<br>
cancallforward=yes<br>
callreturn=yes<br>
echocancel=yes<br>
echocancelwhenbridged=yes<br>
  <br>
signalling=mfcr2<br>
mfcr2_variant=br<br>
mfcr2_get_ani_first=no<br>
mfcr2_max_ani=20<br>
mfcr2_max_dnis=4<br>
mfcr2_category=national_subscriber<br>
mfcr2_logdir=span1<br>
mfcr2_logging=all<br>
  <br>
context=from-zaptel<br>
group=0<br>
callgroup=0<br>
pickupgroup=0<br>
channel =&gt; 1-15<br>
channel =&gt; 17-31<br>
________________<br>
  <br>
ERRO ABAIXO: <br>
  <br>
  <br clear="all">
&nbsp;&nbsp;&nbsp; -- Executing [444435153730@from-internal:1]
Macro("SIP/3730-085d0648", "dialout-trunk|8|35153730||") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:1] Set("SIP/3730-085d0648",
"DIAL_TRUNK=8") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:2] Set("SIP/3730-085d0648",
"DIAL_NUMBER=35153730") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:3] Set("SIP/3730-085d0648",
"ROUTE_PASSWD=") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/3730-085d0648",
"1?noauth") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-dialout-trunk,s,6)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:6] GotoIf("SIP/3730-085d0648",
"0?disabletrunk|1") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:7] Set("SIP/3730-085d0648",
"_NODEST=") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:8] Set("SIP/3730-085d0648",
"DIAL_TRUNK_OPTIONS=tTrwW") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:9] Set("SIP/3730-085d0648",
"GROUP()=OUT_8") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:10] Macro("SIP/3730-085d0648",
"user-callerid|SKIPTTL") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:1] NoOp("SIP/3730-085d0648",
"user-callerid: device 3730") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:2] Set("SIP/3730-085d0648",
"AMPUSER=3730") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:3] GotoIf("SIP/3730-085d0648",
"0?report") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:4] GotoIf("SIP/3730-085d0648",
"0?start") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:5] Set("SIP/3730-085d0648",
"REALCALLERIDNUM=3730") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:6] NoOp("SIP/3730-085d0648",
"REALCALLERIDNUM is 3730") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:7] Set("SIP/3730-085d0648",
"AMPUSER=3730") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:8] Set("SIP/3730-085d0648",
"AMPUSERCIDNAME=Suporte") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:9] GotoIf("SIP/3730-085d0648",
"0?report") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:10] Set("SIP/3730-085d0648",
"AMPUSERCID=3730") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:11] Set("SIP/3730-085d0648",
"CALLERID(all)="Suporte" &lt;3730&gt;") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:12] Set("SIP/3730-085d0648",
"REALCALLERIDNUM=3730") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:13] NoOp("SIP/3730-085d0648",
"TTL:&nbsp; ARG1: SKIPTTL") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:14] GotoIf("SIP/3730-085d0648",
"1?continue") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-user-callerid,s,23)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:23] NoOp("SIP/3730-085d0648",
"Using CallerID "Suporte" &lt;3730&gt;") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:11] Macro("SIP/3730-085d0648",
"record-enable|3730|OUT") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-record-enable:1] GotoIf("SIP/3730-085d0648",
"0?2:4") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-record-enable,s,4)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-record-enable:4] AGI("SIP/3730-085d0648",
"recordingcheck|20090819-152750|1250706470.0") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br>
&nbsp; recordingcheck|20090819-152750|1250706470.0: Outbound recording
enabled.<br>
&nbsp; recordingcheck|20090819-152750|1250706470.0:
CALLFILENAME=OUT3730-20090819-152750-1250706470.0<br>
&nbsp;&nbsp;&nbsp; -- AGI Script recordingcheck completed, returning 0<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-record-enable:999]
MixMonitor("SIP/3730-085d0648",
"OUT3730-20090819-152750-1250706470.0.wav") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:12] GotoIf("SIP/3730-085d0648",
"0?skipoutcid") in new stack<br>
&nbsp; == Begin MixMonitor Recording SIP/3730-085d0648<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:13] Set("SIP/3730-085d0648",
"DIAL_TRUNK_OPTIONS=tTwW") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:14] Macro("SIP/3730-085d0648",
"outbound-callerid|8") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:1]
GotoIf("SIP/3730-085d0648", "1?start") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-outbound-callerid,s,3)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:3]
NoOp("SIP/3730-085d0648", "REALCALLERIDNUM is 3730") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:4]
GotoIf("SIP/3730-085d0648", "1?normcid") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-outbound-callerid,s,9)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:9] Set("SIP/3730-085d0648",
"USEROUTCID=") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:10]
Set("SIP/3730-085d0648", "EMERGENCYCID=") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:11]
Set("SIP/3730-085d0648", "TRUNKOUTCID=") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:12]
GotoIf("SIP/3730-085d0648", "1?trunkcid") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-outbound-callerid,s,16)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:16]
GotoIf("SIP/3730-085d0648", "1?usercid") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-outbound-callerid,s,18)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:18]
GotoIf("SIP/3730-085d0648", "1?report") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-outbound-callerid,s,22)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:22]
NoOp("SIP/3730-085d0648", "CallerID set to "Suporte" &lt;3730&gt;") in
new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/3730-085d0648",
"1?nomax") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-dialout-trunk,s,17)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:17] AGI("SIP/3730-085d0648",
"fixlocalprefix") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&nbsp; fixlocalprefix: Using pattern 0|021+XXXXXXXXXX<br>
&nbsp;&nbsp;&nbsp; -- AGI Script fixlocalprefix completed, returning 0<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:18] Set("SIP/3730-085d0648",
"OUTNUM=35153730") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:19] Set("SIP/3730-085d0648",
"custom=ZAP/g0") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:20] GotoIf("SIP/3730-085d0648",
"1?gocall") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-dialout-trunk,s,22)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:22] Macro("SIP/3730-085d0648",
"dialout-trunk-predial-hook") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:23] GotoIf("SIP/3730-085d0648",
"0?bypass|1") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/3730-085d0648",
"0?customtrunk") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:25] Dial("SIP/3730-085d0648",
"ZAP/g0/35153730|300|tTwW") in new stack<br>
&nbsp; == Everyone is busy/congested at this time (1:0/0/1)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:26] Goto("SIP/3730-085d0648",
"s-CHANUNAVAIL|1") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1]
GotoIf("SIP/3730-085d0648", "1?noreport") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3]
NoOp("SIP/3730-085d0648", "TRUNK Dial failed due to CHANUNAVAIL -
failing through to other trunks") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [444435153730@from-internal:2]
Macro("SIP/3730-085d0648", "outisbusy|") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outisbusy:1] Playback("SIP/3730-085d0648",
"ss-noservice|noanswer") in new stack<br>
&nbsp;&nbsp;&nbsp; -- &lt;SIP/3730-085d0648&gt; Playing 'ss-noservice' (language 'en')<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outisbusy:2] Playback("SIP/3730-085d0648",
"pls-try-call-later|noanswer") in new stack<br>
&nbsp;&nbsp;&nbsp; -- &lt;SIP/3730-085d0648&gt; Playing 'pls-try-call-later' (language
'en')<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outisbusy:3] Macro("SIP/3730-085d0648",
"hangupcall") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/3730-085d0648",
"w") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:2] NoCDR("SIP/3730-085d0648", "")
in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:3] GotoIf("SIP/3730-085d0648",
"1?skiprg") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-hangupcall,s,6)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:6] GotoIf("SIP/3730-085d0648",
"1?skipblkvm") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-hangupcall,s,9)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:9] GotoIf("SIP/3730-085d0648",
"1?theend") in new stack<br>
&nbsp;&nbsp;&nbsp; -- Goto (macro-hangupcall,s,11)<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:11] Hangup("SIP/3730-085d0648",
"") in new stack<br>
&nbsp; == Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'SIP/3730-085d0648' in macro 'hangupcall'<br>
&nbsp; == Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'SIP/3730-085d0648' in macro 'outisbusy'<br>
&nbsp; == Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'SIP/3730-085d0648'<br>
&nbsp; == End MixMonitor Recording SIP/3730-085d0648<br>
&nbsp;&nbsp;&nbsp; -- Remote UNIX connection<br>
&nbsp;&nbsp;&nbsp; -- Remote UNIX connection disconnected<br>
  <br>
-- <br>
1 Abra&ccedil;o.<br>
  <br>
&nbsp; &nbsp;F&aacute;bio Henrique.<br>
  <pre wrap="">
<hr size="4" width="90%">

_______________________________________________
Participe do IV Encontro VoIPCenter, 16 a 18 de setembro - S&atilde;o Paulo.
VoIP, Asterisk e Converg&ecirc;ncia de Redes.
<a class="moz-txt-link-freetext" href="http://www.encontrovoipcenter.com.br">http://www.encontrovoipcenter.com.br</a>

Compre uma camiseta da AsteriskBrasil.org!
<a class="moz-txt-link-freetext" href="http://www.voipmania.com.br">http://www.voipmania.com.br</a>

Acesse o canal IRC de discuss&atilde;o sobre Asterisk em Portugu&ecirc;s Brasileiro na rede Freenode.net: #asterisk-br
_______________________________________________
Lista de discuss&otilde;es AsteriskBrasil.org
<a class="moz-txt-link-abbreviated" href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a>
<a class="moz-txt-link-freetext" href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a></pre>
</blockquote>
<br>
</body>
</html>


Rodrigo S. Vian<BR>Analista TI<BR>Porttal Tecnologia<BR>Soluções em TI & Telecom<BR>http://www.porttaltecnologia.com.br<BR>phone:55+19+3542-9667<BR><BR>|-- Antes de Imprimir, pense em sua responsabilidade com o Meio Ambiente --|<BR>