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.<br>
<br>****************************************<br>/var/log/asterisk/mfcr2/span1/chan-31-backward-1-20090402150246.call<br>****************************************<br>[15:02:46:644] [Thread: 3078552464] [Chan 31] - Call started at Thu Apr 2 15:02:46 2009 on chan 31<br>
[15:02:46:644] [Thread: 3078552464] [Chan 31] - CAS Tx >> [SEIZE ACK] 0x0C<br>[15:02:46:644] [Thread: 3078552464] [Chan 31] - CAS Raw Tx >> 0x0D<br>[15:02:46:761] [Thread: 3078552464] [Chan 31] - MF Rx << 0 [ON]<br>
[15:02:46:761] [Thread: 3078552464] [Chan 31] - Attempting to cancel timer timer 0<br>[15:02:46:761] [Thread: 3078552464] [Chan 31] - Cannot cancel timer 0<br>[15:02:46:761] [Thread: 3078552464] [Chan 31] - Getting DNIS digit 0<br>
[15:02:46:761] [Thread: 3078552464] [Chan 31] - DNIS so far: 0, expected length: 4<br>[15:02:46:761] [Thread: 3078552464] [Chan 31] - Requesting next DNIS with signal 0x31.<br>[15:02:46:761] [Thread: 3078552464] [Chan 31] - MF Tx >> 1 [ON]<br>
[15:02:46:841] [Thread: 3078552464] [Chan 31] - MF Rx << 0 [OFF]<br>[15:02:46:841] [Thread: 3078552464] [Chan 31] - MF Tx >> 1 [OFF]<br>[15:02:46:941] [Thread: 3078552464] [Chan 31] - MF Rx << 7 [ON]<br>
[15:02:46:941] [Thread: 3078552464] [Chan 31] - Attempting to cancel timer timer 2<br>[15:02:46:941] [Thread: 3078552464] [Chan 31] - timer id 2 found, cancelling it now<br>[15:02:46:941] [Thread: 3078552464] [Chan 31] - Getting DNIS digit 7<br>
[15:02:46:941] [Thread: 3078552464] [Chan 31] - DNIS so far: 07, expected length: 4<br>[15:02:46:941] [Thread: 3078552464] [Chan 31] - Requesting next DNIS with signal 0x31.<br>[15:02:46:941] [Thread: 3078552464] [Chan 31] - MF Tx >> 1 [ON]<br>
[15:02:47:041] [Thread: 3078552464] [Chan 31] - MF Rx << 7 [OFF]<br>[15:02:47:041] [Thread: 3078552464] [Chan 31] - MF Tx >> 1 [OFF]<br>[15:02:47:121] [Thread: 3078552464] [Chan 31] - MF Rx << 0 [ON]<br>
[15:02:47:121] [Thread: 3078552464] [Chan 31] - Attempting to cancel timer timer 3<br>[15:02:47:121] [Thread: 3078552464] [Chan 31] - timer id 3 found, cancelling it now<br>[15:02:47:121] [Thread: 3078552464] [Chan 31] - Getting DNIS digit 0<br>
[15:02:47:121] [Thread: 3078552464] [Chan 31] - DNIS so far: 070, expected length: 4<br>[15:02:47:121] [Thread: 3078552464] [Chan 31] - Requesting next DNIS with signal 0x31.<br>[15:02:47:121] [Thread: 3078552464] [Chan 31] - MF Tx >> 1 [ON]<br>
[15:02:47:201] [Thread: 3078552464] [Chan 31] - MF Rx << 0 [OFF]<br>[15:02:47:201] [Thread: 3078552464] [Chan 31] - MF Tx >> 1 [OFF]<br>[15:02:52:122] [Thread: 3078552464] [Chan 31] - Attempting to cancel timer timer 4<br>
[15:02:52:122] [Thread: 3078552464] [Chan 31] - timer id 4 found, cancelling it now<br>[15:02:52:122] [Thread: 3078552464] [Chan 31] - calling timer callback<br>[15:02:52:122] [Thread: 3078552464] [Chan 31] - MF back cycle timed out!<br>
[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<br>DNIS = 070, ANI = , MF = 0x20<br>
[15:02:52:122] [Thread: 3078552464] [Chan 31] - Attempting to cancel timer timer 0<br>[15:02:52:122] [Thread: 3078552464] [Chan 31] - Cannot cancel timer 0<br>****************************************<br>****************************************<br>
<br><div class="gmail_quote">On Thu, Apr 2, 2009 at 2:33 PM, Moises Silva <span dir="ltr"><<a href="mailto:moises.silva@gmail.com">moises.silva@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
And of course be aware that doing it in the CLI means when you restart<br>
Asterisk those settings are lost.<br>
<div><div></div><div class="h5"><br>
On Thu, Apr 2, 2009 at 3:29 PM, Melcon Moraes <<a href="mailto:melcon@gmail.com">melcon@gmail.com</a>> wrote:<br>
> You're missing a nice piece of documentation. Try:<br>
> mfcr2_call_files=yes<br>
> in dahdi.conf or issue<br>
> CLI> mfcr2 call files on<br>
> at CLI.<br>
><br>
> -MM<br>
><br>
> On Thu, Apr 2, 2009 at 4:13 PM, Carlos Andrés Tapasco Viera<br>
> <<a href="mailto:ctapasco@opengroupsa.com">ctapasco@opengroupsa.com</a>> wrote:<br>
>> Hi, I have mfcr2_logdir=span1 and mfcr2_logging=all enabled in<br>
>> /etc/asterisk/chan_dahdi.conf but I cannot see any file in<br>
>> /var/log/asterisk/mfcr2/span1. I only can see next lines in my CLI (core<br>
>> set verbose 10)<br>
>><br>
>> ***************************<br>
>> ***************************<br>
>> [Apr 2 10:14:56] NOTICE[25325]: chan_dahdi.c:1680 dahdi_r2_on_call_init:<br>
>> New MFC/R2 call detected on chan 31.<br>
>> [Apr 2 10:15:01] WARNING[25325]: chan_dahdi.c:1929 dahdi_r2_write_log: Chan<br>
>> 31 - MF back cycle timed out!<br>
>> [Apr 2 10:15:01] ERROR[25325]: chan_dahdi.c:1932 dahdi_r2_write_log: Chan<br>
>> 31 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State =<br>
>> Seize ACK Transmitted, MF state = DNIS Request Transmitted, MF Group =<br>
>> Backward Group A, CAS = 0x00<br>
>> DNIS = 070, ANI = , MF = 0x20<br>
>> [Apr 2 10:15:01] ERROR[25325]: chan_dahdi.c:1709<br>
>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 31: Multi<br>
>> Frequency Cycle Timeout<br>
>> ***************************<br>
>> ***************************<br>
>><br>
>> Trying to solve ERROR that refers to Multi Frequency Cycle Timeout, I added<br>
>> lines mfthreshold=0 and mfcr2_mfback_timeout=8000 in<br>
>> /etc/asterisk/chan_dahdi.conf, but nothing has been change. Thanks a lot<br>
>> for your valious help.<br>
>><br>
>> On Wed, Apr 1, 2009 at 5:46 PM, Moises Silva <<a href="mailto:moises.silva@gmail.com">moises.silva@gmail.com</a>> wrote:<br>
>>><br>
>>> Enable debugging<br>
>>><br>
>>> mfcr2_logging=all ; this in chan_dahdi.conf<br>
>>><br>
>>> and all debugging in /etc/asterisk/logger.conf<br>
>>><br>
>>><br>
>>> On Wed, Apr 1, 2009 at 6:25 PM, Carlos Andrés Tapasco Viera<br>
>>> <<a href="mailto:ctapasco@opengroupsa.com">ctapasco@opengroupsa.com</a>> wrote:<br>
>>> > PLOP!!, I commited a mistake with my dialplan (it isn't a SIP Trunk,<br>
>>> > jeje).<br>
>>> > Before fixed it I obtain next CLI messagges. Thanks again and again for<br>
>>> > your attention.<br>
>>> ><br>
>>> > [Apr 1 17:13:51] NOTICE[13110]: chan_dahdi.c:1680<br>
>>> > dahdi_r2_on_call_init:<br>
>>> > New MFC/R2 call detected on chan 31.<br>
>>> > [Apr 1 17:13:55] NOTICE[13110]: chan_dahdi.c:1680<br>
>>> > dahdi_r2_on_call_init:<br>
>>> > New MFC/R2 call detected on chan 30.<br>
>>> > [Apr 1 17:13:57] WARNING[13110]: chan_dahdi.c:1929 dahdi_r2_write_log:<br>
>>> > Chan<br>
>>> > 31 - MF back cycle timed out!<br>
>>> > [Apr 1 17:13:57] ERROR[13110]: chan_dahdi.c:1932 dahdi_r2_write_log:<br>
>>> > Chan<br>
>>> > 31 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State =<br>
>>> > Seize ACK Transmitted, MF state = DNIS Request Transmitted, MF Group =<br>
>>> > Backward Group A, CAS = 0x00<br>
>>> > DNIS = 070, ANI = , MF = 0x20<br>
>>> > [Apr 1 17:13:57] ERROR[13110]: chan_dahdi.c:1709<br>
>>> > dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 31: Multi<br>
>>> > Frequency Cycle Timeout<br>
>>> > [Apr 1 17:14:01] WARNING[13110]: chan_dahdi.c:1929 dahdi_r2_write_log:<br>
>>> > Chan<br>
>>> > 30 - MF back cycle timed out!<br>
>>> > [Apr 1 17:14:01] ERROR[13110]: chan_dahdi.c:1932 dahdi_r2_write_log:<br>
>>> > Chan<br>
>>> > 30 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State =<br>
>>> > Seize ACK Transmitted, MF state = DNIS Request Transmitted, MF Group =<br>
>>> > Backward Group A, CAS = 0x00<br>
>>> > DNIS = 070, ANI = , MF = 0x20<br>
>>> > [Apr 1 17:14:01] ERROR[13110]: chan_dahdi.c:1709<br>
>>> > dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 30: Multi<br>
>>> > Frequency Cycle Timeout<br>
>>> ><br>
>>> > On Wed, Apr 1, 2009 at 12:43 PM, Alexandre Cavalcante Alencar<br>
>>> > <<a href="mailto:alexandre.alencar@gmail.com">alexandre.alencar@gmail.com</a>> wrote:<br>
>>> >><br>
>>> >> Hi Carlos,<br>
>>> >><br>
>>> >> On Wed, Apr 1, 2009 at 2:04 PM, Carlos Andrés Tapasco Viera<br>
>>> >> <<a href="mailto:ctapasco@opengroupsa.com">ctapasco@opengroupsa.com</a>> wrote:<br>
>>> >> > ======================<br>
>>> >> > /etc/asterisk/extensions.conf<br>
>>> >> > ======================<br>
>>> >> > [globals]<br>
>>> >> > MAXUSER => 5 ;Máximo<br>
>>> >> > número<br>
>>> >> > de<br>
>>> >> > personas por conferencia<br>
>>> >> > TRUNKTEL => DAHDI/g0/2317070 ;Telefónica 2317070<br>
>>> >> > ;<br>
>>> >> > [celular]<br>
>>> >> > exten => _9033XXXXXXXXX,1,Answer()<br>
>>> >> > exten => _9033XXXXXXXXX,n,Dial(${TRUNKTEL}/${EXTEN:1},,rtT)<br>
>>> >> > exten => _9033XXXXXXXXX,n,HangUp()<br>
>>> >> ><br>
>>> >> ><br>
>>> >><br>
>>> >> ${TRUNKTEL} will expand to DAHDI/g0/2317070 and will become<br>
>>> >> DAHDI/g0/2317070/033XXXXXXXXX<br>
>>> >><br>
>>> >> This will not be a valid dial string because of the slash<br>
>>> >> DAHDI/g0/2317070_>>/<<_033XXXXXXXXX<br>
>>> >><br>
>>> >> Did you see?<br>
>>> >><br>
>>> >><br>
>>> >> --<br>
>>> >> Alexandre C Alencar (Skarmeth)<br>
>>> >> <a href="http://blog.alexandrealencar.net/" target="_blank">http://blog.alexandrealencar.net/</a><br>
>>> >> <a href="http://www.alexandrealencar.net/" target="_blank">http://www.alexandrealencar.net/</a><br>
>>> >> <a href="http://people.debian-ce.org/skarmeth/" target="_blank">http://people.debian-ce.org/skarmeth/</a><br>
>>> >><br>
>>> >> _______________________________________________<br>
>>> >> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
>>> >><br>
>>> >> asterisk-r2 mailing list<br>
>>> >> To UNSUBSCRIBE or update options visit:<br>
>>> >> <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > --<br>
>>> > Carlos Andrés Tapasco Viera<br>
>>> > OpenGroup S.A.<br>
>>> > Ingeniero Electrónico<br>
>>> > Area de Telecomunicaciones<br>
>>> > IP-PBX +57-24862030<br>
>>> > Mobile 1 +57-3117650143<br>
>>> > Mobile 2 +57-3012141132<br>
>>> > Santiago de Cali<br>
>>> > Valle del Cauca<br>
>>> > Colombia<br>
>>> > Sudamérica<br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
>>> ><br>
>>> > asterisk-r2 mailing list<br>
>>> > To UNSUBSCRIBE or update options visit:<br>
>>> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
>>> ><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> "I do not agree with what you have to say, but I’ll defend to the<br>
>>> death your right to say it." Voltaire<br>
>>><br>
>>> _______________________________________________<br>
>>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
>>><br>
>>> asterisk-r2 mailing list<br>
>>> To UNSUBSCRIBE or update options visit:<br>
>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
>><br>
>><br>
>> --<br>
>> Carlos Andrés Tapasco Viera<br>
>> OpenGroup S.A.<br>
>> Ingeniero Electrónico<br>
>> Area de Telecomunicaciones<br>
>> IP-PBX +57-24862030<br>
>> Mobile 1 +57-3117650143<br>
>> Mobile 2 +57-3012141132<br>
>> Santiago de Cali<br>
>> Valle del Cauca<br>
>> Colombia<br>
>> Sudamérica<br>
>><br>
>> _______________________________________________<br>
>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
>><br>
>> asterisk-r2 mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
>><br>
><br>
> _______________________________________________<br>
> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
><br>
> asterisk-r2 mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">"I do not agree with what you have to say, but I’ll defend to the<br>
death your right to say it." Voltaire<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a></div></div></blockquote></div><br><br clear="all"><br>-- <br>Carlos Andrés Tapasco Viera<br>
OpenGroup S.A.<br>Ingeniero Electrónico<br>Area de Telecomunicaciones<br>IP-PBX +57-24862030<br>Mobile 1 +57-3117650143<br>Mobile 2 +57-3012141132<br>Santiago de Cali<br>Valle del Cauca<br>Colombia<br>Sudamérica<br>