[asterisk-r2] Problema configurar un Xorcom Astribank X0111 con 8 E1 con mfcr2

Duilmer Camacho dcamacho at wtfe.com
Thu Aug 11 11:22:11 CDT 2011


Estimados Sres.

 

Tengo problema al configurar un Xorcom Astribank X0111 con 8 E1.

 

Cuando hago el test de prueba de openr2 con dos E1 del mismo equipo tengo
problemas de protocolo.  Es primera vez que configuro un Astribank.

 

Los canales levantan y se ven bien en dahdi_tool pero al momento de realizar
una llamada da error de protocolo. Lo que yo veo es que la llamada entra por
varios canales del E1 entrante. 

 

 

Elastix 1.6.2-33

dahdi-2.3.0.1-3

dahdi-devel-2.3.0.1-3

kernel-module-dahdi-2.3.0.1-3_2.6.18_194.3.1.el5

libopenr2-devel-1.3.0-0

 

Anexo los archivos de configuración

 

Gracias

Duilmer Camacho

mail:dcamacho at wtfe.com

 

###############################################

 

----Outbound call -----

[root at ELASTIX2 etc]# r2test -c r2test_out.conf 

found category = NATIONAL_SUBSCRIBER

found Log Level = all,error,warning,debug,notice,cas,mf,stack

found option callfiles=no

found R2 variant = VE

found MAX ANI= 10

found MAX DNIS= 4

found option Get ANI First = no

found option Use DAHDI MF = no

found option MF threshold = 0

found option MF backward timeout = -1

found option meteringpulsetimeout=-1

found option collectcalls=yes

found option chargecalls=yes

found option doubleanswer=no

found option immediateaccept=no

found option skipcategory=yes

found DNID = 9876

found CID = 02129077313

found channel range = 32-32

Spawned 0 listener threads, waiting for them to be ready ...

Spawned 1 calling threads, waiting for all threads ... 

[07:16:091][CAS TRACE] Channel 32 -- CAS Tx >> [IDLE] 0x08

[07:16:091][CAS TRACE] Channel 32 -- CAS Raw Tx >> 0x09

[07:16:091][DEBUG] Channel 32 -- Bits changed from 0x00 to 0x08

[07:16:091][CAS TRACE] Channel 32 -- CAS Rx << [IDLE] 0x08

USER: far end unblocked on chan 32

USER: making call on chan 32. DNID = 9876, CID = 02129077313, CPC = National
Subscriber

[07:16:091][DEBUG] Channel 32 -- Requested to make call (ANI=02129077313,
DNIS=9876, category=National Subscriber)

[07:16:091][DEBUG] Channel 32 -- Outgoing call proceeding: ANI=02129077313,
DNIS=9876, Category=National Subscriber

[07:16:091][CAS TRACE] Channel 32 -- CAS Tx >> [SEIZE] 0x00

[07:16:091][CAS TRACE] Channel 32 -- CAS Raw Tx >> 0x01

[07:16:110][DEBUG] Channel 32 -- Bits changed from 0x08 to 0x0C

[07:16:110][CAS TRACE] Channel 32 -- CAS Rx << [SEIZE ACK] 0x0C

[07:16:111][DEBUG] Channel 32 -- MFC/R2 call acknowledge!

[07:16:111][DEBUG] Channel 32 -- Sending DNIS digit 9

[07:16:111][MF TRACE] Channel 32 -- MF Tx >> 9 [ON]

 

 

#######################

----inbound call -----

 

found category = NATIONAL_SUBSCRIBER

found Log Level = all,error,warning,debug,notice,cas,mf,stack

found option callfiles=no

found R2 variant = VE

found MAX ANI= 10

found MAX DNIS= 4

found option Get ANI First = no

found option Use DAHDI MF = no

found option MF threshold = 0

found option MF backward timeout = -1

found option meteringpulsetimeout=-1

found option collectcalls=yes

found option chargecalls=yes

found option doubleanswer=no

found option immediateaccept=no

found option skipcategory=yes

found channel range = 1-15

