[Asterisk-Dev] DTMF detection on modem(ISDN)
Tomaz Izanc
izol at itt.nu
Fri Nov 7 11:17:36 MST 2003
server:/usr/src/linux/drivers/isdn# patch -p0 <
../../../isdn-kernel-dtmf-dsp-patch.diff
patching file isdn_tty.c
patch: **** malformed patch at line 9: (info->emu.vpar[1]))
what can be this?
if anyone know?
tnx,
tomaz
>>>>------------------------------------------------------------------------
>>>>
>>>>--- /root/isdn_tty.c 2003-11-05 18:02:49.000000000 +1100
>>>>+++ isdn_tty.c 2003-11-05 18:08:46.000000000 +1100
>>>>@@ -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
>>>>
>>>>
>
>
More information about the asterisk-dev
mailing list