[asterisk-r2] Problem Get ANI Number

Roelee fauzi_roeli at gratika.co.id
Sat Oct 30 18:54:37 CDT 2010


hi, this is my latest test call:

Log:

[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 ]
[07:19:48:583] [Thread: 3078618000] [Chan 146] - Initialized R2 MF
detector
[07:19:48:583] [Thread: 3078618000] [Chan 146] - CAS Tx >> [SEIZE ACK]
0x0C
[07:19:48:583] [Thread: 3078618000] [Chan 146] - CAS Raw Tx >> 0x0D
[07:19:48:677] [Thread: 3078618000] [Chan 146] - MF Rx << 1 [ON]
[07:19:48:677] [Thread: 3078618000] [Chan 146] - Attempting to cancel
timer timer 0
[07:19:48:677] [Thread: 3078618000] [Chan 146] - Cannot cancel timer 0
[07:19:48:677] [Thread: 3078618000] [Chan 146] - Getting DNIS digit 1
[07:19:48:677] [Thread: 3078618000] [Chan 146] - DNIS so far: 1,
expected length: 4
[07:19:48:677] [Thread: 3078618000] [Chan 146] - Requesting next DNIS
with signal 0x31.
[07:19:48:677] [Thread: 3078618000] [Chan 146] - MF Tx >> 1 [ON]
[07:19:48:677] [Thread: 3078618000] [Chan 146] - scheduled timer id 2
(mf_back_cycle)
[07:19:48:757] [Thread: 3078618000] [Chan 146] - MF Rx << 1 [OFF]
[07:19:48:757] [Thread: 3078618000] [Chan 146] - MF Tx >> 1 [OFF]
[07:19:48:817] [Thread: 3078618000] [Chan 146] - MF Rx << 0 [ON]
[07:19:48:817] [Thread: 3078618000] [Chan 146] - Attempting to cancel
timer timer 2
[07:19:48:817] [Thread: 3078618000] [Chan 146] - timer id 2 found,
cancelling it now
[07:19:48:817] [Thread: 3078618000] [Chan 146] - Getting DNIS digit 0
[07:19:48:817] [Thread: 3078618000] [Chan 146] - DNIS so far: 10,
expected length: 4
[07:19:48:817] [Thread: 3078618000] [Chan 146] - Requesting next DNIS
with signal 0x31.
[07:19:48:817] [Thread: 3078618000] [Chan 146] - MF Tx >> 1 [ON]
[07:19:48:817] [Thread: 3078618000] [Chan 146] - scheduled timer id 3
(mf_back_cycle)
[07:19:48:877] [Thread: 3078618000] [Chan 146] - MF Rx << 0 [OFF]
[07:19:48:877] [Thread: 3078618000] [Chan 146] - MF Tx >> 1 [OFF]
[07:19:48:937] [Thread: 3078618000] [Chan 146] - MF Rx << 9 [ON]
[07:19:48:937] [Thread: 3078618000] [Chan 146] - Attempting to cancel
timer timer 3
[07:19:48:937] [Thread: 3078618000] [Chan 146] - timer id 3 found,
cancelling it now
[07:19:48:937] [Thread: 3078618000] [Chan 146] - Getting DNIS digit 9
[07:19:48:937] [Thread: 3078618000] [Chan 146] - DNIS so far: 109,
expected length: 4
[07:19:48:937] [Thread: 3078618000] [Chan 146] - User requested us to
stop getting DNIS!
[07:19:48:937] [Thread: 3078618000] [Chan 146] - MF Tx >> 6 [ON]
[07:19:48:937] [Thread: 3078618000] [Chan 146] - scheduled timer id 4
(mf_back_cycle)
[07:19:49:017] [Thread: 3078618000] [Chan 146] - MF Rx << 9 [OFF]
[07:19:49:017] [Thread: 3078618000] [Chan 146] - MF Tx >> 6 [OFF]
[07:19:49:097] [Thread: 3078618000] [Chan 146] - MF Rx << 2 [ON]
[07:19:49:097] [Thread: 3078618000] [Chan 146] - Attempting to cancel
timer timer 4
[07:19:49:097] [Thread: 3078618000] [Chan 146] - timer id 4 found,
cancelling it now
[07:19:49:097] [Thread: 3078618000] [Chan 146] - MF Tx >> 5 [ON]
[07:19:49:097] [Thread: 3078618000] [Chan 146] - scheduled timer id 5
(mf_back_cycle)
[07:19:49:177] [Thread: 3078618000] [Chan 146] - MF Rx << 2 [OFF]
[07:19:49:177] [Thread: 3078618000] [Chan 146] - MF Tx >> 5 [OFF]
[07:19:49:897] [Thread: 3078618000] [Chan 146] - Attempting to cancel
timer timer 5
[07:19:49:897] [Thread: 3078618000] [Chan 146] - timer id 5 found,
cancelling it now
[07:19:49:897] [Thread: 3078618000] [Chan 146] - calling timer 5
(mf_back_cycle) callback
[07:19:48:937] [Thread: 3078618000] [Chan 146] - DNIS so far: 109,
expected length: 4
[07:19:48:937] [Thread: 3078618000] [Chan 146] - User requested us to
stop getting DNIS!
[07:19:48:937] [Thread: 3078618000] [Chan 146] - MF Tx >> 6 [ON]
[07:19:48:937] [Thread: 3078618000] [Chan 146] - scheduled timer id 4
(mf_back_cycle)
[07:19:49:017] [Thread: 3078618000] [Chan 146] - MF Rx << 9 [OFF]
[07:19:49:017] [Thread: 3078618000] [Chan 146] - MF Tx >> 6 [OFF]
[07:19:49:097] [Thread: 3078618000] [Chan 146] - MF Rx << 2 [ON]
[07:19:49:097] [Thread: 3078618000] [Chan 146] - Attempting to cancel
timer timer 4
[07:19:49:097] [Thread: 3078618000] [Chan 146] - timer id 4 found,
cancelling it now
[07:19:49:097] [Thread: 3078618000] [Chan 146] - MF Tx >> 5 [ON]
[07:19:49:097] [Thread: 3078618000] [Chan 146] - scheduled timer id 5
(mf_back_cycle)
[07:19:49:177] [Thread: 3078618000] [Chan 146] - MF Rx << 2 [OFF]
[07:19:49:177] [Thread: 3078618000] [Chan 146] - MF Tx >> 5 [OFF]
[07:19:49:897] [Thread: 3078618000] [Chan 146] - Attempting to cancel
timer timer 5
[07:19:49:897] [Thread: 3078618000] [Chan 146] - timer id 5 found,
cancelling it now
[07:19:49:897] [Thread: 3078618000] [Chan 146] - calling timer 5
(mf_back_cycle) callback
[07:19:49:897] [Thread: 3078618000] [Chan 146] - MF back cycle timed
out!
[07:19:49:897] [Thread: 3078618000] [Chan 146] - Protocol error. Reason
= Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF s
tate = ANI Request Transmitted, MF Group = Backward Group A, CAS = 0x00
DNIS = 109, ANI = , MF = 0x20
[07:19:49:897] [Thread: 3078618000] [Chan 146] - Attempting to cancel
timer timer 0
[07:19:49:897] [Thread: 3078618000] [Chan 146] - Cannot cancel timer 0


CLI :

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 146.
[Oct 31 07:19:49] WARNING[9965]: chan_dahdi.c:1925 dahdi_r2_write_log:
Chan 146 - MF back cycle timed out!
[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
DNIS = 109, ANI = , MF = 0x20
[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
[Oct 31 07:19:54] NOTICE[9965]: chan_dahdi.c:1959 dahdi_r2_on_line_idle:
Far end unblocked on chan 146

chan_dahdi.conf :

[channels]
...
...
...
mfcr2_variant=id
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all
mfcr2_call_files=yes
mfcr2_skip_category=no
mfcr2_mfback_timeout=800
mfcr2_allow_collect_calls=no
mfcr2_double_answer=yes
mfcr2_metering_pulse_timeout=-1
mfcr2_immediate_accept=yes
...
..

thanks.

regards,

roelee



On Sat, 2010-10-30 at 12:54 -0400, Moises Silva wrote:

> On Sat, Oct 30, 2010 at 9:01 AM, Roelee <fauzi_roeli at gratika.co.id> 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. moy at sangoma.com
> -- 
> _____________________________________________________________________
> -- 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/20101031/2b82d717/attachment.htm 


More information about the asterisk-r2 mailing list