[asterisk-r2] problemas DTMF R2

Yuliesky Bello yulitico at gmail.com
Tue May 22 13:24:18 CDT 2012


Buen día:

Estoy configurando un enlace E1 con CANTV - Venezuela, a continuacion
la informacion de los componentes de software instalados:

OpenR2 version: 1.3.2
DAHDI Version: 2.6.1
Asterisk 10.4.0
Tarjeta:  pci:0000:30:00.0     wct4xxp+     d161:0210 Wildcard TE210P (4th Gen)

Cantv me entrega 1 E1 fraccionado, 1-15 entrantes, 17-31 salientes

A continuación la configuración de los ficheros

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=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1

;Uncomment these lines if you have problems with the disconection of
your analog lines
;busydetect=yes
;busycount=3


immediate=yes

#include dahdi-channels.conf
#include chan_dahdi_additional.conf

Dahdi_channel.conf

; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/ ClockSource
group=1
context=from-pstn
signalling=mfcr2
mfcr2_variant=ve
mfcr2_get_ani_first=yes
mfcr2_immediate_accept=no
mfcr2_max_ani=10
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=cantv
mfcr2_logging=all
channel => 1-15
;CANTV ENTRANTE GRUPO1


group=2
context=from-pstn
signalling=mfcr2
mfcr2_variant=ve
mfcr2_dtmf_detection=1
mfcr2_dtmf_dialing=1
mfcr2_get_ani_first=yes
mfcr2_immediate_accept=yes
mfcr2_category=national_subscriber
mfcr2_logdir=cantv
mfcr2_logging=all
mfcr2_mfback_timeout=-1
channel => 17-31

System.conf

# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/ ClockSource
span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
echocanceller=mg2,1-15,17-131

# Global data

loadzone    = ve
defaultzone    = ve

El problema esta que cuando coloco el E1 y ejecuto los siguientes
comandos dentro del CLI de asterisk arroja que los comandos no son
encontrados

mfcr2 show channels

dahdi show channels

Esto se debe a que el modulo chan_dahdi.so no esta cargado, entonces
ejecuto module load chan_dahdi.so y me arroja el siguiente error

Unable to load module chan_dahdi.so
Command 'module load chan_dahdi.so' failed.
  == Registered application 'DAHDISendKeypadFacility'
  == Registered application 'DAHDISendCallreroutingFacility'
  == Parsing '/etc/asterisk/chan_dahdi.conf':   == Found
  == Parsing '/etc/asterisk/dahdi-channels.conf':   == Found
  == Parsing '/etc/asterisk/chan_dahdi_additional.conf':   == Found
  == Parsing '/etc/asterisk/users.conf':   == Found
[2012-05-22 13:50:07] WARNING[21074]: chan_dahdi.c:4345 dahdi_open:
Unable to specify channel 1: Invalid argument
[2012-05-22 13:50:07] ERROR[21074]: chan_dahdi.c:12383 mkintf: Unable
to open channel 1: Invalid argument
here = 0, tmp->channel = 1, channel = 1
[2012-05-22 13:50:07] ERROR[21074]: chan_dahdi.c:16955 build_channels:
Unable to register channel '1-15'

Saludos



More information about the asterisk-r2 mailing list