[asterisk-r2] problemas DTMF R2

Ettore Pelliccioni ettore.pelliccioni at techniclite.com
Tue May 22 13:36:42 CDT 2012


Hola Yuliesky

Cuando ejecutas como root un dahdi_tool ves al E1 sincronizado?

Que distribucion o linux estas utilizando?

Alguna vez vi algo parecido y era que la version de los modulos no correpondia al kernel, y daba error cuando el dahdi trataba de iniciarse, y por supuesto asterisk no muestra los comandos mfcr2, ni siquiera con un help.

Saludos,


Atentamente,
Ing. Ettore Eliseo Pelliccioni Monrroy 

Tlf.:+58.212.7626555
Móvil:+58.414.1111330
Skype:ettore.pelliccioni
eMail/msn: ettore.pelliccioni at techniclite.com
Web site: www.techniclite.com


This message may contain confidential information or privileged material, and is intended only for the individual(s) named. If you are not in the named address you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.  

-----Original Message-----
From: Yuliesky Bello <yulitico at gmail.com>
Sender: asterisk-r2-bounces at lists.digium.com
Date: Tue, 22 May 2012 13:54:18 
To: <asterisk-r2 at lists.digium.com>
Reply-To: asterisk-r2 at lists.digium.com
Subject: [asterisk-r2] problemas DTMF R2

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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-r2 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-r2


More information about the asterisk-r2 mailing list