[asterisk-r2] Problema de hangup com R2 e RedFone

Alexander alexanderw2003 at ibest.com.br
Mon Feb 20 07:31:31 CST 2012


Bom dia.

 

Acabei de configurar um foneBridge2 com 4 e1. O problema é que quando dou um
hangup no asterisk o a ligação continua ativa, fechando apenas quando
desligo a outra ponta.

 

As 11:17:42:029 Hangup Asterisk

As 11:17:49:265 Desliguei a outra ponta da ligação.

 

Segue abaixo o log do OpenR2.

 

[11:17:26:491] [Thread: 3054603120] [Chan 1] - Call started at Mon Feb 20
11:17:26 2012 on chan 1 [openr2 version 1.3.1, revision (release)]

[11:17:26:491] [Thread: 3054603120] [Chan 1] - Initialized R2 MF detector

[11:17:26:491] [Thread: 3054603120] [Chan 1] - CAS Tx >> [SEIZE ACK] 0x0C

[11:17:26:491] [Thread: 3054603120] [Chan 1] - CAS Raw Tx >> 0x0D

[11:17:26:605] [Thread: 3054603120] [Chan 1] - MF Rx << 8 [ON]

[11:17:26:605] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 0

[11:17:26:605] [Thread: 3054603120] [Chan 1] - Cannot cancel timer 0

[11:17:26:605] [Thread: 3054603120] [Chan 1] - Getting DNIS digit 8

[11:17:26:605] [Thread: 3054603120] [Chan 1] - DNIS so far: 8, expected
length: 4

[11:17:26:605] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [ON]

[11:17:26:605] [Thread: 3054603120] [Chan 1] - scheduled timer id 2
(mf_back_cycle)

[11:17:26:725] [Thread: 3054603120] [Chan 1] - MF Rx << 8 [OFF]

[11:17:26:725] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [OFF]

[11:17:26:844] [Thread: 3054603120] [Chan 1] - MF Rx << 1 [ON]

[11:17:26:845] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 2

[11:17:26:845] [Thread: 3054603120] [Chan 1] - timer id 2 found, cancelling
it now

[11:17:26:845] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [ON]

[11:17:26:845] [Thread: 3054603120] [Chan 1] - scheduled timer id 3
(mf_back_cycle)

[11:17:26:984] [Thread: 3054603120] [Chan 1] - MF Rx << 1 [OFF]

[11:17:26:985] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [OFF]

[11:17:27:104] [Thread: 3054603120] [Chan 1] - MF Rx << 6 [ON]

[11:17:27:105] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 3

[11:17:27:105] [Thread: 3054603120] [Chan 1] - timer id 3 found, cancelling
it now

[11:17:27:105] [Thread: 3054603120] [Chan 1] - Getting ANI digit 6

[11:17:27:105] [Thread: 3054603120] [Chan 1] - ANI so far: 6, expected
length: 20

[11:17:27:105] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [ON]

[11:17:27:105] [Thread: 3054603120] [Chan 1] - scheduled timer id 4
(mf_back_cycle)

[11:17:27:224] [Thread: 3054603120] [Chan 1] - MF Rx << 6 [OFF]

[11:17:27:225] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [OFF]

[11:17:27:344] [Thread: 3054603120] [Chan 1] - MF Rx << 7 [ON]

[11:17:27:345] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 4

[11:17:27:345] [Thread: 3054603120] [Chan 1] - timer id 4 found, cancelling
it now

[11:17:27:345] [Thread: 3054603120] [Chan 1] - Getting ANI digit 7

[11:17:27:345] [Thread: 3054603120] [Chan 1] - ANI so far: 67, expected
length: 20

[11:17:27:345] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [ON]

[11:17:27:345] [Thread: 3054603120] [Chan 1] - scheduled timer id 5
(mf_back_cycle)

[11:17:27:484] [Thread: 3054603120] [Chan 1] - MF Rx << 7 [OFF]

[11:17:27:485] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [OFF]

[11:17:27:604] [Thread: 3054603120] [Chan 1] - MF Rx << 8 [ON]

[11:17:27:605] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 5

[11:17:27:605] [Thread: 3054603120] [Chan 1] - timer id 5 found, cancelling
it now

