[asterisk-r2] Fwd safety timeouts

Anton Krall antonkrall at gmail.com
Thu Feb 25 18:55:53 CST 2010


My r2proto.conf file is located in /usr/local/etc (thats where the make put
it, is that ok)? And inside it has fwd_timeout at 30000... Which sould be
enough I think... 

Can anybody see something wrong from the traces I posted?

What do you think Moy?



From: Shazaum <shazaum at gmail.com>
Reply-To: <asterisk-r2 at lists.digium.com>
Date: Thu, 25 Feb 2010 19:10:30 -0300
To: <asterisk-r2 at lists.digium.com>
Subject: Re: [asterisk-r2] Fwd safety timeouts

I do not understand very well, but what is the timeout in conf?


Renato dos Santos
renato at opens.com.br
OpenS Tecnologia Ltda
Rua Padre Marcelino Champagnat, 236
Jardim Atlântico - Florianópolis - SC - Brasil
+55 (48) 3954-8000
http://www.opens.com.br
shazaum.wordpress.com <http://shazaum.wordpress.com>


On 25 February 2010 16:36, Anton Krall <antonkrall at gmail.com> wrote:
> Moises? Any ideas?
> 
> -----
> 
> Guys, Im getting FWD safety timeouts when calling LD from Mexico to Spain.
> 
> This is what the call trace shows on my side
> 
> 12:44:12:679] [Thread: 21314464] [Chan 25] - Call started at Tue Feb 23
> 12:44:12 2010 on chan 25
> [12:44:12:679] [Thread: 21314464] [Chan 25] - CAS Tx >> [SEIZE] 0x00
> [12:44:12:679] [Thread: 21314464] [Chan 25] - CAS Raw Tx >> 0x01
> [12:44:12:721] [Thread: 21314464] [Chan 25] - Bits changed from 0x08 to 0x0C
> [12:44:12:721] [Thread: 21314464] [Chan 25] - CAS Rx << [SEIZE ACK] 0x0C
> [12:44:12:721] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 2
> [12:44:12:721] [Thread: 21314464] [Chan 25] - timer id 2 found, cancelling
> it now
> [12:44:12:721] [Thread: 21314464] [Chan 25] - Sending DNIS digit 0
> [12:44:12:721] [Thread: 21314464] [Chan 25] - MF Tx >> 0 [ON]
> [12:44:12:818] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:12:818] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:12:818] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:12:818] [Thread: 21314464] [Chan 25] - MF Tx >> 0 [OFF]
> [12:44:12:898] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:12:898] [Thread: 21314464] [Chan 25] - Sending DNIS digit 0
> [12:44:12:898] [Thread: 21314464] [Chan 25] - MF Tx >> 0 [ON]
> [12:44:12:898] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:12:958] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:12:958] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:12:958] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:12:958] [Thread: 21314464] [Chan 25] - MF Tx >> 0 [OFF]
> [12:44:13:018] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:13:018] [Thread: 21314464] [Chan 25] - Sending DNIS digit 3
> [12:44:13:018] [Thread: 21314464] [Chan 25] - MF Tx >> 3 [ON]
> [12:44:13:018] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:13:078] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:13:078] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:13:078] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:13:078] [Thread: 21314464] [Chan 25] - MF Tx >> 3 [OFF]
> [12:44:13:138] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:13:138] [Thread: 21314464] [Chan 25] - Sending DNIS digit 4
> [12:44:13:138] [Thread: 21314464] [Chan 25] - MF Tx >> 4 [ON]
> [12:44:13:138] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:13:198] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:13:198] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:13:198] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:13:198] [Thread: 21314464] [Chan 25] - MF Tx >> 4 [OFF]
> [12:44:13:258] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:13:258] [Thread: 21314464] [Chan 25] - Sending DNIS digit 9
> [12:44:13:258] [Thread: 21314464] [Chan 25] - MF Tx >> 9 [ON]
> [12:44:13:258] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:13:318] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:13:318] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:13:318] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:13:318] [Thread: 21314464] [Chan 25] - MF Tx >> 9 [OFF]
> [12:44:13:378] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:13:378] [Thread: 21314464] [Chan 25] - Sending DNIS digit 4
> [12:44:13:378] [Thread: 21314464] [Chan 25] - MF Tx >> 4 [ON]
> [12:44:13:378] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:13:438] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:13:438] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:13:438] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:13:438] [Thread: 21314464] [Chan 25] - MF Tx >> 4 [OFF]
> [12:44:13:518] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:13:518] [Thread: 21314464] [Chan 25] - Sending DNIS digit 6
> [12:44:13:518] [Thread: 21314464] [Chan 25] - MF Tx >> 6 [ON]
> [12:44:13:518] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:13:578] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:13:578] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:13:578] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:13:578] [Thread: 21314464] [Chan 25] - MF Tx >> 6 [OFF]
> [12:44:13:638] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:13:638] [Thread: 21314464] [Chan 25] - Sending DNIS digit 7
> [12:44:13:638] [Thread: 21314464] [Chan 25] - MF Tx >> 7 [ON]
> [12:44:13:638] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:13:718] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:13:718] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:13:718] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:13:718] [Thread: 21314464] [Chan 25] - MF Tx >> 7 [OFF]
> [12:44:13:798] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:13:798] [Thread: 21314464] [Chan 25] - Sending DNIS digit 1
> [12:44:13:798] [Thread: 21314464] [Chan 25] - MF Tx >> 1 [ON]
> [12:44:13:798] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:13:858] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:13:858] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:13:858] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:13:858] [Thread: 21314464] [Chan 25] - MF Tx >> 1 [OFF]
> [12:44:13:918] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:13:918] [Thread: 21314464] [Chan 25] - Sending DNIS digit 9
> [12:44:13:918] [Thread: 21314464] [Chan 25] - MF Tx >> 9 [ON]
> [12:44:13:918] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:13:998] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:13:998] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:13:998] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:13:998] [Thread: 21314464] [Chan 25] - MF Tx >> 9 [OFF]
> [12:44:14:058] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:14:058] [Thread: 21314464] [Chan 25] - Sending DNIS digit 5
> [12:44:14:058] [Thread: 21314464] [Chan 25] - MF Tx >> 5 [ON]
> [12:44:14:058] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:14:098] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:14:098] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:14:098] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:14:098] [Thread: 21314464] [Chan 25] - MF Tx >> 5 [OFF]
> [12:44:14:179] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:14:179] [Thread: 21314464] [Chan 25] - Sending DNIS digit 0
> [12:44:14:179] [Thread: 21314464] [Chan 25] - MF Tx >> 0 [ON]
> [12:44:14:179] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:14:238] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:14:238] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:14:238] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:14:238] [Thread: 21314464] [Chan 25] - MF Tx >> 0 [OFF]
> [12:44:14:298] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:14:298] [Thread: 21314464] [Chan 25] - Sending DNIS digit 9
> [12:44:14:298] [Thread: 21314464] [Chan 25] - MF Tx >> 9 [ON]
> [12:44:14:298] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:14:358] [Thread: 21314464] [Chan 25] - MF Rx << 1 [ON]
> [12:44:14:358] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:14:358] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> [12:44:14:358] [Thread: 21314464] [Chan 25] - MF Tx >> 9 [OFF]
> [12:44:14:418] [Thread: 21314464] [Chan 25] - MF Rx << 1 [OFF]
> [12:44:14:418] [Thread: 21314464] [Chan 25] - No more DNIS. Doing nothing,
> waiting for timeout.
> [12:44:14:418] [Thread: 21314464] [Chan 25] - Group A DNIS request handled
> [12:44:24:418] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 3
> [12:44:24:418] [Thread: 21314464] [Chan 25] - timer id 3 found, cancelling
> it now
> [12:44:24:418] [Thread: 21314464] [Chan 25] - calling timer callback
> [12:44:24:418] [Thread: 21314464] [Chan 25] - Protocol error. Reason =
> Forward Safety Timeout, R2 State = Seize ACK Received, MF state = Waiting
> Far End Time
> out, MF Group = Forward Group I, CAS = 0x0C
> DNIS = 0034946719509, ANI = 290, MF = 0x20
> [12:44:24:418] [Thread: 21314464] [Chan 25] - Attempting to cancel timer
> timer 0
> [12:44:24:418] [Thread: 21314464] [Chan 25] - Cannot cancel timer 0
> 
> 
> And this is what Telmex is saying... Maybe its something related to timeout
> config on r2proto?
> 
> WO     IZTAC/64-A/04-00  AT-16          TIME 100223 1248  PAGE    1
> RECORDING OF TELEPHONY SIGNALS RECORDED RESULTS
> RI               :  0
> TEST OBJECT       : BL3DM-793
> ROUTE            : -
> GROUP NUMBER      : 5555196940
> SUBROUTE         : B-0
> CONNECTED ROUTE   : CR
> GLOBAL STATE      : IDLE
> START TIME       : 1247
> FIRST SIGNAL TIME : 124742
> 
> TIME  TDIFF  SIGNAL                  DIR BITS      RP ST. DEVICE
> 
> 39770 0000000                         S   0000 1001 H'35   BL3DM-793
> 39770 0000000                         R  0000 1001 H'35   BL3DM-793
> 42000 0002230                         R   0000 1000 H'35   BL3DM-793
> 42020 0000020                         R   0000 1000 H'4    BL3DM-793
> 42020 0000000 SEIZURE ACKN.           S   0000 1011 H'4    BL3DM-793
> 42090 0000070 GROUP I 10              R   0000 1010 H'2    CSRLM-27
> 42090 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 57790 0000180 GROUP I 10              R   0000 1010 H'3    CSRLM-70
>  cdmxdfizds1             channel: metm2
> 42230 0000140 GROUP I 10              R   0000 1010 H'3    CSRLM-27
> 42230 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 42350 0000120 GROUP I 3               R   0000 0011 H'3    CSRLM-27
> 42350 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 42470 0000120 GROUP I 4               R   0000 0100 H'3    CSRLM-27
> 42470 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 42590 0000120 GROUP I 9               R   0000 1001 H'3    CSRLM-27
> 42590 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 42720 0000130 GROUP I 4               R   0000 0100 H'3    CSRLM-27
> 42720 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 42840 0000120 GROUP I 6               R   0000 0110 H'3    CSRLM-27
> 42840 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 42970 0000130 GROUP I 7               R   0000 0111 H'3    CSRLM-27
> 42970 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 43090 0000120 GROUP I 1               R   0000 0001 H'3    CSRLM-27
> 43090 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 43220 0000130 GROUP I 9               R   0000 1001 H'3    CSRLM-27
> 43220 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 43340 0000120 GROUP I 5               R   0000 0101 H'3    CSRLM-27
> 43340 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 43470 0000130 GROUP I 10              R   0000 1010 H'3    CSRLM-27
> 43470 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 43600 0000130 GROUP I 9               R   0000 1001 H'3    CSRLM-27
> 43600 0000000 A1                      S   0000 0001 H'3    CSRLM-27
> 53700 0010100                         R   0000 1001 H'4    BL3DM-793
> 53730 0000030                         R   0000 1001 H'1A   BL3DM-793
> 53730 0000000 RELEASE GUARD           S   0000 1001 H'1A   BL3DM-793
> 53980 0000250                         R   0000 1001 H'35   BL3DM-793
> 53980 0000000 IDLE                    S   0000 1001 H'35   BL3DM-793
> 
> Can you help?
> 
> 
> 
> --
> _____________________________________________________________________
> -- 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





More information about the asterisk-r2 mailing list