[asterisk-r2] Update desde 1.4 a 1.8 con R2 y con problemas luego de actualizar.
Maxi
mgoldsmid at gmail.com
Mon Mar 28 14:47:22 CDT 2011
Hola,
Tengo un Asterisk con version 1.4.18, con algunos problemas en la
trama, de tanto en tanto se desconectaba y se cortaban los llamados,
por lo que decidi hacer un upgrade a la ultima version de Asterisk
Baje y compile:
dahdi-linux-complete-2.4.1+2.4.1.tar.gz
asterisk-1.8.3.2.tar.gz
Configure:
more /etc/dahdi/system.conf
span=1,0,0,cas,hdb3
cas=1-15,17-31:1101
echocanceller=mg2,1-15,17-31
loadzone=ar
defaultzone=ar
dahdi_cfg -v
DAHDI Tools Version - 2.4.1
DAHDI Version: 2.4.1
Echo Canceller(s): MG2
Configuration
======================
SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
30 channels to configure.
Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
Setting echocan for channel 5 to mg2
Setting echocan for channel 6 to mg2
Setting echocan for channel 7 to mg2
Setting echocan for channel 8 to mg2
Setting echocan for channel 9 to mg2
Setting echocan for channel 10 to mg2
Setting echocan for channel 11 to mg2
Setting echocan for channel 12 to mg2
Setting echocan for channel 13 to mg2
Setting echocan for channel 14 to mg2
Setting echocan for channel 15 to mg2
Setting echocan for channel 17 to mg2
Setting echocan for channel 18 to mg2
Setting echocan for channel 19 to mg2
Setting echocan for channel 20 to mg2
Setting echocan for channel 21 to mg2
Setting echocan for channel 22 to mg2
Setting echocan for channel 23 to mg2
Setting echocan for channel 24 to mg2
Setting echocan for channel 25 to mg2
Setting echocan for channel 26 to mg2
Setting echocan for channel 27 to mg2
Setting echocan for channel 28 to mg2
Setting echocan for channel 29 to mg2
Setting echocan for channel 30 to mg2
Setting echocan for channel 31 to mg2
Si lo configuro colocando dchan=16 me devuelve....
dahdi_cfg -v
DAHDI Tools Version - 2.4.1
DAHDI Version: 2.4.1
Echo Canceller(s): MG2
Configuration
======================
SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
31 channels to configure.
Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
Setting echocan for channel 5 to mg2
Setting echocan for channel 6 to mg2
Setting echocan for channel 7 to mg2
Setting echocan for channel 8 to mg2
Setting echocan for channel 9 to mg2
Setting echocan for channel 10 to mg2
Setting echocan for channel 11 to mg2
Setting echocan for channel 12 to mg2
Setting echocan for channel 13 to mg2
Setting echocan for channel 14 to mg2
Setting echocan for channel 15 to mg2
DAHDI_CHANCONFIG failed on channel 16: Invalid argument (22)
Selected signaling not supported
Possible causes:
dchan is being used on a BRI span (use hardhdlc)
Signaling is being assigned to channel 16 of an E1 CAS span
Por lo que lo deje son el dchan
Luego:
more chan_dahdi.conf
[channels]
echocanceller=yes
echocancelwhenbridged=yes
context=entrantes-pstn
callgroup=1
pickupgroup=1
signalling=mfcr2
mfcr2_variant=ar
mfcr2_max_ani=10
mfcr2_max_dnis=14
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_call_files=yes
mfcr2_logging=all
channel => 1-15
channel => 17-31
Y cuando inicio Asterisk obtengo lo siguiente:
[Mar 28 16:46:45] ERROR[4849]: chan_dahdi.c:3983 dahdi_r2_write_log:
Context - Failed to get channel number from descriptor 9
(Inappropriate ioctl for device)
[Mar 28 16:46:45] ERROR[4849]: chan_dahdi.c:12074 mkintf: Cannot
create OpenR2 channel: System call failed
[Mar 28 16:46:45] ERROR[4849]: chan_dahdi.c:16320 build_channels:
Unable to register channel '1-15'
Que puede estar pasando? si alguien me puede dar una mano.
Gracias.
Maxi.
More information about the asterisk-r2
mailing list