[11:17:27:605] [Thread: 3054603120] [Chan 1] - Getting ANI digit 8

[11:17:27:605] [Thread: 3054603120] [Chan 1] - ANI so far: 678, expected
length: 20

[11:17:27:605] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [ON]

[11:17:27:605] [Thread: 3054603120] [Chan 1] - scheduled timer id 6
(mf_back_cycle)

[11:17:27:724] [Thread: 3054603120] [Chan 1] - MF Rx << 8 [OFF]

[11:17:27:725] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [OFF]

[11:17:27:844] [Thread: 3054603120] [Chan 1] - MF Rx << 4 [ON]

[11:17:27:845] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 6

[11:17:27:845] [Thread: 3054603120] [Chan 1] - timer id 6 found, cancelling
it now

[11:17:27:845] [Thread: 3054603120] [Chan 1] - Getting ANI digit 4

[11:17:27:845] [Thread: 3054603120] [Chan 1] - ANI so far: 6784, expected
length: 20

[11:17:27:845] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [ON]

[11:17:27:845] [Thread: 3054603120] [Chan 1] - scheduled timer id 7
(mf_back_cycle)

[11:17:27:964] [Thread: 3054603120] [Chan 1] - MF Rx << 4 [OFF]

[11:17:27:965] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [OFF]

[11:17:28:084] [Thread: 3054603120] [Chan 1] - MF Rx << 6 [ON]

[11:17:28:085] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 7

[11:17:28:085] [Thread: 3054603120] [Chan 1] - timer id 7 found, cancelling
it now

[11:17:28:085] [Thread: 3054603120] [Chan 1] - Getting ANI digit 6

[11:17:28:085] [Thread: 3054603120] [Chan 1] - ANI so far: 67846, expected
length: 20

[11:17:28:085] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [ON]

[11:17:28:085] [Thread: 3054603120] [Chan 1] - scheduled timer id 8
(mf_back_cycle)

[11:17:28:204] [Thread: 3054603120] [Chan 1] - MF Rx << 6 [OFF]

[11:17:28:204] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [OFF]

[11:17:28:324] [Thread: 3054603120] [Chan 1] - MF Rx << 7 [ON]

[11:17:28:324] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 8

[11:17:28:324] [Thread: 3054603120] [Chan 1] - timer id 8 found, cancelling
it now

[11:17:28:325] [Thread: 3054603120] [Chan 1] - Getting ANI digit 7

[11:17:28:325] [Thread: 3054603120] [Chan 1] - ANI so far: 678467, expected
length: 20

[11:17:28:325] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [ON]

[11:17:28:325] [Thread: 3054603120] [Chan 1] - scheduled timer id 9
(mf_back_cycle)

[11:17:28:464] [Thread: 3054603120] [Chan 1] - MF Rx << 7 [OFF]

[11:17:28:464] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [OFF]

[11:17:28:584] [Thread: 3054603120] [Chan 1] - MF Rx << 2 [ON]

[11:17:28:584] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 9

[11:17:28:585] [Thread: 3054603120] [Chan 1] - timer id 9 found, cancelling
it now

[11:17:28:585] [Thread: 3054603120] [Chan 1] - Getting ANI digit 2

[11:17:28:585] [Thread: 3054603120] [Chan 1] - ANI so far: 6784672, expected
length: 20

[11:17:28:585] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [ON]

[11:17:28:585] [Thread: 3054603120] [Chan 1] - scheduled timer id 10
(mf_back_cycle)

[11:17:28:704] [Thread: 3054603120] [Chan 1] - MF Rx << 2 [OFF]

[11:17:28:704] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [OFF]

[11:17:28:844] [Thread: 3054603120] [Chan 1] - MF Rx << 9 [ON]

[11:17:28:844] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 10

[11:17:28:844] [Thread: 3054603120] [Chan 1] - timer id 10 found, cancelling
it now

[11:17:28:845] [Thread: 3054603120] [Chan 1] - Getting ANI digit 9

[11:17:28:845] [Thread: 3054603120] [Chan 1] - ANI so far: 67846729,
expected length: 20

[11:17:28:845] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [ON]

[11:17:28:845] [Thread: 3054603120] [Chan 1] - scheduled timer id 11
(mf_back_cycle)

