[asterisk-r2] RES: RES: RES: DTMF Setup

Cordeiro, Marco marco.cordeiro at globalstar.com.br
Mon Dec 1 06:04:27 CST 2008


Hello Moy,

 

After the changes recommended by you, we still have the problem with
repeated digits. Following bellow is a trace log of a call with DNIS:
39905218, where it should actually be: 39053912:

 

[09:40:23:522] [Thread: 3067108240] [Chan 12] - M - Call started at Mon Dec
1 09:40:23 2008 on chan 12

[09:40:23:522] [Thread: 3067108240] [Chan 12] - M - ABCD Tx >> [SEIZE ACK]
0x0C

[09:40:23:522] [Thread: 3067108240] [Chan 12] - M - ABCD Raw Tx >> 0x0D

[09:40:24:014] [Thread: 3067108240] [Chan 12] - M - MF Rx << 3 [ON]

[09:40:24:014] [Thread: 3067108240] [Chan 12] - M - Getting DNIS digit 3

[09:40:24:014] [Thread: 3067108240] [Chan 12] - M - DNIS so far: 3, expected
length: 20

[09:40:24:014] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 5 [ON]

[09:40:24:074] [Thread: 3067108240] [Chan 12] - M - MF Rx << 3 [OFF]

[09:40:24:074] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 5 [OFF]

[09:40:24:154] [Thread: 3067108240] [Chan 12] - M - MF Rx << 1 [ON]

[09:40:24:154] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 5 [ON]

[09:40:24:234] [Thread: 3067108240] [Chan 12] - M - MF Rx << 1 [OFF]

[09:40:24:234] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 5 [OFF]

[09:40:24:334] [Thread: 3067108240] [Chan 12] - M - MF Rx << 5 [ON]

[09:40:24:334] [Thread: 3067108240] [Chan 12] - M - Getting ANI digit 5

[09:40:24:334] [Thread: 3067108240] [Chan 12] - M - ANI so far: 5, expected
length: 20

[09:40:24:334] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 5 [ON]

[09:40:24:414] [Thread: 3067108240] [Chan 12] - M - MF Rx << 5 [OFF]

[09:40:24:414] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 5 [OFF]

[09:40:24:514] [Thread: 3067108240] [Chan 12] - M - MF Rx << 2 [ON]

[09:40:24:514] [Thread: 3067108240] [Chan 12] - M - Getting ANI digit 2

[09:40:24:514] [Thread: 3067108240] [Chan 12] - M - ANI so far: 52, expected
length: 20

[09:40:24:514] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 5 [ON]

[09:40:24:614] [Thread: 3067108240] [Chan 12] - M - MF Rx << 2 [OFF]

[09:40:24:614] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 5 [OFF]

[09:40:24:714] [Thread: 3067108240] [Chan 12] - M - MF Rx << 0 [ON]

[09:40:24:714] [Thread: 3067108240] [Chan 12] - M - Getting ANI digit 0

[09:40:24:714] [Thread: 3067108240] [Chan 12] - M - ANI so far: 520,
expected length: 20

[09:40:24:714] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 5 [ON]

[09:40:24:814] [Thread: 3067108240] [Chan 12] - M - MF Rx << 0 [OFF]

[09:40:24:814] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 5 [OFF]

[09:40:24:914] [Thread: 3067108240] [Chan 12] - M - MF Rx << F [ON]

[09:40:24:914] [Thread: 3067108240] [Chan 12] - M - Got end of ANI

[09:40:24:914] [Thread: 3067108240] [Chan 12] - M - Requesting next DNIS
with signal 0x31.

[09:40:24:914] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [ON]

[09:40:24:994] [Thread: 3067108240] [Chan 12] - M - MF Rx << F [OFF]

[09:40:24:994] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [OFF]

[09:40:25:094] [Thread: 3067108240] [Chan 12] - M - MF Rx << 9 [ON]

[09:40:25:094] [Thread: 3067108240] [Chan 12] - M - Getting DNIS digit 9

[09:40:25:094] [Thread: 3067108240] [Chan 12] - M - DNIS so far: 39,
expected length: 20

[09:40:25:094] [Thread: 3067108240] [Chan 12] - M - Requesting next DNIS
with signal 0x31.

[09:40:25:094] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [ON]

[09:40:25:134] [Thread: 3067108240] [Chan 12] - M - MF Rx << 9 [OFF]

[09:40:25:134] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [OFF]

[09:40:25:154] [Thread: 3067108240] [Chan 12] - M - MF Rx << 9 [ON]

[09:40:25:154] [Thread: 3067108240] [Chan 12] - M - Getting DNIS digit 9

[09:40:25:154] [Thread: 3067108240] [Chan 12] - M - DNIS so far: 399,
expected length: 20

[09:40:25:154] [Thread: 3067108240] [Chan 12] - M - Requesting next DNIS
with signal 0x31.

[09:40:25:154] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [ON]

[09:40:25:174] [Thread: 3067108240] [Chan 12] - M - MF Rx << 9 [OFF]

[09:40:25:174] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [OFF]

[09:40:25:274] [Thread: 3067108240] [Chan 12] - M - MF Rx << 0 [ON]

[09:40:25:274] [Thread: 3067108240] [Chan 12] - M - Getting DNIS digit 0

[09:40:25:274] [Thread: 3067108240] [Chan 12] - M - DNIS so far: 3990,
expected length: 20

[09:40:25:274] [Thread: 3067108240] [Chan 12] - M - Requesting next DNIS
with signal 0x31.

[09:40:25:274] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [ON]

[09:40:25:334] [Thread: 3067108240] [Chan 12] - M - MF Rx << 0 [OFF]

