Yo Iain,
On Tue, Jun 17, 2003 at 21:48:34 +0100, Iain McWilliams wrote:
> Hi,
>
> I'm trying to get asterisk running on kernel 2.4.20 however trawling
through
> the archives I've found a few references to patches to remove i4l's
dtmf
> detection, but have been unable to find the patch itself (I think it is
> isdn_audio.c). Can anyone point me in the right direction?
>
> The problem I'm seeing is connecting a SIP softphone (tried a few) to
an
> external number via an Hisax type 35 isdn card causes 1-2 sec silences in
> the audio on the SIP phone.
>
> Any pointers?
I recently did this myself. Here's my patch. Works for me. Your
mileage may vary. :-)
Grtz,
Oliver
Index: channels/chan_modem_i4l.c
==================================================================RCS file:
/usr/cvsroot/asterisk/channels/chan_modem_i4l.c,v
retrieving revision 1.2
diff -u -r1.2 chan_modem_i4l.c
--- channels/chan_modem_i4l.c 27 Apr 2003 21:34:27 -0000 1.2
+++ channels/chan_modem_i4l.c 17 Jun 2003 21:52:04 -0000
@@ -265,7 +265,7 @@
if (option_debug)
ast_log(LOG_DEBUG, "Ignoring Escaped character '%c'
(%d)\n", esc, esc);
return &p->fr;
- case '0':
+ /* case '0':
case '1':
case '2':
case '3':
@@ -280,7 +280,7 @@
ast_log(LOG_DEBUG, "DTMF: '%c' (%d)\n", esc, esc);
p->fr.frametype=AST_FRAME_DTMF;
p->fr.subclass=esc;
- return &p->fr;
+ return &p->fr; */
case 0: /* Pseudo signal */
return &p->fr;
default: