<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=2>Obrigado pela ajuda, mas insistiu no mesmo erro. </FONT></DIV>
<DIV><FONT size=2>Coloquei debug no span 1 para ver mais detalhes e segue abaixo
o que ele tenta fazer no momento que efetuou uma chamada externa:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2> -- Executing
[s@macro-dialout-trunk:20] Dial("SIP/6000-09628100", "ZAP/g0/24095213|300|") in
new stack<BR>-- Making new call for cr 32771<BR> -- Requested
transfer capability: 0x00 - SPEECH<BR>> Protocol Discriminator: Q.931
(8) len=30<BR>> Call Ref: len= 2 (reference 3/0x3) (Originator)<BR>>
Message type: SETUP (5)<BR>> [04 03 80 90 a3]<BR>> Bearer Capability (len=
5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech
(0)<BR>>
Ext: 1 Trans mode/rate: 64kbps, circuit-mode
(16)<BR>>
Ext: 1 User information layer 1: A-Law (35)<BR>> [18 03 a9 83
81]<BR>> Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI
Spare: 0 Exclusive Dchan:
0<BR>>
ChanSel:
Reserved<BR>>
Ext: 1 Coding: 0 Number Specified Channel Type:
3<BR>>
Ext: 1 Channel: 1 ]<BR>> [6c 02 00 c3]<BR>> Calling Number (len= 4)
[ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan
(0)<BR>>
Presentation: Number not available (67) '' ]<BR>> [70 09 a1 32 34 30 39
35 32 31 33]<BR>> Called Number (len=11) [ Ext: 1 TON: National Number
(2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '24095213'
]<BR>q931.c:2881 q931_setup: call 32771 on channel 1 enters state 1 (Call
Initiated)<BR> -- Called g0/24095213<BR>< Protocol
Discriminator: Q.931 (8) len=10<BR>< Call Ref: len= 2 (reference 3/0x3)
(Terminator)<BR>< Message type: CALL PROCEEDING (2)<BR>< [18 03 a9 83
81]<BR>< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI
Spare: 0 Exclusive Dchan:
0<BR><
ChanSel:
Reserved<BR><
Ext: 1 Coding: 0 Number Specified Channel Type:
3<BR><
Ext: 1 Channel: 1 ]<BR>-- Processing IE 24 (cs0, Channel
Identification)<BR>q931.c:3428 q931_receive: call 32771 on channel 1 enters
state 3 (Outgoing call Proceeding)<BR> -- Zap/1-1 is
proceeding passing it to SIP/6000-09628100<BR>< Protocol Discriminator: Q.931
(8) len=13<BR>< Call Ref: len= 2 (reference 3/0x3) (Terminator)<BR><
Message type: DISCONNECT (69)<BR>< [08 02 82 9f]<BR>< Cause (len= 4) [
Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location:
Public network serving the local user
(2)<BR><
Ext: 1 Cause: Normal, unspecified (31), class = Normal Event (1) ]<BR><
[1e 02 82 88]<BR>< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT
(ITU) standard (0) 0: 0 Location: Public network serving the local
user
(2)<BR><
Ext: 1 Progress Description: Inband information or appropriate pattern now
available. (8) ]<BR>-- Processing IE 8 (cs0, Cause)<BR>-- Processing IE 30 (cs0,
Progress Indicator)<BR>q931.c:3563 q931_receive: call 32771 on channel 1 enters
state 12 (Disconnect Indication)<BR> -- Channel 0/1, span 1
got hangup request, cause 31<BR>NEW_HANGUP DEBUG: Calling q931_hangup, ourstate
Disconnect Indication, peerstate Disconnect Request<BR>q931.c:2716 q931_release:
call 32771 on channel 1 enters state 19 (Release Request)<BR>> Protocol
Discriminator: Q.931 (8) len=9<BR>> Call Ref: len= 2 (reference 3/0x3)
(Originator)<BR>> Message type: RELEASE (77)<BR>> [08 02 81 9f]<BR>>
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare:
0 Location: Private network serving the local user
(1)<BR>>
Ext: 1 Cause: Normal, unspecified (31), class = Normal Event (1)
]<BR> -- Hungup 'Zap/1-1'<BR> == Everyone is
busy/congested at this time (1:0/0/1)<BR> -- Executing
[s@macro-dialout-trunk:21] Goto("SIP/6000-09628100", "s-CHANUNAVAIL|1") in new
stack<BR> -- Goto
(macro-dialout-trunk,s-CHANUNAVAIL,1)<BR> -- Executing
[s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/6000-09628100", "1?noreport")
in new stack<BR> -- Goto
(macro-dialout-trunk,s-CHANUNAVAIL,3)<BR> -- Executing
[s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/6000-09628100", "TRUNK Dial
failed due to CHANUNAVAIL - failing through to other trunks") in new
stack<BR> -- Executing [024095213@from-internal:5]
Macro("SIP/6000-09628100", "outisbusy|") in new stack<BR> --
Executing [s@macro-outisbusy:1] Playback("SIP/6000-09628100",
"all-circuits-busy-now|noanswer") in new stack<BR> --
<SIP/6000-09628100> Playing 'all-circuits-busy-now' (language
'pt_BR')<BR>< Protocol Discriminator: Q.931 (8) len=5<BR>< Call Ref:
len= 2 (reference 3/0x3) (Terminator)<BR>< Message type: RELEASE COMPLETE
(90)<BR>q931.c:3503 q931_receive: call 32771 on channel 1 enters state 0
(Null)<BR>NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate
Null<BR>NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate
Null<BR></FONT></DIV>
<DIV><FONT size=2>Obrigado mais uma vez.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>----- Original Message ----- </FONT>
<DIV><FONT size=2>From: "Alexandre Cavalcante Alencar" <</FONT><A
href="mailto:alexandre.alencar@gmail.com"><FONT
size=2>alexandre.alencar@gmail.com</FONT></A><FONT size=2>></FONT></DIV>
<DIV><FONT size=2>To: <</FONT><A
href="mailto:asteriskbrasil@listas.asteriskbrasil.org"><FONT
size=2>asteriskbrasil@listas.asteriskbrasil.org</FONT></A><FONT
size=2>></FONT></DIV>
<DIV><FONT size=2>Sent: Monday, April 28, 2008 10:34 AM</FONT></DIV>
<DIV><FONT size=2>Subject: Re: [AsteriskBrasil]Digium (E1) TE110P não origina
chamada</FONT></DIV></DIV>
<DIV><FONT size=2><BR></FONT></DIV><FONT size=2>> Olá,<BR>> <BR>>
Altere seu zapata.conf para o conteúdo abaixo e veja se resolve seu<BR>>
problema. Aqui é um Oi ISDN.<BR>> <BR>> [channels]<BR>> language =
br<BR>> usecallerid = yes<BR>> hidecallerid = yes<BR>> callwaiting =
yes<BR>> callwaitingcallerid = yes<BR>> restrictcid = no<BR>>
usecallingpres = yes<BR>> threewaycalling = yes<BR>> callreturn =
yes<BR>> transfer = yes<BR>> cancallforward = yes<BR>>
echocancelwhenbridged = yes<BR>> echocancel = yes<BR>> musiconhold =
default<BR>> overlapdial = yes<BR>> immediate = no<BR>> <BR>> ;
Digium Wildcard TE110P<BR>> context =
oi
; <<<< Lembre de mudar o contexto<BR>> switchtype =
euroisdn<BR>> signalling = pri_cpe<BR>> group = 0<BR>> callgroup =
1<BR>> pickupgroup = 1<BR>> channel => 1-15,17-31<BR>> <BR>>
<BR>> On Mon, Apr 28, 2008 at 10:11 AM, Demétrios Andrigo<BR>>
<</FONT><A href="mailto:andrigo@ntelecom.com.br"><FONT
size=2>andrigo@ntelecom.com.br</FONT></A><FONT size=2>>
wrote:<BR>>><BR>>><BR>>><BR>>> Olá a
todos,<BR>>><BR>>> Tenho configurado um asterisk 1.4.18 com uma
placa Digium TE110P (E1 ISDN),<BR>>> em um Trixbox. Temos contratado o
serviços da CTBC.<BR>>><BR>>> Consigo receber ligações sem problema,
porém quando tento originar uma<BR>>> chamada, me retorna o
erro:<BR>>><BR>>> E a gravação diz que todos os circuitos estão
ocupados, porém, as linhas<BR>>> estão livres. Abaixo seguem meus arquivos
de conf.<BR>>><BR>>> [zaptel.conf]<BR>>> # Span 1: WCT1/0
"Digium Wildcard TE110P T1/E1 Card 0" (MASTER)<BR>>>
HDB3/CCS/CRC4<BR>>> span=1,1,0,ccs,hdb3,crc4<BR>>> # termtype:
te<BR>>> bchan=1-15,17-31<BR>>> dchan=16<BR>>><BR>>> #
Global data<BR>>> loadzone=br<BR>>>
defaultzone=br<BR>>><BR>>> [zapata.conf]<BR>>>
[trunkgroups]<BR>>><BR>>> [channels]<BR>>>
pridialplan=unknown<BR>>> prilocaldialplan=unknown<BR>>> language =
br<BR>>> resetinterval = never<BR>>> usecallerid = yes<BR>>>
hidecallerid = no<BR>>> callwaiting = no<BR>>> usecallingpres =
yes<BR>>> callwaitingcallerid = yes<BR>>> threewaycalling =
yes<BR>>> transfer = yes<BR>>> canpark = yes<BR>>>
cancallforward = yes<BR>>> callreturn = yes<BR>>>
echocancelwhenbridged = yes<BR>>> echocancel = yes<BR>>> rxgain =
0.0<BR>>> txgain = 0.0<BR>>> overlapdial=no<BR>>>
callprogress=no<BR>>> busydetec=yes<BR>>>
pulsedial=yes<BR>>><BR>>> group=0<BR>>> callgroup =
0<BR>>> pickupgroup = 0<BR>>> context=from-zaptel<BR>>>
switchtype = euroisdn<BR>>> dtmfmode=rfc2833<BR>>>
signalling=pri_cpe<BR>>> channel = 1-15,17-31<BR>>>
callerid=<nosso_num><BR>>><BR>>>
[extensions.conf]<BR>>><BR>>> [outrt-001-0_outside]<BR>>>
include => outrt-001-0_outside-custom<BR>>> exten =>
_0.,1,Macro(user-callerid,SKIPTTL,)<BR>>> exten =>
_0.,n,Set(_NODEST=)<BR>>> exten =>
_0.,n,Macro(record-enable,${AMPUSER},OUT,)<BR>>> exten =>
_0.,n,Macro(dialout-trunk,1,${EXTEN:1},,)<BR>>> exten =>
_0.,n,Macro(outisbusy,)<BR>>><BR>>> ; end of
[outrt-001-0_outside]<BR>>><BR>>> Obrigado pela ajuda.<BR>>>
_______________________________________________<BR>>> Compre uma
camiseta da
AsteriskBrasil.org!<BR>>>
</FONT><A href="http://www.voipmania.com.br"><FONT
size=2>http://www.voipmania.com.br</FONT></A><BR><FONT
size=2>>>
== VoIPMania.com.br ==<BR>>><BR>>>
_______________________________________________<BR>>> Lista de
discussões AsteriskBrasil.org<BR>>> </FONT><A
href="mailto:AsteriskBrasil@listas.asteriskbrasil.org"><FONT
size=2>AsteriskBrasil@listas.asteriskbrasil.org</FONT></A><BR><FONT
size=2>>> </FONT><A
href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil"><FONT
size=2>http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</FONT></A><BR><FONT
size=2>>><BR>> <BR>> <BR>> <BR>> -- <BR>> Alexandre C
Alencar (Skarmeth)<BR>> </FONT><A
href="http://blog.alexandrealencar.net/"><FONT
size=2>http://blog.alexandrealencar.net/</FONT></A><BR><FONT size=2>>
</FONT><A href="http://www.alexandrealencar.net/"><FONT
size=2>http://www.alexandrealencar.net/</FONT></A><BR><FONT size=2>>
</FONT><A href="http://people.debian-ce.org/skarmeth/"><FONT
size=2>http://people.debian-ce.org/skarmeth/</FONT></A><BR><FONT size=2>>
_______________________________________________<BR>> Compre uma camiseta da
AsteriskBrasil.org!<BR>>
</FONT><A href="http://www.voipmania.com.br"><FONT
size=2>http://www.voipmania.com.br</FONT></A><BR><FONT
size=2>>
== VoIPMania.com.br ==<BR>> <BR>>
_______________________________________________<BR>> Lista de discussões
AsteriskBrasil.org<BR>> </FONT><A
href="mailto:AsteriskBrasil@listas.asteriskbrasil.org"><FONT
size=2>AsteriskBrasil@listas.asteriskbrasil.org</FONT></A><BR><FONT size=2>>
</FONT><A
href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil"><FONT
size=2>http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</FONT></A><BR><FONT
size=2>></FONT></BODY></HTML>