[09:40:25:334] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [OFF]

[09:40:25:554] [Thread: 3067108240] [Chan 12] - M - MF Rx << 5 [ON]

[09:40:25:554] [Thread: 3067108240] [Chan 12] - M - Getting DNIS digit 5

[09:40:25:554] [Thread: 3067108240] [Chan 12] - M - DNIS so far: 39905,
expected length: 20

[09:40:25:554] [Thread: 3067108240] [Chan 12] - M - Requesting next DNIS
with signal 0x31.

[09:40:25:554] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [ON]

[09:40:25:634] [Thread: 3067108240] [Chan 12] - M - MF Rx << 5 [OFF]

[09:40:25:634] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [OFF]

[09:40:26:314] [Thread: 3067108240] [Chan 12] - M - MF Rx << 2 [ON]

[09:40:26:314] [Thread: 3067108240] [Chan 12] - M - Getting DNIS digit 2

[09:40:26:314] [Thread: 3067108240] [Chan 12] - M - DNIS so far: 399052,
expected length: 20

[09:40:26:314] [Thread: 3067108240] [Chan 12] - M - Requesting next DNIS
with signal 0x31.

[09:40:26:314] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [ON]

[09:40:26:374] [Thread: 3067108240] [Chan 12] - M - MF Rx << 2 [OFF]

[09:40:26:374] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [OFF]

[09:40:27:854] [Thread: 3067108240] [Chan 12] - M - MF Rx << 1 [ON]

[09:40:27:854] [Thread: 3067108240] [Chan 12] - M - Getting DNIS digit 1

[09:40:27:854] [Thread: 3067108240] [Chan 12] - M - DNIS so far: 3990521,
expected length: 20

[09:40:27:854] [Thread: 3067108240] [Chan 12] - M - Requesting next DNIS
with signal 0x31.

[09:40:27:854] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [ON]

[09:40:27:954] [Thread: 3067108240] [Chan 12] - M - MF Rx << 1 [OFF]

[09:40:27:954] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [OFF]

[09:40:28:494] [Thread: 3067108240] [Chan 12] - M - MF Rx << 8 [ON]

[09:40:28:494] [Thread: 3067108240] [Chan 12] - M - Getting DNIS digit 8

[09:40:28:494] [Thread: 3067108240] [Chan 12] - M - DNIS so far: 39905218,
expected length: 20

[09:40:28:494] [Thread: 3067108240] [Chan 12] - M - User requested us to
stop getting DNIS!

[09:40:28:494] [Thread: 3067108240] [Chan 12] - M - Requesting change to
Group II with signal 0x33

[09:40:28:494] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 3 [ON]

[09:40:28:554] [Thread: 3067108240] [Chan 12] - M - MF Rx << 8 [OFF]

[09:40:28:554] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 3 [OFF]

[09:40:28:654] [Thread: 3067108240] [Chan 12] - M - MF Rx << 1 [ON]

[09:40:28:654] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [ON]

[09:40:28:734] [Thread: 3067108240] [Chan 12] - M - MF Rx << 1 [OFF]

[09:40:28:734] [Thread: 3067108240] [Chan 12] - M - MF Tx >> 1 [OFF]

[09:40:28:894] [Thread: 3067108240] [Chan 12] - M - calling callback on chan
12

[09:40:28:895] [Thread: 3056479120] [Chan 12] - M - ABCD Tx >> [ANSWER] 0x04

[09:40:28:895] [Thread: 3056479120] [Chan 12] - M - ABCD Raw Tx >> 0x05

[09:40:39:818] [Thread: 3056479120] [Chan 12] - M - ABCD Raw Rx << 0x09

[09:40:39:818] [Thread: 3056479120] [Chan 12] - M - Bits changed from 0x00
to 0x08

[09:40:39:818] [Thread: 3056479120] [Chan 12] - M - ABCD Rx << [CLEAR
FORWARD] 0x08

[09:40:39:818] [Thread: 3056479120] [Chan 12] - M - Far end disconnected.
Reason: Normal Clearing

[09:40:39:834] [Thread: 3056479120] [Chan 12] - M - Call ended

 

Thanks Again,

 

Marco

 

  _____  

De: asterisk-r2-bounces at lists.digium.com
[mailto:asterisk-r2-bounces at lists.digium.com] Em nome de Cordeiro, Marco
Enviada em: quinta-feira, 27 de novembro de 2008 17:56
Para: asterisk-r2 at lists.digium.com
Assunto: [asterisk-r2] RES: RES: DTMF Setup

 

Thanks Moy! 

Changes already made. I'll monitor and get back to you with the results. 

Thanks once again, 

Marco 

-----Mensagem original----- 
De: asterisk-r2-bounces at lists.digium.com
[mailto:asterisk-r2-bounces at lists.digium.com
<mailto:asterisk-r2-bounces at lists.digium.com> ] Em nome de Moises Silva 
Enviada em: quinta-feira, 27 de novembro de 2008 17:51 
Para: asterisk-r2 at lists.digium.com 
Assunto: Re: [asterisk-r2] RES: DTMF Setup 

Thanks, let's try this. I think there may be a noisy line or something 
that is causing that a tone is intermittent. We need to increase the 
threshold time used to detect a signal. 

in your chan_dahdi.conf add this: 

mfcr2_advanced_protocol_file=/etc/asterisk/r2proto.conf 

Then create the file /etc/asterisk/r2proto.conf with this content: 

mf_threshold=100 

Note that no spaces are allowed, so don't put mf_threshold = 100 or such. 

Restart asterisk, try again and send us again the call log if still fails. 

Moy 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20081201/21d82967/attachment-0001.htm 


More information about the asterisk-r2 mailing list