Hola, buen dia.
De antemano felicitar a los adm de esta web y a su gente ya que he estado leyendo un monton y aprendiendo bastante de aqui. pues bien de aqui mi problemilla, que al parecer es bien recurrente pero aun no le encuentro solucion.
Estoy implementando un elastix v2.4 con una tarjeta E1 Sangoma A104d, ya tengo todo configurado y las llamadas entre anexos no tengo ningún problema, el problema radica en las llamadas hacia afuera y desde afuera. ya que siempre me sale el mensaje que todas las lineas se encuentran ocupadas cuando no es así. tengo contratado un primario con telefónica de 30 canales.
muestro mis configuraciones para que me puedan echar una manito. gracias de ante mano.
/etc/dahdi/system.conf
/etc/wanpipe/wanpipe1.conf
/etc/asterisk/dahdi-channels.conf
/etc/asterisk/chan_dahdi.conf
y este es el log del cli
Pongo en negrita lo que me parece que es el error, gracias de antemano.
Saludos.
De antemano felicitar a los adm de esta web y a su gente ya que he estado leyendo un monton y aprendiendo bastante de aqui. pues bien de aqui mi problemilla, que al parecer es bien recurrente pero aun no le encuentro solucion.
Estoy implementando un elastix v2.4 con una tarjeta E1 Sangoma A104d, ya tengo todo configurado y las llamadas entre anexos no tengo ningún problema, el problema radica en las llamadas hacia afuera y desde afuera. ya que siempre me sale el mensaje que todas las lineas se encuentran ocupadas cuando no es así. tengo contratado un primario con telefónica de 30 canales.
muestro mis configuraciones para que me puedan echar una manito. gracias de ante mano.
/etc/dahdi/system.conf
Código:
#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit #autogenrated on 2014-05-24 #Dahdi Channels Configurations #For detailed Dahdi options, view /etc/dahdi/system.conf.bak loadzone=us defaultzone=us #Sangoma A104 port 1 [slot:4 bus:20 span:1] <wanpipe1> span=1,1,0,ccs,hdb3 bchan=1-15,17-31 echocanceller=oslec,1-15,17-31 dchan=16 #Sangoma A104 port 2 [slot:4 bus:20 span:2] <wanpipe2> span=2,2,0,ccs,hdb3 bchan=32-46,48-62 echocanceller=oslec,32-46,48-62 dchan=47 #Sangoma A104 port 3 [slot:4 bus:20 span:3] <wanpipe3> span=3,3,0,ccs,hdb3 bchan=63-77,79-93 echocanceller=oslec,63-77,79-93 dchan=78 #Sangoma A104 port 4 [slot:4 bus:20 span:4] <wanpipe4> span=4,4,0,ccs,hdb3 bchan=94-108,110-124 echocanceller=oslec,94-108,110-124 dchan=109
Código:
#================================================
# WANPIPE1 Configuration File
#================================================
#
# Date: Wed Dec 6 20:29:03 UTC 2006
#
# Note: This file was generated automatically
# by /usr/local/sbin/setup-sangoma program.
#
# If you want to edit this file, it is
# recommended that you use wancfg program
# to do so.
#================================================
# Sangoma Technologies Inc.
#================================================
[devices]
wanpipe1 = WAN_AFT_TE1, Comment
[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 4
PCIBUS = 20
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = NCRC4
FE_LINE = 1
TE_CLOCK = NORMAL
TE_REF_CLOCK = 0
TE_SIG_MODE = CCS
TE_HIGHIMPEDANCE = NO
TE_RX_SLEVEL = 430
HW_RJ45_PORT_MAP = DEFAULT
LBO = 120OH
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TDMV_DCHAN = 16
TE_AIS_MAINTENANCE = NO #NO: defualt YES: Start port in AIS Blue Alarm and keep line down
#wanpipemon -i w1g1 -c Ttx_ais_off to disable AIS maintenance mode
#wanpipemon -i w1g1 -c Ttx_ais_on to enable AIS maintenance mode
TDMV_HW_DTMF = NO # YES: receive dtmf events from hardware
TDMV_HW_FAX_DETECT = NO # YES: receive fax 1100hz events from hardware
HWEC_OPERATION_MODE = OCT_NORMAL # OCT_NORMAL: echo cancelation enabled with nlp (default)
# OCT_SPEECH: improves software tone detection by disabling NLP (echo possible)
# OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions.
HWEC_DTMF_REMOVAL = NO # NO: default YES: remove dtmf out of incoming media (must have hwdtmf enabled)
HWEC_NOISE_REDUCTION = NO # NO: default YES: reduces noise on the line - could break fax
HWEC_ACUSTIC_ECHO = NO # NO: default YES: enables acustic echo cancelation
HWEC_NLP_DISABLE = NO # NO: default YES: guarantees software tone detection (possible echo)
HWEC_TX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
HWEC_RX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
HWEC_TX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal
HWEC_RX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal
[w1g1]
ACTIVE_CH = ALL
TDMV_HWEC = NO
MTU = 8
Código:
; Autogenerated by /usr/sbin/dahdi_genconf on Sat May 24 23:32:30 2014 ; If you edit this file and execute /usr/sbin/dahdi_genconf again, ; your manual changes will be LOST. ; Dahdi Channels Configurations (chan_dahdi.conf) ; ; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended ; to be #include-d by /etc/chan_dahdi.conf that will include the global settings ; ; Span 1: WPT1/0 "wanpipe1 card 0" (MASTER) B8ZS/ESF RED group=0,11 context=from-pstn switchtype = euroisdn signalling = pri_cpe channel => 1-15,17-31 context = default group=0 ; Span 2: WPT1/1 "wanpipe2 card 1" B8ZS/ESF RED group=0,12 context=from-pstn switchtype = euroisdn signalling = pri_cpe channel => 32-46,48-62 context = default group=2 ; Span 3: WPT1/2 "wanpipe3 card 2" B8ZS/ESF RED group=0,13 context=from-pstn switchtype = euroisdn signalling = pri_cpe channel => 63-77,79-93 context = default group=3 ; Span 4: WPT1/3 "wanpipe4 card 3" B8ZS/ESF RED group=0,14 context=from-pstn switchtype = euroisdn signalling = pri_cpe channel => 94-108,110-124 context = default group=4
Código:
; Auto-generated by /usr/sbin/hardware_detector [trunkgroups] [channels] context=from-pstn signalling=fxs_ks rxwink=300 ; Atlas seems to use long (250ms) winks usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=no faxdetect=incoming echotraining=800 rxgain=4.0 txgain=4.0 callgroup=1 pickupgroup=1 relaxdtmf=yes pridialplan=unknown prilocaldialplan=unknown ;Uncomment these lines if you have problems with the disconection of your analog lines ;busydetect=yes ;busycount=3 immediate=no #include dahdi-channels.conf #include chan_dahdi_additional.conf
Código:
Executing [s@macro-dialout-trunk:16] Macro("SIP/2216-00000003", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2216-00000003", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/2216-00000003", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2216-00000003", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/2216-00000003", "DAHDI/g0/5695269,300,") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- [B]Called DAHDI/g0/5695269
-- Span 1: Channel 0/1 got hangup, cause 27[/B]
-- DAHDI/i1/5695269-3 is circuit-busy
-- Hungup 'DAHDI/i1/5695269-3'
== Everyone is busy/congested at this time (1:0/1/0)
-- [B]Executing [s@macro-dialout-trunk:20] NoOp("SIP/2216-00000003", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 27") in new stack[/B]
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/2216-00000003", "s-CONGESTION,1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/2216-00000003", "RC=27") in new stack
-- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/2216-00000003", "27,1") in new stack
-- Goto (macro-dialout-trunk,27,1)
-- Executing [27@macro-dialout-trunk:1] Goto("SIP/2216-00000003", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/2216-00000003", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,continue,3)
-- [B]Executing [continue@macro-dialout-trunk:3] NoOp("SIP/2216-00000003", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 27 - failing through to other trunks") in new stack[/B]
-- Executing [continue@macro-dialout-trunk:4] Set("SIP/2216-00000003", "CALLERID(number)=2216") in new stack
-- Executing [95695269@from-internal:9] Macro("SIP/2216-00000003", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/2216-00000003", "") in new stack
-- [B]Executing [s@macro-outisbusy:2] Set("SIP/2216-00000003", "MSG=all-circuits-busy-now&pls-try-call-later") in new stack[/B]
-- Executing [s@macro-outisbusy:3] Goto("SIP/2216-00000003", "s-27,1") in new stack
-- Goto (macro-outisbusy,s-27,1)
Saludos.

Comentario