[asterisk-r2] [MFCR2+LIBOPENR2 TELEFONICA COLOMBIA]

Carlos Andrés Tapasco Viera ctapasco at opengroupsa.com
Thu Apr 2 15:06:43 CDT 2009


Hi, thanks a lot for your patience with this Asterisk beginner.  I've
activated mfcr2_call_files=yes and made CLI> mfcr2 call files on.  I think
something is wrong with DNIS, but I cannot understand the log file.  Thanks
for your time.

****************************************
/var/log/asterisk/mfcr2/span1/chan-31-backward-1-20090402150246.call
****************************************
[15:02:46:644] [Thread: 3078552464] [Chan 31] - Call started at Thu Apr  2
15:02:46 2009 on chan 31
[15:02:46:644] [Thread: 3078552464] [Chan 31] - CAS Tx >> [SEIZE ACK] 0x0C
[15:02:46:644] [Thread: 3078552464] [Chan 31] - CAS Raw Tx >> 0x0D
[15:02:46:761] [Thread: 3078552464] [Chan 31] - MF Rx << 0 [ON]
[15:02:46:761] [Thread: 3078552464] [Chan 31] - Attempting to cancel timer
timer 0
[15:02:46:761] [Thread: 3078552464] [Chan 31] - Cannot cancel timer 0
[15:02:46:761] [Thread: 3078552464] [Chan 31] - Getting DNIS digit 0
[15:02:46:761] [Thread: 3078552464] [Chan 31] - DNIS so far: 0, expected
length: 4
[15:02:46:761] [Thread: 3078552464] [Chan 31] - Requesting next DNIS with
signal 0x31.
[15:02:46:761] [Thread: 3078552464] [Chan 31] - MF Tx >> 1 [ON]
[15:02:46:841] [Thread: 3078552464] [Chan 31] - MF Rx << 0 [OFF]
[15:02:46:841] [Thread: 3078552464] [Chan 31] - MF Tx >> 1 [OFF]
[15:02:46:941] [Thread: 3078552464] [Chan 31] - MF Rx << 7 [ON]
[15:02:46:941] [Thread: 3078552464] [Chan 31] - Attempting to cancel timer
timer 2
[15:02:46:941] [Thread: 3078552464] [Chan 31] - timer id 2 found, cancelling
it now
[15:02:46:941] [Thread: 3078552464] [Chan 31] - Getting DNIS digit 7
[15:02:46:941] [Thread: 3078552464] [Chan 31] - DNIS so far: 07, expected
length: 4
[15:02:46:941] [Thread: 3078552464] [Chan 31] - Requesting next DNIS with
signal 0x31.
[15:02:46:941] [Thread: 3078552464] [Chan 31] - MF Tx >> 1 [ON]
[15:02:47:041] [Thread: 3078552464] [Chan 31] - MF Rx << 7 [OFF]
[15:02:47:041] [Thread: 3078552464] [Chan 31] - MF Tx >> 1 [OFF]
[15:02:47:121] [Thread: 3078552464] [Chan 31] - MF Rx << 0 [ON]
[15:02:47:121] [Thread: 3078552464] [Chan 31] - Attempting to cancel timer
timer 3
[15:02:47:121] [Thread: 3078552464] [Chan 31] - timer id 3 found, cancelling
it now
[15:02:47:121] [Thread: 3078552464] [Chan 31] - Getting DNIS digit 0
[15:02:47:121] [Thread: 3078552464] [Chan 31] - DNIS so far: 070, expected
length: 4
[15:02:47:121] [Thread: 3078552464] [Chan 31] - Requesting next DNIS with
signal 0x31.
[15:02:47:121] [Thread: 3078552464] [Chan 31] - MF Tx >> 1 [ON]
[15:02:47:201] [Thread: 3078552464] [Chan 31] - MF Rx << 0 [OFF]
[15:02:47:201] [Thread: 3078552464] [Chan 31] - MF Tx >> 1 [OFF]
[15:02:52:122] [Thread: 3078552464] [Chan 31] - Attempting to cancel timer
timer 4
[15:02:52:122] [Thread: 3078552464] [Chan 31] - timer id 4 found, cancelling
it now
[15:02:52:122] [Thread: 3078552464] [Chan 31] - calling timer callback
[15:02:52:122] [Thread: 3078552464] [Chan 31] - MF back cycle timed out!
[15:02:52:122] [Thread: 3078552464] [Chan 31] - Protocol error. Reason =
Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF state =
DNIS Request Transmitted, MF Group = Backward Group A, CAS = 0x00
DNIS = 070, ANI = , MF = 0x20
[15:02:52:122] [Thread: 3078552464] [Chan 31] - Attempting to cancel timer
timer 0
[15:02:52:122] [Thread: 3078552464] [Chan 31] - Cannot cancel timer 0
****************************************
****************************************