[11:17:28:964] [Thread: 3054603120] [Chan 1] - MF Rx << 9 [OFF]

[11:17:28:964] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [OFF]

[11:17:29:084] [Thread: 3054603120] [Chan 1] - MF Rx << 8 [ON]

[11:17:29:084] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 11

[11:17:29:084] [Thread: 3054603120] [Chan 1] - timer id 11 found, cancelling
it now

[11:17:29:084] [Thread: 3054603120] [Chan 1] - Getting ANI digit 8

[11:17:29:085] [Thread: 3054603120] [Chan 1] - ANI so far: 678467298,
expected length: 20

[11:17:29:085] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [ON]

[11:17:29:085] [Thread: 3054603120] [Chan 1] - scheduled timer id 12
(mf_back_cycle)

[11:17:29:204] [Thread: 3054603120] [Chan 1] - MF Rx << 8 [OFF]

[11:17:29:204] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [OFF]

[11:17:29:324] [Thread: 3054603120] [Chan 1] - MF Rx << 4 [ON]

[11:17:29:324] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 12

[11:17:29:324] [Thread: 3054603120] [Chan 1] - timer id 12 found, cancelling
it now

[11:17:29:324] [Thread: 3054603120] [Chan 1] - Getting ANI digit 4

[11:17:29:324] [Thread: 3054603120] [Chan 1] - ANI so far: 6784672984,
expected length: 20

[11:17:29:324] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [ON]

[11:17:29:325] [Thread: 3054603120] [Chan 1] - scheduled timer id 13
(mf_back_cycle)

[11:17:29:444] [Thread: 3054603120] [Chan 1] - MF Rx << 4 [OFF]

[11:17:29:444] [Thread: 3054603120] [Chan 1] - MF Tx >> 5 [OFF]

[11:17:29:544] [Thread: 3054603120] [Chan 1] - MF Rx << F [ON]

[11:17:29:544] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 13

[11:17:29:544] [Thread: 3054603120] [Chan 1] - timer id 13 found, cancelling
it now

[11:17:29:544] [Thread: 3054603120] [Chan 1] - Got end of ANI

[11:17:29:545] [Thread: 3054603120] [Chan 1] - Requesting next DNIS with
signal 0x31.

[11:17:29:545] [Thread: 3054603120] [Chan 1] - MF Tx >> 1 [ON]

[11:17:29:545] [Thread: 3054603120] [Chan 1] - scheduled timer id 14
(mf_back_cycle)

[11:17:29:664] [Thread: 3054603120] [Chan 1] - MF Rx << F [OFF]

[11:17:29:664] [Thread: 3054603120] [Chan 1] - MF Tx >> 1 [OFF]

[11:17:29:784] [Thread: 3054603120] [Chan 1] - MF Rx << 0 [ON]

[11:17:29:784] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 14

[11:17:29:784] [Thread: 3054603120] [Chan 1] - timer id 14 found, cancelling
it now

[11:17:29:784] [Thread: 3054603120] [Chan 1] - Getting DNIS digit 0

[11:17:29:785] [Thread: 3054603120] [Chan 1] - DNIS so far: 80, expected
length: 4

[11:17:29:785] [Thread: 3054603120] [Chan 1] - Requesting next DNIS with
signal 0x31.

[11:17:29:785] [Thread: 3054603120] [Chan 1] - MF Tx >> 1 [ON]

[11:17:29:785] [Thread: 3054603120] [Chan 1] - scheduled timer id 15
(mf_back_cycle)

[11:17:29:904] [Thread: 3054603120] [Chan 1] - MF Rx << 0 [OFF]

[11:17:29:904] [Thread: 3054603120] [Chan 1] - MF Tx >> 1 [OFF]

[11:17:30:024] [Thread: 3054603120] [Chan 1] - MF Rx << 0 [ON]

[11:17:30:024] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 15

[11:17:30:024] [Thread: 3054603120] [Chan 1] - timer id 15 found, cancelling
it now

[11:17:30:024] [Thread: 3054603120] [Chan 1] - Getting DNIS digit 0

[11:17:30:024] [Thread: 3054603120] [Chan 1] - DNIS so far: 800, expected
length: 4

[11:17:30:025] [Thread: 3054603120] [Chan 1] - Requesting next DNIS with
signal 0x31.

