[zaptel-commits] kpfleming: branch kpfleming/dtmf-twister r3483 - /team/kpfleming/dtmf-twister/

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Fri Dec 14 14:42:52 CST 2007


Author: kpfleming
Date: Fri Dec 14 14:42:52 2007
New Revision: 3483

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3483
Log:
update to new API for zt_dtmf_tone

Modified:
    team/kpfleming/dtmf-twister/wcusb.c

Modified: team/kpfleming/dtmf-twister/wcusb.c
URL: http://svn.digium.com/view/zaptel/team/kpfleming/dtmf-twister/wcusb.c?view=diff&rev=3483&r1=3482&r2=3483
==============================================================================
--- team/kpfleming/dtmf-twister/wcusb.c (original)
+++ team/kpfleming/dtmf-twister/wcusb.c Fri Dec 14 14:42:52 2007
@@ -393,7 +393,7 @@
 			}
 			if (debug) printk("wcusb: got digit %d\n", d->scanned_event);
 			if (digit != 'z') {
-				d->tone = zt_dtmf_tone(digit, 0);
+				d->tone = zt_dtmf_tone(&p->chan, digit);
 				if (!d->tone) {
 					printk("wcusb: Didn't get a tone structure\n");
 					goto func_end;




More information about the zaptel-commits mailing list