<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
hi, this is my latest test call:<BR>
<BR>
Log:<BR>
<BR>
[07:19:48:583] [Thread: 3078618000] [Chan 146] - Call started at Sun Oct 31 07:19:48 2010 on chan 146 [openr2 version 1.3.1, revision ]<BR>
[07:19:48:583] [Thread: 3078618000] [Chan 146] - Initialized R2 MF detector<BR>
[07:19:48:583] [Thread: 3078618000] [Chan 146] - CAS Tx >> [SEIZE ACK] 0x0C<BR>
[07:19:48:583] [Thread: 3078618000] [Chan 146] - CAS Raw Tx >> 0x0D<BR>
[07:19:48:677] [Thread: 3078618000] [Chan 146] - MF Rx << 1 [ON]<BR>
[07:19:48:677] [Thread: 3078618000] [Chan 146] - Attempting to cancel timer timer 0<BR>
[07:19:48:677] [Thread: 3078618000] [Chan 146] - Cannot cancel timer 0<BR>
[07:19:48:677] [Thread: 3078618000] [Chan 146] - Getting DNIS digit 1<BR>
[07:19:48:677] [Thread: 3078618000] [Chan 146] - DNIS so far: 1, expected length: 4<BR>
[07:19:48:677] [Thread: 3078618000] [Chan 146] - Requesting next DNIS with signal 0x31.<BR>
[07:19:48:677] [Thread: 3078618000] [Chan 146] - MF Tx >> 1 [ON]<BR>
[07:19:48:677] [Thread: 3078618000] [Chan 146] - scheduled timer id 2 (mf_back_cycle)<BR>
[07:19:48:757] [Thread: 3078618000] [Chan 146] - MF Rx << 1 [OFF]<BR>
[07:19:48:757] [Thread: 3078618000] [Chan 146] - MF Tx >> 1 [OFF]<BR>
[07:19:48:817] [Thread: 3078618000] [Chan 146] - MF Rx << 0 [ON]<BR>
[07:19:48:817] [Thread: 3078618000] [Chan 146] - Attempting to cancel timer timer 2<BR>
[07:19:48:817] [Thread: 3078618000] [Chan 146] - timer id 2 found, cancelling it now<BR>
[07:19:48:817] [Thread: 3078618000] [Chan 146] - Getting DNIS digit 0<BR>
[07:19:48:817] [Thread: 3078618000] [Chan 146] - DNIS so far: 10, expected length: 4<BR>
[07:19:48:817] [Thread: 3078618000] [Chan 146] - Requesting next DNIS with signal 0x31.<BR>
[07:19:48:817] [Thread: 3078618000] [Chan 146] - MF Tx >> 1 [ON]<BR>
[07:19:48:817] [Thread: 3078618000] [Chan 146] - scheduled timer id 3 (mf_back_cycle)<BR>
[07:19:48:877] [Thread: 3078618000] [Chan 146] - MF Rx << 0 [OFF]<BR>
[07:19:48:877] [Thread: 3078618000] [Chan 146] - MF Tx >> 1 [OFF]<BR>
[07:19:48:937] [Thread: 3078618000] [Chan 146] - MF Rx << 9 [ON]<BR>
[07:19:48:937] [Thread: 3078618000] [Chan 146] - Attempting to cancel timer timer 3<BR>
[07:19:48:937] [Thread: 3078618000] [Chan 146] - timer id 3 found, cancelling it now<BR>
[07:19:48:937] [Thread: 3078618000] [Chan 146] - Getting DNIS digit 9<BR>
[07:19:48:937] [Thread: 3078618000] [Chan 146] - DNIS so far: 109, expected length: 4<BR>
[07:19:48:937] [Thread: 3078618000] [Chan 146] - User requested us to stop getting DNIS!<BR>
[07:19:48:937] [Thread: 3078618000] [Chan 146] - MF Tx >> 6 [ON]<BR>
[07:19:48:937] [Thread: 3078618000] [Chan 146] - scheduled timer id 4 (mf_back_cycle)<BR>
[07:19:49:017] [Thread: 3078618000] [Chan 146] - MF Rx << 9 [OFF]<BR>
[07:19:49:017] [Thread: 3078618000] [Chan 146] - MF Tx >> 6 [OFF]<BR>
[07:19:49:097] [Thread: 3078618000] [Chan 146] - MF Rx << 2 [ON]<BR>
[07:19:49:097] [Thread: 3078618000] [Chan 146] - Attempting to cancel timer timer 4<BR>
[07:19:49:097] [Thread: 3078618000] [Chan 146] - timer id 4 found, cancelling it now<BR>
[07:19:49:097] [Thread: 3078618000] [Chan 146] - MF Tx >> 5 [ON]<BR>
[07:19:49:097] [Thread: 3078618000] [Chan 146] - scheduled timer id 5 (mf_back_cycle)<BR>
[07:19:49:177] [Thread: 3078618000] [Chan 146] - MF Rx << 2 [OFF]<BR>
[07:19:49:177] [Thread: 3078618000] [Chan 146] - MF Tx >> 5 [OFF]<BR>
[07:19:49:897] [Thread: 3078618000] [Chan 146] - Attempting to cancel timer timer 5<BR>
[07:19:49:897] [Thread: 3078618000] [Chan 146] - timer id 5 found, cancelling it now<BR>
[07:19:49:897] [Thread: 3078618000] [Chan 146] - calling timer 5 (mf_back_cycle) callback<BR>
[07:19:48:937] [Thread: 3078618000] [Chan 146] - DNIS so far: 109, expected length: 4<BR>
[07:19:48:937] [Thread: 3078618000] [Chan 146] - User requested us to stop getting DNIS!<BR>
[07:19:48:937] [Thread: 3078618000] [Chan 146] - MF Tx >> 6 [ON]<BR>
[07:19:48:937] [Thread: 3078618000] [Chan 146] - scheduled timer id 4 (mf_back_cycle)<BR>
[07:19:49:017] [Thread: 3078618000] [Chan 146] - MF Rx << 9 [OFF]<BR>
[07:19:49:017] [Thread: 3078618000] [Chan 146] - MF Tx >> 6 [OFF]<BR>
[07:19:49:097] [Thread: 3078618000] [Chan 146] - MF Rx << 2 [ON]<BR>
[07:19:49:097] [Thread: 3078618000] [Chan 146] - Attempting to cancel timer timer 4<BR>
[07:19:49:097] [Thread: 3078618000] [Chan 146] - timer id 4 found, cancelling it now<BR>
[07:19:49:097] [Thread: 3078618000] [Chan 146] - MF Tx >> 5 [ON]<BR>
[07:19:49:097] [Thread: 3078618000] [Chan 146] - scheduled timer id 5 (mf_back_cycle)<BR>
[07:19:49:177] [Thread: 3078618000] [Chan 146] - MF Rx << 2 [OFF]<BR>
[07:19:49:177] [Thread: 3078618000] [Chan 146] - MF Tx >> 5 [OFF]<BR>
[07:19:49:897] [Thread: 3078618000] [Chan 146] - Attempting to cancel timer timer 5<BR>
[07:19:49:897] [Thread: 3078618000] [Chan 146] - timer id 5 found, cancelling it now<BR>
[07:19:49:897] [Thread: 3078618000] [Chan 146] - calling timer 5 (mf_back_cycle) callback<BR>
[07:19:49:897] [Thread: 3078618000] [Chan 146] - MF back cycle timed out!<BR>
[07:19:49:897] [Thread: 3078618000] [Chan 146] - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF s<BR>
tate = ANI Request Transmitted, MF Group = Backward Group A, CAS = 0x00<BR>
DNIS = 109, ANI = , MF = 0x20<BR>
[07:19:49:897] [Thread: 3078618000] [Chan 146] - Attempting to cancel timer timer 0<BR>
[07:19:49:897] [Thread: 3078618000] [Chan 146] - Cannot cancel timer 0<BR>
<BR>
<BR>
CLI :<BR>
<BR>
146 ID 20 4 No Yes IDLE IDLE <BR>
147 ID 20 4 No Yes IDLE IDLE <BR>
148 ID 20 4 No Yes IDLE IDLE <BR>
149 ID 20 4 No Yes IDLE IDLE <BR>
150 ID 20 4 No Yes IDLE IDLE <BR>
151 ID 20 4 No Yes IDLE IDLE <BR>
152 ID 20 4 No Yes IDLE IDLE <BR>
153 ID 20 4 No Yes IDLE IDLE <BR>
154 ID 20 4 No Yes IDLE IDLE <BR>
155 ID 20 4 No Yes IDLE IDLE <BR>
New MFC/R2 call detected on chan 146.<BR>
[Oct 31 07:19:49] WARNING[9965]: chan_dahdi.c:1925 dahdi_r2_write_log: Chan 146 - MF back cycle timed out!<BR>
[Oct 31 07:19:49] ERROR[9965]: chan_dahdi.c:1928 dahdi_r2_write_log: Chan 146 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF state = ANI Request Transmitted, MF Group = Backward Group A, CAS = 0x00<BR>
DNIS = 109, ANI = , MF = 0x20<BR>
[Oct 31 07:19:49] ERROR[9965]: chan_dahdi.c:1713 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 146: Multi Frequency Cycle Timeout<BR>
[Oct 31 07:19:54] NOTICE[9965]: chan_dahdi.c:1959 dahdi_r2_on_line_idle: Far end unblocked on chan 146<BR>
<BR>
chan_dahdi.conf :<BR>
<BR>
[channels]<BR>
...<BR>
...<BR>
...<BR>
mfcr2_variant=id<BR>
mfcr2_get_ani_first=no<BR>
mfcr2_max_ani=20<BR>
mfcr2_max_dnis=4<BR>
mfcr2_category=national_subscriber<BR>
mfcr2_logdir=span1<BR>
mfcr2_logging=all<BR>
mfcr2_call_files=yes<BR>
mfcr2_skip_category=no<BR>
mfcr2_mfback_timeout=800<BR>
mfcr2_allow_collect_calls=no<BR>
mfcr2_double_answer=yes<BR>
mfcr2_metering_pulse_timeout=-1<BR>
mfcr2_immediate_accept=yes<BR>
...<BR>
..<BR>
<BR>
thanks.<BR>
<BR>
regards,<BR>
<BR>
roelee<BR>
<BR>
<BR>
<BR>
On Sat, 2010-10-30 at 12:54 -0400, Moises Silva wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Sat, Oct 30, 2010 at 9:01 AM, Roelee <<A HREF="mailto:fauzi_roeli@gratika.co.id">fauzi_roeli@gratika.co.id</A>> wrote:
> Hi, i has tried to compile openr2 from your svn and change it to 'id'
> variant, but I still got problem.
> this is output from CLI :
> 143 ID 20 4 No Yes IDLE IDLE
> 144 ID 20 4 No Yes IDLE IDLE
> 145 ID 20 4 No Yes IDLE IDLE
> 146 ID 20 4 No Yes IDLE IDLE
> 147 ID 20 4 No Yes IDLE IDLE
> 148 ID 20 4 No Yes IDLE IDLE
> 149 ID 20 4 No Yes IDLE IDLE
> 150 ID 20 4 No Yes IDLE IDLE
> 151 ID 20 4 No Yes IDLE IDLE
> 152 ID 20 4 No Yes IDLE IDLE
> 153 ID 20 4 No Yes IDLE IDLE
> 154 ID 20 4 No Yes IDLE IDLE
> 155 ID 20 4 No Yes IDLE IDLE
> New MFC/R2 call detected on chan 143.
> [Oct 30 20:30:28] WARNING[9728]: chan_dahdi.c:1925 dahdi_r2_write_log: Chan
> 143 - MF back cycle timed out!
> [Oct 30 20:30:28] ERROR[9728]: chan_dahdi.c:1928 dahdi_r2_write_log: Chan
> 143 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State =
> Seize ACK Transmitted, MF state = ANI Request Transmitted, MF Group =
> Backward Group A, CAS = 0x00
> DNIS = 109, ANI = , MF = 0x20
> [Oct 30 20:30:28] ERROR[9728]: chan_dahdi.c:1713 dahdi_r2_on_protocol_error:
> MFC/R2 protocol error on chan 143: Multi Frequency Cycle Timeout
> [Oct 30 20:30:44] NOTICE[9728]: chan_dahdi.c:1959 dahdi_r2_on_line_idle: Far
> end unblocked on chan 143
> vrs01*CLI>
>
I need the full protocol log, not just the errors. see
mfcr2_call_files=yes comments for help.
Moises Silva
Senior Software Engineer
Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON
L3R 9R6 Canada
t. 1 905 474 1990 x128 | e. <A HREF="mailto:moy@sangoma.com">moy@sangoma.com</A>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <A HREF="http://www.api-digital.com">http://www.api-digital.com</A> --
asterisk-r2 mailing list
To UNSUBSCRIBE or update options visit:
<A HREF="http://lists.digium.com/mailman/listinfo/asterisk-r2">http://lists.digium.com/mailman/listinfo/asterisk-r2</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>