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

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


Author: kpfleming
Date: Fri Dec 14 14:43:06 2007
New Revision: 3484

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3484
Log:
restore behavior of playing silence after DTMF tones that end

Modified:
    team/kpfleming/dtmf-twister/zaptel-base.c

Modified: team/kpfleming/dtmf-twister/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/team/kpfleming/dtmf-twister/zaptel-base.c?view=diff&rev=3484&r1=3483&r2=3484
==============================================================================
--- team/kpfleming/dtmf-twister/zaptel-base.c (original)
+++ team/kpfleming/dtmf-twister/zaptel-base.c Fri Dec 14 14:43:06 2007
@@ -2694,11 +2694,13 @@
 			break;
 		case DTMF_TONE:
 			t->tonesamples = dtmf_length;
+			t->next = &dtmf_silence;
 			z->dtmf_continuous[td.tone] = *t;
 			z->dtmf_continuous[td.tone].next = &z->dtmf_continuous[td.tone];
 			break;
 		case MF_TONE:
 			t->tonesamples = mf_length;
+			t->next = &mfv1_silence;
 			/* Special case for K/P tone */
 			if (td.tone == 10)
 				t->tonesamples *= 5 / 3;




More information about the zaptel-commits mailing list