[asterisk-r2] problemas con R2 con central NEC
Claudio Tajtelbaum
ctajtelbaum at tvpublica.com.ar
Tue Sep 3 19:02:48 CDT 2013
y cual numero marcaste o deberia haber recibido la central?
2013/9/3 Marcelo Eduardo <marceloeduardo12345678 at hotmail.com>
> Lo hice tal cual y no modifica el funcionamiento.
> Con treshold de 90, 120 o 40 me falla 3 o 4 veces de 30 indistintamente.
> Adjunto el log de un fallo.
> Gracias!
>
>
> [16:08:54:266] [Thread: 142183312] [Chan 60] - Call started at Tue Sep 3
> 16:08:54 2013 on chan 60 [openr2 version 1.3.1, revision exported]
> [16:08:54:266] [Thread: 142183312] [Chan 60] - Initialized R2 MF detector
> [16:08:54:266] [Thread: 142183312] [Chan 60] - CAS Tx >> [SEIZE ACK] 0x0C
> [16:08:54:266] [Thread: 142183312] [Chan 60] - CAS Raw Tx >> 0x0D
> [16:08:54:794] [Thread: 142183312] [Chan 60] - MF Rx << 5 [ON]
> [16:08:54:794] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 0
> [16:08:54:794] [Thread: 142183312] [Chan 60] - Cannot cancel timer 0
> [16:08:54:794] [Thread: 142183312] [Chan 60] - Getting DNIS digit 5
> [16:08:54:794] [Thread: 142183312] [Chan 60] - DNIS so far: 5, expected
> length: 4
> [16:08:54:794] [Thread: 142183312] [Chan 60] - Requesting next DNIS with
> signal 0x31.
> [16:08:54:794] [Thread: 142183312] [Chan 60] - MF Tx >> 1 [ON]
> [16:08:54:794] [Thread: 142183312] [Chan 60] - scheduled timer id 2
> (mf_back_cycle)
> [16:08:54:874] [Thread: 142183312] [Chan 60] - MF Rx << 5 [OFF]
> [16:08:54:874] [Thread: 142183312] [Chan 60] - MF Tx >> 1 [OFF]
> [16:08:54:974] [Thread: 142183312] [Chan 60] - MF Rx << 2 [ON]
> [16:08:54:974] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 2
> [16:08:54:974] [Thread: 142183312] [Chan 60] - timer id 2 found,
> cancelling it now
> [16:08:54:974] [Thread: 142183312] [Chan 60] - Getting DNIS digit 2
> [16:08:54:974] [Thread: 142183312] [Chan 60] - DNIS so far: 52, expected
> length: 4
> [16:08:54:974] [Thread: 142183312] [Chan 60] - Requesting next DNIS with
> signal 0x31.
> [16:08:54:974] [Thread: 142183312] [Chan 60] - MF Tx >> 1 [ON]
> [16:08:54:974] [Thread: 142183312] [Chan 60] - scheduled timer id 3
> (mf_back_cycle)
> [16:08:55:014] [Thread: 142183312] [Chan 60] - MF Rx << 2 [OFF]
> [16:08:55:014] [Thread: 142183312] [Chan 60] - MF Tx >> 1 [OFF]
> [16:08:55:034] [Thread: 142183312] [Chan 60] - MF Rx << 2 [ON]
> [16:08:55:034] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 3
> [16:08:55:034] [Thread: 142183312] [Chan 60] - timer id 3 found,
> cancelling it now
> [16:08:55:034] [Thread: 142183312] [Chan 60] - Getting DNIS digit 2
> [16:08:55:034] [Thread: 142183312] [Chan 60] - DNIS so far: 522, expected
> length: 4
> [16:08:55:034] [Thread: 142183312] [Chan 60] - Requesting next DNIS with
> signal 0x31.
> [16:08:55:034] [Thread: 142183312] [Chan 60] - MF Tx >> 1 [ON]
> [16:08:55:034] [Thread: 142183312] [Chan 60] - scheduled timer id 4
> (mf_back_cycle)
> [16:08:55:054] [Thread: 142183312] [Chan 60] - MF Rx << 2 [OFF]
> [16:08:55:054] [Thread: 142183312] [Chan 60] - MF Tx >> 1 [OFF]
> [16:08:55:154] [Thread: 142183312] [Chan 60] - MF Rx << 8 [ON]
> [16:08:55:154] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 4
> [16:08:55:154] [Thread: 142183312] [Chan 60] - timer id 4 found,
> cancelling it now
> [16:08:55:154] [Thread: 142183312] [Chan 60] - Getting DNIS digit 8
> [16:08:55:154] [Thread: 142183312] [Chan 60] - DNIS so far: 5228, expected
> length: 4
> [16:08:55:154] [Thread: 142183312] [Chan 60] - Done getting DNIS!
> [16:08:55:154] [Thread: 142183312] [Chan 60] - MF Tx >> 5 [ON]
> [16:08:55:154] [Thread: 142183312] [Chan 60] - scheduled timer id 5
> (mf_back_cycle)
> [16:08:55:253] [Thread: 142183312] [Chan 60] - MF Rx << 8 [OFF]
> [16:08:55:253] [Thread: 142183312] [Chan 60] - MF Tx >> 5 [OFF]
> [16:08:55:353] [Thread: 142183312] [Chan 60] - MF Rx << 1 [ON]
> [16:08:55:353] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 5
> [16:08:55:354] [Thread: 142183312] [Chan 60] - timer id 5 found,
> cancelling it now
> [16:08:55:354] [Thread: 142183312] [Chan 60] - MF Tx >> 5 [ON]
> [16:08:55:354] [Thread: 142183312] [Chan 60] - scheduled timer id 6
> (mf_back_cycle)
> [16:08:55:453] [Thread: 142183312] [Chan 60] - MF Rx << 1 [OFF]
> [16:08:55:453] [Thread: 142183312] [Chan 60] - MF Tx >> 5 [OFF]
> [16:08:55:553] [Thread: 142183312] [Chan 60] - MF Rx << 2 [ON]
> [16:08:55:553] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 6
> [16:08:55:553] [Thread: 142183312] [Chan 60] - timer id 6 found,
> cancelling it now
> [16:08:55:553] [Thread: 142183312] [Chan 60] - Getting ANI digit 2
> [16:08:55:553] [Thread: 142183312] [Chan 60] - ANI so far: 2, expected
> length: 10
> [16:08:55:554] [Thread: 142183312] [Chan 60] - MF Tx >> 5 [ON]
> [16:08:55:554] [Thread: 142183312] [Chan 60] - scheduled timer id 7
> (mf_back_cycle)
> [16:08:55:633] [Thread: 142183312] [Chan 60] - MF Rx << 2 [OFF]
> [16:08:55:633] [Thread: 142183312] [Chan 60] - MF Tx >> 5 [OFF]
> [16:08:55:733] [Thread: 142183312] [Chan 60] - MF Rx << 5 [ON]
> [16:08:55:733] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 7
> [16:08:55:733] [Thread: 142183312] [Chan 60] - timer id 7 found,
> cancelling it now
> [16:08:55:733] [Thread: 142183312] [Chan 60] - Getting ANI digit 5
> [16:08:55:734] [Thread: 142183312] [Chan 60] - ANI so far: 25, expected
> length: 10
> [16:08:55:734] [Thread: 142183312] [Chan 60] - MF Tx >> 5 [ON]
> [16:08:55:734] [Thread: 142183312] [Chan 60] - scheduled timer id 8
> (mf_back_cycle)
> [16:08:55:833] [Thread: 142183312] [Chan 60] - MF Rx << 5 [OFF]
> [16:08:55:833] [Thread: 142183312] [Chan 60] - MF Tx >> 5 [OFF]
> [16:08:55:933] [Thread: 142183312] [Chan 60] - MF Rx << 0 [ON]
> [16:08:55:933] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 8
> [16:08:55:933] [Thread: 142183312] [Chan 60] - timer id 8 found,
> cancelling it now
> [16:08:55:933] [Thread: 142183312] [Chan 60] - Getting ANI digit 0
> [16:08:55:934] [Thread: 142183312] [Chan 60] - ANI so far: 250, expected
> length: 10
> [16:08:55:934] [Thread: 142183312] [Chan 60] - MF Tx >> 5 [ON]
> [16:08:55:934] [Thread: 142183312] [Chan 60] - scheduled timer id 9
> (mf_back_cycle)
> [16:08:56:033] [Thread: 142183312] [Chan 60] - MF Rx << 0 [OFF]
> [16:08:56:033] [Thread: 142183312] [Chan 60] - MF Tx >> 5 [OFF]
> [16:08:56:133] [Thread: 142183312] [Chan 60] - MF Rx << 0 [ON]
> [16:08:56:133] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 9
> [16:08:56:133] [Thread: 142183312] [Chan 60] - timer id 9 found,
> cancelling it now
> [16:08:56:133] [Thread: 142183312] [Chan 60] - Getting ANI digit 0
> [16:08:56:133] [Thread: 142183312] [Chan 60] - ANI so far: 2500, expected
> length: 10
> [16:08:56:133] [Thread: 142183312] [Chan 60] - MF Tx >> 5 [ON]
> [16:08:56:134] [Thread: 142183312] [Chan 60] - scheduled timer id 10
> (mf_back_cycle)
> [16:08:56:213] [Thread: 142183312] [Chan 60] - MF Rx << 0 [OFF]
> [16:08:56:213] [Thread: 142183312] [Chan 60] - MF Tx >> 5 [OFF]
> [16:08:56:333] [Thread: 142183312] [Chan 60] - MF Rx << F [ON]
> [16:08:56:333] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 10
> [16:08:56:333] [Thread: 142183312] [Chan 60] - timer id 10 found,
> cancelling it now
> [16:08:56:333] [Thread: 142183312] [Chan 60] - Got end of ANI
> [16:08:56:333] [Thread: 142183312] [Chan 60] - ANI is restricted
> [16:08:56:333] [Thread: 142183312] [Chan 60] - Requesting change to Group
> II with signal 0x33
> [16:08:56:333] [Thread: 142183312] [Chan 60] - MF Tx >> 3 [ON]
> [16:08:56:333] [Thread: 142183312] [Chan 60] - scheduled timer id 11
> (mf_back_cycle)
> [16:08:56:433] [Thread: 142183312] [Chan 60] - MF Rx << F [OFF]
> [16:08:56:433] [Thread: 142183312] [Chan 60] - MF Tx >> 3 [OFF]
> [16:08:56:534] [Thread: 142183312] [Chan 60] - MF Rx << 1 [ON]
> [16:08:56:534] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 11
> [16:08:56:534] [Thread: 142183312] [Chan 60] - timer id 11 found,
> cancelling it now
> [16:08:56:534] [Thread: 142183312] [Chan 60] - MF Tx >> 6 [ON]
> [16:08:56:534] [Thread: 142183312] [Chan 60] - scheduled timer id 12
> (mf_back_cycle)
> [16:08:56:633] [Thread: 142183312] [Chan 60] - MF Rx << 1 [OFF]
> [16:08:56:633] [Thread: 142183312] [Chan 60] - MF Tx >> 6 [OFF]
> [16:08:56:633] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 12
> [16:08:56:633] [Thread: 142183312] [Chan 60] - timer id 12 found,
> cancelling it now
> [16:08:56:633] [Thread: 142183312] [Chan 60] - scheduled timer id 13
> (r2_answer_delay)
> [16:08:56:793] [Thread: 142183312] [Chan 60] - Attempting to cancel timer
> timer 13
> [16:08:56:793] [Thread: 142183312] [Chan 60] - timer id 13 found,
> cancelling it now
> [16:08:56:793] [Thread: 142183312] [Chan 60] - calling timer 13
> (r2_answer_delay) callback
> [16:09:01:385] [Thread: 143707024] [Chan 60] - Bits changed from 0x00 to
> 0x08
> [16:09:01:385] [Thread: 143707024] [Chan 60] - CAS Rx << [CLEAR FORWARD]
> 0x08
> [16:09:01:385] [Thread: 143707024] [Chan 60] - Far end disconnected.
> Reason: Normal Clearing
> [16:09:01:385] [Thread: 143707024] [Chan 60] - Call ended
> [16:09:01:385] [Thread: 143707024] [Chan 60] - Attempting to cancel timer
> timer 0
> [16:09:01:385] [Thread: 143707024] [Chan 60] - Cannot cancel timer 0
>
>
>
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Mon, 2 Sep 2013 12:23:38 -0500
> > From: Oscar Rocha <orochamty at hotmail.com>
>
> > Subject: Re: [asterisk-r2] problemas con R2 con central NEC
> > To: "asterisk-r2 at lists.digium.com" <asterisk-r2 at lists.digium.com>
> > Message-ID: <BLU180-W321DBAC77A34486D2A68AFB7300 at phx.gbl>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Para el log completo debes tener en la configuraci?n del R2 el par?metro
> "mfcr2_logging=all" (en /etc/asterisk/dahdi-channels.conf o
> /etc/asterisk/chan_dahdi.conf), y en el /etc/openr2/r2proto.conf solo pon
> activado el "mf_threshold=90", los dem?s par?metros b?rralos o com?ntalos,
> no se requieren. En las pruebas que hice posteriores al cambio ya no hab?a
> fallas, funcionaban al 100%. Te adjunto la configuraci?n que funcion? en el
> /etc/asterisk/dahdi-channels.conf :
>
> >
> > language=es
> > group=0
> > context=from-internal
> > signalling=mfcr2
> > mfcr2_logdir=span1
> > mfcr2_variant=mx
> > mfcr2_get_ani_first=no
> > mfcr2_max_ani=20
> > mfcr2_max_dnis=20
> > mfcr2_category=national_subscriber
> > mfcr2_call_files=yes
> > mfcr2_logging=all
> > mfcr2_mfback_timeout=-1
> > mfcr2_advanced_protocol_file=/etc/openr2/r2proto.conf
> > channel => 1-15,17-31
> >
> > Saludos...
> > Oscar Rocha.
> >
> > From: marceloeduardo12345678 at hotmail.com
> > To: asterisk-r2 at lists.digium.com
> > Date: Sun, 1 Sep 2013 12:27:25 +0000
> > Subject: Re: [asterisk-r2] problemas con R2 con central NEC
> >
> >
> >
> >
> >
> >
> > Es lo que estuve haciendo pero en los logs (los archivos.call) que
> genera el debug no veo en ningun lado los milisegundos. Como hiciste para
> obtenerlos?Por lo que veo de tu explicacion lo que yo pretend?a (hacer que
> falle 100% de las veces) no seria posible dado que todo depende de un
> comportamiento irregular de la NEC.Para lo cual me parece que deberia
> continuar las pruebas como al final estaba intentando, por ejemplo probar
> 30 llamadas (usando redial para no alterar el resultado con el marcado
> manual) y ver cuantas fallan de 30.Cuando lo corregiste te funcionaron el
> 100% o algunas pocas aveces te fallaban tambien?Porque con algunos cambios
> del treshold pasaban de fallarme 15 o 18de 30 a fallar 3 o 4 de 30
>
> > saludos y gracias
> >
> >
> > --
> > _____________________________________________________________________
> > -- 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/20130902/3740f4ce/attachment.html
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > --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
> >
> > End of asterisk-r2 Digest, Vol 61, Issue 2
> > ******************************************
>
> --
> _____________________________________________________________________
> -- 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
>
--
Lic. Tajtelbaum Claudio
Dpto de Desarrollo de Software | Gerencia de Ingeniería
Canal 7 | Radio y Televisión Argentina SE
(+54) 11 4808 2500 - Int: 466 | www.tvpublica.com.ar****
Por favor tenga en cuenta el medio ambiente antes de imprimir este email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20130903/707de74b/attachment-0001.htm>
More information about the asterisk-r2
mailing list