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

Ettore Pelliccioni ettore.pelliccioni at techniclite.com
Thu Aug 11 12:02:47 CDT 2011


Hola,

He instalados varios equipos Astribank, y actualmente funcionan muy bien.

En cuanto al modelo que mencionas, debes verificar con el vendedor que
sea para R2, (en xorcom diferencian si los modulos E1 soportan  PRI o
R2) Ojo con eso.

Primero que todo, debes instalar los ultimos drivers de dahdi, estan
en el repositorio beta de elastix. (cuidado cuando hagas upgrade, si
no tienes experiencia utiliza otro equipo para probar, porque puedes
descuadrar el Centos) si te sientes mas comodo baja el fuente y
compilalo.

Segundo, no modifiques el xpp.conf, el que viene funciona. Creo que el
Opermode no existe para Venezuela.

por lo demas, se comporta como el resto de las tarjetas  E1, el
soporte de DAHDI es igual, asi como el del comando r2test.


En todo caso, Si te encuentras en caracas, y requieren de soporte
contratado, puedes visitar nuestra empresa
http://tienda.techniclite.com ofrecemos algunos cursos y horas de
soporte de 1er y 2do nivel.

Suerte.


2011/8/11 Duilmer Camacho <dcamacho at wtfe.com>:
> 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
>
> --
> _____________________________________________________________________
> -- 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
>



-- 

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.



More information about the asterisk-r2 mailing list