Re: Asterisk TE205p
Esta conectado en el puerto 1. Ayer ya resolví ese problema, ahora el problema es que de asterisk no puedo mandar llamadas al avaya; pero del avaya si puedo mandar llamadas a asterisk.
Esto me sale cuando hablo de una ext del avaya a una de asterisk:
-- Accepting call from '' to '8800' on channel 0/1, span 1
-- Executing [8800@from-Avaya:1] Dial("DAHDI/i1/-8", "SIP/8800") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/8800
-- SIP/8800-00000007 is ringing
-- SIP/8800-00000007 answered DAHDI/i1/-8
== Spawn extension (from-Avaya, 8800, 1) exited non-zero on 'DAHDI/i1/-8'
-- Hungup 'DAHDI/i1/-8'
Pero cuando quiero hacer una llamada de asterisk al avaya me sale esto:
== Using SIP RTP CoS mark 5
-- Executing [108@from-Avaya:1] Dial("SIP/8800-0000000a", "DAHDI/g0/108") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called DAHDI/g0/108
-- Span 1: Channel 0/1 got hangup, cause 88
-- Hungup 'DAHDI/i1/108-b'
== Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'SIP/8800-0000000a' status is 'CHANUNAVAIL'
La config del /etc/dahdi/system.conf es esta:
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31
# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
dchan=47
echocanceller=mg2,32-46,48-62
# Global data
loadzone = us
defaultzone = us
Y del dahdi-channels.conf
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
group=0
context=from-Avaya
switchtype = national
signalling = pri_net
channel => 1-15,17-31
overlapdial=yes
; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
group=1
context=from-Avaya
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
group = 63
Y en el chan_dahdi.conf esto:
[channels]
language=en
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
prilocaldialplan=unknown
overlapdial=yes
#include "dahdi-channels.conf"