--On Monday, March 24, 2003 1:00 pm +1100 Adam Goryachev <[EMAIL PROTECTED]> wrote:
Does anyone know the location of the kernel patch to disable isdn dtmf detection?
The patch below should do that.
Also the location of the asterisk patch for doing the dtmf detection?
Pauline Middelink posted it to the list - search on her name and it'll turn up.
Iain
--- /build/linux-2.4.20/drivers/isdn/isdn_tty.c Fri Dec 21 17:41:54 2001
+++ isdn_tty.c Sat Feb 1 09:14:33 2003
@@ -133,9 +133,9 @@
if (info->online) {
r = 0;
#ifdef CONFIG_ISDN_AUDIO
- isdn_audio_eval_dtmf(info);
- if ((info->vonline & 1) && (info->emu.vpar[1]))
- isdn_audio_eval_silence(info);
+// isdn_audio_eval_dtmf(info);
+// if ((info->vonline & 1) && (info->emu.vpar[1]))
+// isdn_audio_eval_silence(info);
#endif
if ((tty = info->tty)) {
if (info->mcr & UART_MCR_RTS) {
@@ -190,10 +190,10 @@
#ifdef CONFIG_ISDN_AUDIO
ifmt = 1;
- if ((info->vonline) && (!info->emu.vpar[4])) - isdn_audio_calc_dtmf(info, skb->data, skb->len, ifmt); - if ((info->vonline & 1) && (info->emu.vpar[1])) - isdn_audio_calc_silence(info, skb->data, skb->len, ifmt); +// if ((info->vonline) && (!info->emu.vpar[4])) +// isdn_audio_calc_dtmf(info, skb->data, skb->len, ifmt); +// if ((info->vonline & 1) && (info->emu.vpar[1])) +// isdn_audio_calc_silence(info, skb->data, skb->len, ifmt); #endif if ((info->online < 2) #ifdef CONFIG_ISDN_AUDIO _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users