Hola
Tengo un pbx con Elastix 2.3.0. instalado. Instale una tarjeta de Digium para un E1 con Telefonica Colombia.
El problema es que ellos entregan el E1 Fraccionado 15 canales entrantes y 15 canales salientes, Las entrantes funcionan bien pero las salientes no funcionan ya que el provedor me informa que solo envio 4 digitos del ANI y el requiere ver los 7 Digitos del numero del PBX.
Aqui les dejo la configuracion que tengo gracias.
===================================/etc/dahdi/system.conf===================================
# Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER)
span=1,1,0,cas,hdb3
echocanceller=mg2,1-15,17-31
# termtype: te
cas=1-15:1101
dchan=16
cas=17-31:1101
# Global data
loadzone = us
defaultzone = us
=================================/etc/asterisk/chan_dahdi.conf================================
[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=both
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
relaxdtmf=yes
resetinterval=never
signalling=mfcr2
mfcr2_variant=itu
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=10
mfcr2_category=national_subscriber
mfcr2_mfback_timeout=5000
mfcr2_metering_pulse_timeout=-1
; this is for debugging purposes
mfcr2_logdir=log
mfcr2_logging=all
; end debugging configuration
context=from-pstn
group=1
restrictcid=yes
hidecallerid=no
channel => 1-15
channel => 17-31
;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
===================================vim /etc/asterisk/dahdi-channels.conf==========================
; Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63
;; los primeros 15 canales del E1 disponibles para el grupo 1
context=from-pstn
group=1
channel => 1-15
signalling=mfcr2
mfcr2_variant=itu
mfcr2_dtmf_detection=1
mfcr2_dtmf_dialing=1
mfcr2_get_ani_first=yes
mfcr2_immediate_accept=yes
mfcr2_max_ani=20
mfcr2_max_dnis=10
mfcr2_category=national_subscriber
mfcr2_mfback_timeout=5000
mfcr2_metering_pulse_timeout=-1
mfcr2_logdir=log
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_call_files=yes
callerid=8726363
;; Y los siguientes 15 canales del E1 disponibles para el grupo 2
context=from-pstn
group=2
channel => 17-31
signalling=mfcr2
mfcr2_variant=itu
mfcr2_dtmf_detection=1
mfcr2_dtmf_dialing=1
mfcr2_get_ani_first=yes
mfcr2_immediate_accept=yes
mfcr2_max_ani=20
mfcr2_max_dnis=10
mfcr2_category=national_subscriber
mfcr2_mfback_timeout=5000
mfcr2_metering_pulse_timeout=-1
mfcr2_logdir=log
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_call_files=yes
callerid=8726363
Esta toda la configuracion que le tengo al servidor si alquien me puede ayudar de antemano muchas gracas.
Tengo un pbx con Elastix 2.3.0. instalado. Instale una tarjeta de Digium para un E1 con Telefonica Colombia.
El problema es que ellos entregan el E1 Fraccionado 15 canales entrantes y 15 canales salientes, Las entrantes funcionan bien pero las salientes no funcionan ya que el provedor me informa que solo envio 4 digitos del ANI y el requiere ver los 7 Digitos del numero del PBX.
Aqui les dejo la configuracion que tengo gracias.
===================================/etc/dahdi/system.conf===================================
# Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER)
span=1,1,0,cas,hdb3
echocanceller=mg2,1-15,17-31
# termtype: te
cas=1-15:1101
dchan=16
cas=17-31:1101
# Global data
loadzone = us
defaultzone = us
=================================/etc/asterisk/chan_dahdi.conf================================
[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=both
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
relaxdtmf=yes
resetinterval=never
signalling=mfcr2
mfcr2_variant=itu
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=10
mfcr2_category=national_subscriber
mfcr2_mfback_timeout=5000
mfcr2_metering_pulse_timeout=-1
; this is for debugging purposes
mfcr2_logdir=log
mfcr2_logging=all
; end debugging configuration
context=from-pstn
group=1
restrictcid=yes
hidecallerid=no
channel => 1-15
channel => 17-31
;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
===================================vim /etc/asterisk/dahdi-channels.conf==========================
; Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63
;; los primeros 15 canales del E1 disponibles para el grupo 1
context=from-pstn
group=1
channel => 1-15
signalling=mfcr2
mfcr2_variant=itu
mfcr2_dtmf_detection=1
mfcr2_dtmf_dialing=1
mfcr2_get_ani_first=yes
mfcr2_immediate_accept=yes
mfcr2_max_ani=20
mfcr2_max_dnis=10
mfcr2_category=national_subscriber
mfcr2_mfback_timeout=5000
mfcr2_metering_pulse_timeout=-1
mfcr2_logdir=log
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_call_files=yes
callerid=8726363
;; Y los siguientes 15 canales del E1 disponibles para el grupo 2
context=from-pstn
group=2
channel => 17-31
signalling=mfcr2
mfcr2_variant=itu
mfcr2_dtmf_detection=1
mfcr2_dtmf_dialing=1
mfcr2_get_ani_first=yes
mfcr2_immediate_accept=yes
mfcr2_max_ani=20
mfcr2_max_dnis=10
mfcr2_category=national_subscriber
mfcr2_mfback_timeout=5000
mfcr2_metering_pulse_timeout=-1
mfcr2_logdir=log
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_call_files=yes
callerid=8726363
Esta toda la configuracion que le tengo al servidor si alquien me puede ayudar de antemano muchas gracas.
Comentario