On Thu, Apr 2, 2009 at 2:33 PM, Moises Silva <moises.silva at gmail.com> wrote:

> And of course be aware that doing it in the CLI means when you restart
> Asterisk those settings are lost.
>
> On Thu, Apr 2, 2009 at 3:29 PM, Melcon Moraes <melcon at gmail.com> wrote:
> > You're missing a nice piece of documentation. Try:
> >         mfcr2_call_files=yes
> >  in dahdi.conf or issue
> >       CLI> mfcr2 call files on
> > at CLI.
> >
> > -MM
> >
> > On Thu, Apr 2, 2009 at 4:13 PM, Carlos Andrés Tapasco Viera
> > <ctapasco at opengroupsa.com> wrote:
> >> Hi, I have mfcr2_logdir=span1 and mfcr2_logging=all enabled in
> >> /etc/asterisk/chan_dahdi.conf but I cannot see any file in
> >> /var/log/asterisk/mfcr2/span1.  I only can see next lines in my CLI
> (core
> >> set verbose 10)
> >>
> >> ***************************
> >> ***************************
> >> [Apr  2 10:14:56] NOTICE[25325]: chan_dahdi.c:1680
> dahdi_r2_on_call_init:
> >> New MFC/R2 call detected on chan 31.
> >> [Apr  2 10:15:01] WARNING[25325]: chan_dahdi.c:1929 dahdi_r2_write_log:
> Chan
> >> 31 - MF back cycle timed out!
> >> [Apr  2 10:15:01] ERROR[25325]: chan_dahdi.c:1932 dahdi_r2_write_log:
> Chan
> >> 31 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State =
> >> Seize ACK Transmitted, MF state = DNIS Request Transmitted, MF Group =
> >> Backward Group A, CAS = 0x00
> >> DNIS = 070, ANI = , MF = 0x20
> >> [Apr  2 10:15:01] ERROR[25325]: chan_dahdi.c:1709
> >> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 31: Multi
> >> Frequency Cycle Timeout
> >> ***************************
> >> ***************************
> >>
> >> Trying to solve ERROR that refers to Multi Frequency Cycle Timeout, I
> added
> >> lines mfthreshold=0 and mfcr2_mfback_timeout=8000 in
> >> /etc/asterisk/chan_dahdi.conf, but nothing has been change.  Thanks a
> lot
> >> for your valious help.
> >>
> >> On Wed, Apr 1, 2009 at 5:46 PM, Moises Silva <moises.silva at gmail.com>
> wrote:
> >>>
> >>> Enable debugging
> >>>
> >>> mfcr2_logging=all ; this in chan_dahdi.conf
> >>>
> >>> and all debugging in /etc/asterisk/logger.conf
> >>>
> >>>
> >>> On Wed, Apr 1, 2009 at 6:25 PM, Carlos Andrés Tapasco Viera
> >>> <ctapasco at opengroupsa.com> wrote:
> >>> > PLOP!!, I commited a mistake with my dialplan (it isn't a SIP Trunk,
> >>> > jeje).
> >>> > Before fixed it I obtain next CLI messagges.  Thanks again and again
> for
> >>> > your attention.
> >>> >
> >>> > [Apr  1 17:13:51] NOTICE[13110]: chan_dahdi.c:1680
> >>> > dahdi_r2_on_call_init:
> >>> > New MFC/R2 call detected on chan 31.
> >>> > [Apr  1 17:13:55] NOTICE[13110]: chan_dahdi.c:1680
> >>> > dahdi_r2_on_call_init:
> >>> > New MFC/R2 call detected on chan 30.
> >>> > [Apr  1 17:13:57] WARNING[13110]: chan_dahdi.c:1929
> dahdi_r2_write_log:
> >>> > Chan
> >>> > 31 - MF back cycle timed out!
> >>> > [Apr  1 17:13:57] ERROR[13110]: chan_dahdi.c:1932 dahdi_r2_write_log:
> >>> > Chan
> >>> > 31 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State
> =
> >>> > Seize ACK Transmitted, MF state = DNIS Request Transmitted, MF Group
> =
> >>> > Backward Group A, CAS = 0x00
> >>> > DNIS = 070, ANI = , MF = 0x20
> >>> > [Apr  1 17:13:57] ERROR[13110]: chan_dahdi.c:1709
> >>> > dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 31: Multi
> >>> > Frequency Cycle Timeout
> >>> > [Apr  1 17:14:01] WARNING[13110]: chan_dahdi.c:1929
> dahdi_r2_write_log:
> >>> > Chan
> >>> > 30 - MF back cycle timed out!
> >>> > [Apr  1 17:14:01] ERROR[13110]: chan_dahdi.c:1932 dahdi_r2_write_log:
> >>> > Chan
> >>> > 30 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State
> =
> >>> > Seize ACK Transmitted, MF state = DNIS Request Transmitted, MF Group
> =
> >>> > Backward Group A, CAS = 0x00
> >>> > DNIS = 070, ANI = , MF = 0x20
> >>> > [Apr  1 17:14:01] ERROR[13110]: chan_dahdi.c:1709
> >>> > dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 30: Multi
> >>> > Frequency Cycle Timeout
> >>> >
> >>> > On Wed, Apr 1, 2009 at 12:43 PM, Alexandre Cavalcante Alencar
> >>> > <alexandre.alencar at gmail.com> wrote:
> >>> >>
> >>> >> Hi Carlos,
> >>> >>
> >>> >> On Wed, Apr 1, 2009 at 2:04 PM, Carlos Andrés Tapasco Viera
> >>> >> <ctapasco at opengroupsa.com> wrote:
> >>> >> > ======================
> >>> >> > /etc/asterisk/extensions.conf
> >>> >> > ======================
> >>> >> > [globals]
> >>> >> > MAXUSER => 5                                              ;Máximo
> >>> >> > número
> >>> >> > de
> >>> >> > personas por conferencia
> >>> >> > TRUNKTEL => DAHDI/g0/2317070                    ;Telefónica
> 2317070
> >>> >> > ;
> >>> >> > [celular]
> >>> >> > exten => _9033XXXXXXXXX,1,Answer()
> >>> >> > exten => _9033XXXXXXXXX,n,Dial(${TRUNKTEL}/${EXTEN:1},,rtT)
> >>> >> > exten => _9033XXXXXXXXX,n,HangUp()
> >>> >> >
> >>> >> >
> >>> >>
> >>> >> ${TRUNKTEL} will expand to DAHDI/g0/2317070 and will become
> >>> >> DAHDI/g0/2317070/033XXXXXXXXX
> >>> >>
> >>> >> This will not be a valid dial string because of the slash
> >>> >> DAHDI/g0/2317070_>>/<<_033XXXXXXXXX
> >>> >>
> >>> >> Did you see?
> >>> >>
> >>> >>
> >>> >> --
> >>> >> Alexandre C Alencar (Skarmeth)
> >>> >> http://blog.alexandrealencar.net/
> >>> >> http://www.alexandrealencar.net/
> >>> >> http://people.debian-ce.org/skarmeth/
> >>> >>
> >>> >> _______________________________________________
> >>> >> --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
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Carlos Andrés Tapasco Viera
> >>> > OpenGroup S.A.
> >>> > Ingeniero Electrónico
> >>> > Area de Telecomunicaciones
> >>> > IP-PBX +57-24862030
> >>> > Mobile 1 +57-3117650143
> >>> > Mobile 2 +57-3012141132
> >>> > Santiago de Cali
> >>> > Valle del Cauca
> >>> > Colombia
> >>> > Sudamérica
> >>> >
> >>> > _______________________________________________
> >>> > --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
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> "I do not agree with what you have to say, but I’ll defend to the
> >>> death your right to say it." Voltaire
> >>>
> >>> _______________________________________________
> >>> --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
> >>
> >>
> >> --
> >> Carlos Andrés Tapasco Viera
> >> OpenGroup S.A.
> >> Ingeniero Electrónico
> >> Area de Telecomunicaciones
> >> IP-PBX +57-24862030
> >> Mobile 1 +57-3117650143
> >> Mobile 2 +57-3012141132
> >> Santiago de Cali
> >> Valle del Cauca
> >> Colombia
> >> Sudamérica
> >>
> >> _______________________________________________
> >> --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
> >>
> >
> > _______________________________________________
> > --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
>
>
>
> --
> "I do not agree with what you have to say, but I’ll defend to the
> death your right to say it." Voltaire
>
> _______________________________________________
> --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
>



-- 
Carlos Andrés Tapasco Viera
OpenGroup S.A.
Ingeniero Electrónico
Area de Telecomunicaciones
IP-PBX +57-24862030
Mobile 1 +57-3117650143
Mobile 2 +57-3012141132
Santiago de Cali
Valle del Cauca
Colombia
Sudamérica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20090402/58268db7/attachment-0001.htm 


More information about the asterisk-r2 mailing list