found channel range = 17-31

found DNID = 9876

found CID = 02129077313

 

 

 

[07:16:095][DEBUG] Channel 13 -- [07:16:095][DEBUG] Channel 15 -- Bits
changed from 0x08 to 0x00

[07:16:095][CAS TRACE] Channel 15 -- CAS Rx << [SEIZE] 0x00

[07:16:095][DEBUG] Channel 15 -- Initialized R2 MF detector

[07:16:095][CAS TRACE] Channel 15 -- CAS Tx >> [SEIZE ACK] 0x0C

[07:16:095][CAS TRACE] Channel 15 -- CAS Raw Tx >> 0x0D

USER: new call detected on chan 15

Bits changed from 0x08 to 0x00

[07:16:095][CAS TRACE] Channel 13 -- CAS Rx << [SEIZE] 0x00

[07:16:095][DEBUG] Channel 13 -- Initialized R2 MF detector

[07:16:095][CAS TRACE] Channel 13 -- CAS Tx >> [SEIZE ACK] 0x0C

[07:16:095][CAS TRACE] Channel 13 -- CAS Raw Tx >> 0x0D

USER: new call detected on chan 13

[07:16:097][DEBUG] Channel 5 -- Bits changed from 0x08 to 0x00

[07:16:097][CAS TRACE] Channel 5 -- CAS Rx << [SEIZE] 0x00

[07:16:097][DEBUG] Channel 3 -- [07:16:097][DEBUG] Channel 5 -- Initialized
R2 MF detector

[07:16:097][CAS TRACE] Channel 5 -- CAS Tx >> [SEIZE ACK] 0x0C

[07:16:097][DEBUG] Channel 7 -- Bits changed from 0x08 to 0x00

[07:16:097][CAS TRACE] Channel 7 -- CAS Rx << [SEIZE] 0x00

[07:16:097][DEBUG] Channel 7 -- Initialized R2 MF detector

[07:16:097][CAS TRACE] Channel 7 -- CAS Tx >> [SEIZE ACK] 0x0C

[07:16:097][CAS TRACE] Channel 5 -- CAS Raw Tx >> 0x0D

USER: new call detected on chan 5

[07:16:097][CAS TRACE] Channel 7 -- CAS Raw Tx >> 0x0D

USER: new call detected on chan 7

[07:16:097][DEBUG] Channel 9 -- Bits changed from 0x08 to 0x00

[07:16:097][CAS TRACE] Channel 9 -- CAS Rx << [SEIZE] 0x00

[07:16:097][DEBUG] Channel 9 -- Initialized R2 MF detector

[07:16:097][DEBUG] Channel 11 -- Bits changed from 0x08 to 0x00

[07:16:097][CAS TRACE] Channel 11 -- CAS Rx << [SEIZE] 0x00

[07:16:097][DEBUG] Channel 11 -- Initialized R2 MF detector

[07:16:097][CAS TRACE] Channel 9 -- CAS Tx >> [SEIZE ACK] 0x0C

[07:16:097][CAS TRACE] Channel 9 -- CAS Raw Tx >> 0x0D

USER: new call detected on chan 9

[07:16:097][CAS TRACE] Channel 11 -- CAS Tx >> [SEIZE ACK] 0x0C

[07:16:097][CAS TRACE] Channel 11 -- CAS Raw Tx >> 0x0D

USER: new call detected on chan 11

[07:16:097][DEBUG] Channel 1 -- Bits changed from 0x08 to 0x00

[07:16:097][CAS TRACE] Channel 1 -- CAS Rx << [SEIZE] 0x00

[07:16:097][DEBUG] Channel 1 -- Initialized R2 MF detector

[07:16:097][CAS TRACE] Channel 1 -- CAS Tx >> [SEIZE ACK] 0x0C

[07:16:097][CAS TRACE] Channel 1 -- CAS Raw Tx >> 0x0D

USER: new call detected on chan 1

Bits changed from 0x08 to 0x00

[07:16:097][CAS TRACE] Channel 3 -- CAS Rx << [SEIZE] 0x00