[11:17:30:025] [Thread: 3054603120] [Chan 1] - MF Tx >> 1 [ON]

[11:17:30:025] [Thread: 3054603120] [Chan 1] - scheduled timer id 16
(mf_back_cycle)

[11:17:30:144] [Thread: 3054603120] [Chan 1] - MF Rx << 0 [OFF]

[11:17:30:144] [Thread: 3054603120] [Chan 1] - MF Tx >> 1 [OFF]

[11:17:30:264] [Thread: 3054603120] [Chan 1] - MF Rx << 0 [ON]

[11:17:30:264] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 16

[11:17:30:264] [Thread: 3054603120] [Chan 1] - timer id 16 found, cancelling
it now

[11:17:30:264] [Thread: 3054603120] [Chan 1] - Getting DNIS digit 0

[11:17:30:265] [Thread: 3054603120] [Chan 1] - DNIS so far: 8000, expected
length: 4

[11:17:30:265] [Thread: 3054603120] [Chan 1] - User requested us to stop
getting DNIS!

[11:17:30:265] [Thread: 3054603120] [Chan 1] - Requesting change to Group II
with signal 0x33

[11:17:30:265] [Thread: 3054603120] [Chan 1] - MF Tx >> 3 [ON]

[11:17:30:265] [Thread: 3054603120] [Chan 1] - scheduled timer id 17
(mf_back_cycle)

[11:17:30:384] [Thread: 3054603120] [Chan 1] - MF Rx << 0 [OFF]

[11:17:30:384] [Thread: 3054603120] [Chan 1] - MF Tx >> 3 [OFF]

[11:17:30:504] [Thread: 3054603120] [Chan 1] - MF Rx << 1 [ON]

[11:17:30:504] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 17

[11:17:30:504] [Thread: 3054603120] [Chan 1] - timer id 17 found, cancelling
it now

[11:17:30:505] [Thread: 3054603120] [Chan 1] - MF Tx >> 1 [ON]

[11:17:30:505] [Thread: 3054603120] [Chan 1] - scheduled timer id 18
(mf_back_cycle)

[11:17:30:624] [Thread: 3054603120] [Chan 1] - MF Rx << 1 [OFF]

[11:17:30:624] [Thread: 3054603120] [Chan 1] - MF Tx >> 1 [OFF]

[11:17:30:624] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 18

[11:17:30:624] [Thread: 3054603120] [Chan 1] - timer id 18 found, cancelling
it now

[11:17:30:624] [Thread: 3054603120] [Chan 1] - scheduled timer id 19
(r2_answer_delay)

[11:17:30:784] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 19

[11:17:30:784] [Thread: 3054603120] [Chan 1] - timer id 19 found, cancelling
it now

[11:17:30:784] [Thread: 3054603120] [Chan 1] - calling timer 19
(r2_answer_delay) callback

[11:17:30:786] [Thread: 3047967600] [Chan 1] - CAS Tx >> [ANSWER] 0x04

[11:17:30:786] [Thread: 3047967600] [Chan 1] - CAS Raw Tx >> 0x05

[11:17:42:029] [Thread: 3047967600] [Chan 1] - Attempting to cancel timer
timer 0

[11:17:42:029] [Thread: 3047967600] [Chan 1] - Cannot cancel timer 0

[11:17:42:029] [Thread: 3047967600] [Chan 1] - CAS Tx >> [CLEAR BACK] 0x0C

[11:17:42:029] [Thread: 3047967600] [Chan 1] - CAS Raw Tx >> 0x0D

[11:17:49:265] [Thread: 3054603120] [Chan 1] - Bits changed from 0x00 to
0x08

[11:17:49:265] [Thread: 3054603120] [Chan 1] - CAS Rx << [CLEAR FORWARD]
0x08

[11:17:49:265] [Thread: 3054603120] [Chan 1] - Call ended

[11:17:49:265] [Thread: 3054603120] [Chan 1] - Attempting to cancel timer
timer 0

[11:17:49:265] [Thread: 3054603120] [Chan 1] - Cannot cancel timer 0

 

Grato

 

Alexander

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20120220/11c01431/attachment-0001.htm>


More information about the asterisk-r2 mailing list