[asterisk-r2] Openr2 Megared Mexico

alberto topp alberto_topp at yahoo.com.ar
Wed Feb 6 08:04:33 CST 2013


Hola Carlos, el log muestra que no estas recibiendo la señal SEIZURE ACKNOWLEDGE de Megared.
El timer en espera de este acknowledge esta configurado en 8 segundos y muy generoso para que puedas recibirlo sin problemas.
El enlace es por radio (delay?).
Puede ser que haya algo erroneo a nivel fisico con el vinculo E1. Chequear si el E1 no esta cruzado contra otro E1 en el repartidor lado central.
 
Saludos Alberto

--- El mié 6-feb-13, carlos Penaloza <jpenaloza.contreras at gmail.com> escribió:


De: carlos Penaloza <jpenaloza.contreras at gmail.com>
Asunto: [asterisk-r2] Openr2 Megared Mexico
Para: asterisk-r2 at lists.digium.com
Fecha: miércoles, 6 de febrero de 2013, 1:42







Amigos, alguien a configurado alguna vez un E1 R2 con (megared, cablemas) en mexico? he configurado sin problemas con Telmex, Alestra, Iusacell todo funciona, el detalle se presenta con Megared el E1 si levanta no tengo alarmas los canales esta disponibles pero no puedo realizar ni recibir llamadas, mis versiones son elastix 2.3, tarjeta E1 Sangoma A101


se realizaron unas pruebas con un emulador R2 que manejan los carrier y funciona el E1 sin problemas entrantes / salientes, tambien se realizaron las pruebas conectando el emulador R2 como master hacia la tarjeta A101 en slave y tambien funciona a la perfeccion el problema se presenta conectandolo directamente hacia el carrier.


les comparto un log de la llamada y mis configuraciones alguna sugerencia es bienvenida. 


[18:08:28:060] [Thread: 1113471296] [Chan 1] - Call started at Tue Feb  5 18:08:28 2013 on chan 1 [openr2 version 1.3.1, revision exported]
[18:08:28:060] [Thread: 1113471296] [Chan 1] - Outgoing call proceeding: ANI=1000, DNIS=018183495821, Category=National Subscriber
[18:08:28:060] [Thread: 1113471296] [Chan 1] - CAS Tx >> [SEIZE] 0x00
[18:08:28:060] [Thread: 1113471296] [Chan 1] - CAS Raw Tx >> 0x01
[18:08:28:060] [Thread: 1113471296] [Chan 1] - scheduled timer id 2 (r2_seize)
[18:08:36:059] [Thread: 1113471296] [Chan 1] - Attempting to cancel timer timer 2
[18:08:36:059] [Thread: 1113471296] [Chan 1] - timer id 2 found, cancelling it now
[18:08:36:059] [Thread: 1113471296] [Chan 1] - calling timer 2 (r2_seize) callback
[18:08:36:059] [Thread: 1113471296] [Chan 1] - Seize Timeout Expired!
[18:08:36:059] [Thread: 1113471296] [Chan 1] - Protocol error. Reason = Seize Timeout, R2 State = Seize Transmitted, MF state = MF Engine Off, MF Group = Forward MF init, CAS = 0x08
DNIS = 0458116362645, ANI = 1000, MF = 0x20
[18:08:36:059] [Thread: 1113471296] [Chan 1] - Attempting to cancel timer timer 0
[18:08:36:059] [Thread: 1113471296] [Chan 1] - Cannot cancel timer 0
comparto mis configuraciones.

============> /etc/dahdi/system.conf


loadzone=mx
defaultzone=mx

span=1,1,0,cas,hdb3
cas=1-15:1101
bchan=16
cas=17-21:1101

============> /etc/wanpipe/wanpipe1.conf

[devices]
wanpipe1 = WAN_AFT_TE1, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]
CARD_TYPE       = AFT
S514CPU         = A
CommPort        = PRI
AUTO_PCISLOT    = NO
PCISLOT         = 4
PCIBUS          = 6
FE_MEDIA        = E1
FE_LCODE        = HDB3
FE_FRAME        = NCRC4
FE_LINE         = 1
TE_CLOCK        = NORMAL
TE_REF_CLOCK    = 0
TE_SIG_MODE     = CAS
TE_HIGHIMPEDANCE        = NO
TE_RX_SLEVEL    = 430
HW_RJ45_PORT_MAP = DEFAULT
LBO             = 120OH
FE_TXTRISTATE   = NO
MTU             = 1500
UDPPORT         = 9000
TTL             = 255
IGNORE_FRONT_END        = NO
TDMV_SPAN               = 1
TDMV_DCHAN              = 16
TE_AIS_MAINTENANCE = NO         #NO: defualt  YES: Start port in AIS Blue Alarm and keep line down
                                #wanpipemon -i w1g1 -c Ttx_ais_off to disable AIS maintenance mode
                                                                #wanpipemon -i w1g1 -c Ttx_ais_on to enable AIS maintenance mode  
TDMV_HW_DTMF            = YES           # YES: receive dtmf events from hardware
TDMV_HW_FAX_DETECT              = YES           # YES: receive fax 1100hz events from hardware
HWEC_OPERATION_MODE     = OCT_NORMAL    # OCT_NORMAL: echo cancelation enabled with nlp (default) 
                                                                                # OCT_SPEECH: improves software tone detection by disabling NLP (echo possible)
                                                                                # OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions. 
HWEC_DTMF_REMOVAL       = NO    # NO: default  YES: remove dtmf out of incoming media (must have hwdtmf enabled)
HWEC_NOISE_REDUCTION    = NO    # NO: default  YES: reduces noise on the line - could break fax
HWEC_ACUSTIC_ECHO       = NO    # NO: default  YES: enables acustic echo cancelation
HWEC_NLP_DISABLE        = NO    # NO: default  YES: guarantees software tone detection (possible echo)   
HWEC_TX_AUTO_GAIN       = 0     # 0: disable   -40-0: default tx audio level to be maintained (-20 default)
HWEC_RX_AUTO_GAIN       = 0     # 0: disable   -40-0: default tx audio level to be maintained (-20 default)  
HWEC_TX_GAIN            = 0             # 0: disable   -24-24: db values to be applied to tx signal
HWEC_RX_GAIN            = 0             # 0: disable   -24-24: db values to be applied to tx signal

[w1g1]
ACTIVE_CH       = ALL
TDMV_HWEC       = YES
MTU             = 8


======================> /etc/asterisk/chan_dahdi.conf

[channels]
language=es
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
busydetect=yes
busycount=3



;;;;; Configuracion para E1 Metrored ;;;;;;
group=0
context=from-pstn
signalling=mfcr2
mfcr2_variant=mx
mfcr2_get_ani_first=no
mfcr2_max_ani=10
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_call_files=yes
mfcr2_logdir=span1
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
channel => 1-15,17-21

-----Adjunto en línea a continuación-----


--
_____________________________________________________________________
-- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20130206/7ee8b2db/attachment-0001.htm>


More information about the asterisk-r2 mailing list