[07:16:097][DEBUG] Channel 3 -- Initialized R2 MF detector

[07:16:097][CAS TRACE] Channel 3 -- CAS Tx >> [SEIZE ACK] 0x0C

[07:16:097][CAS TRACE] Channel 3 -- CAS Raw Tx >> 0x0D

USER: new call detected on chan 3

 

 

#####################

system.conf

 

span=1,1,0,cas,hdb3

# termtype: te

cas=1-15,17-31:1001

#dchan=16

echocanceller=oslec,1-15,17-31

 

# Span 2: XBUS-00/XPD-01 "Xorcom XPD #00/01: E1" HDB3/ RED

span=2,2,0,cas,hdb3

# termtype: te

cas=32-46,48-62:1001

#dchan=47

echocanceller=oslec,32-46,48-62

 

# Span 3: XBUS-00/XPD-02 "Xorcom XPD #00/02: E1" HDB3/ RED

span=3,3,0,cas,hdb3

# termtype: te

cas=63-77,79-93:1001

#dchan=78

echocanceller=oslec,63-77,79-93

 

# Span 4: XBUS-00/XPD-03 "Xorcom XPD #00/03: E1" HDB3/ RED

span=4,4,0,cas,hdb3

# termtype: te

cas=94-108,110-124:1001

#dchan=109

echocanceller=oslec,94-108,110-124

 

# Global data

 

loadzone    = ve

defaultzone = ve

 

 

#####################

chan-dahdi.conf

 

group=0,11

context=from-pstn

switchtype = euroisdn

signalling = mfcr2

caller = no

mfcr2_logdir = span1

mfcr2_variant=ve

mfcr2_get_ani_first=no

mfcr2_max_ani=10

mfcr2_max_dnis=4

mfcr2_category=national_subscriber

mfcr2_call_files=yes

mfcr2_logging=all

mfcr2_mfback_timeout=-1

mfcr2_metering_pulse_timeout=-1

channel => 1-15,17-31

context = default

group = 63

 

; Span 2: XBUS-00/XPD-01 "Xorcom XPD #00/01: E1" HDB3/ RED

group=0,12

context=from-pstn

switchtype = euroisdn

signalling = mfcr2

caller = no

mfcr2_logdir = span2

mfcr2_variant=ve

mfcr2_get_ani_first=no

mfcr2_max_ani=10

mfcr2_max_dnis=4

mfcr2_category=national_subscriber

mfcr2_call_files=yes

mfcr2_logging=all

mfcr2_mfback_timeout=-1

mfcr2_metering_pulse_timeout=-1

channel => 32-46,48-62

context = default

group = 63

 

############################

 

 

Xpp.conf

 

# /etc/dahdi/xpp.conf

#

# This file is used to configure the operation

# of init_card_* initialization scripts.

#

 

# pri_protocol: is an XPP PRI device E1 (default) or T1?

#pri_protocol   E1

pri_protocol E1

#

# Alternatively you can set this on a port by port basis if you have a
strange

# setup where some of the ports are E1 and some are T1. These specific

# settings will override the default set above.

#pri_protocol/xbus-00/xpd-02    T1

#pri_protocol/connector:usb-0000:00:1d.7-7/xpd-03       T1

#pri_protocol/label:usb:0000183/xpd-03  T1

 

# International settings for the XPP FXO module. This is similar to the 

# 'opermode' kernel module of wctdm and wctdm24xxp . The default value

# is 'FCC' (US settings).

#

# The valid settings can be shown by running the init_card_2_30 script with

# the '-L' option. For example:

# /usr/share/dahdi/init_card_2_30 -L

#

#opermode       UK

opermode        VE

 

# Set this to enable debug mode for the scripts:

#debug          1

debug   1

# 

# Skip the long calibration of the FXS modules. This saves time, but

# makes the units consume much more power and hence highly unreocmmended

# and unsupported.

#fxs_skip_calib 1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20110811/546bef77/attachment-0001.htm>


More information about the asterisk-r2 mailing list