[Asterisk-Users] chan_zap.c - echo cancelation getting in the
way of dialing????
mvickers at real.com
mvickers at real.com
Wed Oct 8 12:40:11 MST 2003
The solution was provided by Martin Pycko, thanks Martin...
Yeah, edit the asterisk/channels/chan_zap.c
and find this context:
case SIG_SF_FEATB:
res = my_getsigstr(chan,dtmfbuf +
1,'#',3000);
if (res < 1) ast_dsp_digitreset(p->dsp);
break;
default:
/* If we got it, get the rest */
res = my_getsigstr(chan,dtmfbuf + 1,'
',250);
break;
}
change the 250 to 500 for a start and "make install" in asterisk.
That could help if not increase the value.
Mark Vickers, RealNetworks Inc. Desk: (206) 674-2391 Fax: (206)674-3588
On Mon, 6 Oct 2003 mvickers at real.com wrote:
>
> It seems consistant after dialing dozens of times that the call that
> doesn't go through is the one the gets the log message "No
> echocancellation requested" (chan_zap.c) and the "Scheduleing timer"
> (channel.c) in the middle of receiving the DTMF tones.
>
> I'm now using the T400P card last week very simular problems the the T100P
> (although I think I was actually loosing digits with the T100P card)
>
>
> *******************
> Example of failure Below Echo cancelation in middle of DTMF tones not all
> digits received.
> *******************
>
> Oct 6 10:55:12 DEBUG[27664]: File chan_zap.c, Line 3428 (zt_read): DTMF digit: 6 on Zap/18-1
> Oct 6 10:55:13 DEBUG[27664]: File chan_zap.c, Line 3428 (zt_read): DTMF digit: 9 on Zap/18-1
> Oct 6 10:55:13 DEBUG[27664]: File chan_zap.c, Line 1056 (zt_enable_ec): No echocancellation requested
> Oct 6 10:55:16 DEBUG[27664]: File channel.c, Line 953 (ast_settimeout): Scheduling timer at 160 sample intervals
> Oct 6 10:55:16 DEBUG[27664]: File chan_zap.c, Line 3428 (zt_read): DTMF digit: 7 on Zap/18-1
> Oct 6 10:55:21 DEBUG[27664]: File channel.c, Line 953 (ast_settimeout): Scheduling timer at 0 sample intervals
> Oct 6 10:55:21 DEBUG[27664]: File channel.c, Line 953 (ast_settimeout): Scheduling timer at 0 sample intervals
> Oct 6 10:55:21 DEBUG[27664]: File chan_zap.c, Line 1629 (zt_hangup): Hangup: channel: 18 index = 0, normal = 36, callwait = -1, thirdcall = -1
> Oct 6 10:55:21 DEBUG[27664]: File chan_zap.c, Line 1996 (zt_setoption): Set option TDD MODE, value: OFF(0) on Zap/18-1
> Oct 6 10:55:21 DEBUG[27664]: File chan_zap.c, Line 1028 (update_conf): Updated conferencing on 18, with 0 conference users
> Oct 6 10:56:15 DEBUG[5126]: File chan_sip.c, Line 657 (create_addr): Setting NAT on RTP to 0
> Oct 6 10:56:15 DEBUG[5126]: File chan_sip.c, Line 548 (__sip_ack): Stopping retransmission on '0c2586220717bdda69153c53788bcf1d at 172.20.1.67'
> of Request 102: Found
>
>
> ****************************
> Working call
> ****************************
>
> Oct 6 10:59:55 DEBUG[28688]: File chan_zap.c, Line 3428 (zt_read): DTMF digit: 6 on Zap/19-1
> Oct 6 10:59:56 DEBUG[28688]: File chan_zap.c, Line 3428 (zt_read): DTMF digit: 9 on Zap/19-1
> Oct 6 10:59:56 DEBUG[28688]: File chan_zap.c, Line 3428 (zt_read): DTMF digit: 7 on Zap/19-1
> Oct 6 10:59:56 DEBUG[28688]: File chan_zap.c, Line 3428 (zt_read): DTMF digit: 1 on Zap/19-1
> Oct 6 10:59:56 DEBUG[28688]: File chan_zap.c, Line 1056 (zt_enable_ec): No echocancellation requested
> Oct 6 10:59:56 DEBUG[28688]: File chan_sip.c, Line 657 (create_addr): Setting NAT on RTP to 0
> Oct 6 10:59:56 DEBUG[28688]: File chan_sip.c, Line 857 (sip_call): Outgoing Call for mvickers
> Oct 6 10:59:56 DEBUG[5126]: File chan_sip.c, Line 568 (__sip_semi_ack): (Provisional) Stopping retransmission (but retaining packet) on
> '5ecb985524e3ec232cf3e54d59674900 at 172.20.1.67' Request 102: Found
> Oct 6 10:59:57 DEBUG[5126]: File chan_sip.c, Line 568 (__sip_semi_ack): (Provisional) Stopping retransmission (but retaining packet) on
> '5ecb985524e3ec232cf3e54d59674900 at 172.20.1.67' Request 102: Found
> Oct 6 10:59:57 DEBUG[28688]: File chan_zap.c, Line 3612 (zt_indicate):
> Received AST_CONTROL_PROGRESS on Zap/19-1
>
>
> ***********************************
> A call that got all the digits but still fialed:
> ************************************
>
>
> Oct 6 11:08:41 DEBUG[40976]: File chan_zap.c, Line 3428 (zt_read): DTMF digit: 6 on Zap/6-1
> Oct 6 11:08:42 DEBUG[40976]: File chan_zap.c, Line 3428 (zt_read): DTMF digit: 9 on Zap/6-1
> Oct 6 11:08:42 DEBUG[40976]: File chan_zap.c, Line 3428 (zt_read): DTMF digit: 7 on Zap/6-1
> Oct 6 11:08:42 DEBUG[40976]: File chan_zap.c, Line 1056 (zt_enable_ec): No echocancellation requested
> Oct 6 11:08:45 DEBUG[40976]: File channel.c, Line 953 (ast_settimeout): Scheduling timer at 160 sample intervals
> Oct 6 11:08:45 DEBUG[40976]: File chan_zap.c, Line 3428 (zt_read): DTMF digit: 1 on Zap/6-1
> Oct 6 11:08:50 DEBUG[40976]: File channel.c, Line 953 (ast_settimeout): Scheduling timer at 0 sample intervals
> Oct 6 11:08:50 DEBUG[40976]: File channel.c, Line 953 (ast_settimeout): Scheduling timer at 0 sample intervals
> Oct 6 11:08:50 DEBUG[40976]: File chan_zap.c, Line 1629 (zt_hangup): Hangup: channel: 6 index = 0, normal = 24, callwait = -1, thirdcall = -1
> Oct 6 11:08:50 DEBUG[40976]: File chan_zap.c, Line 1996 (zt_setoption): Set option TDD MODE, value: OFF(0) on Zap/6-1
> Oct 6 11:08:50 DEBUG[40976]: File chan_zap.c, Line 1028 (update_conf): Updated conferencing on 6, with 0 conference users
>
>
>
>
> Mark Vickers, RealNetworks Inc. Desk: (206) 674-2391 Fax: (206)674-3588
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list