My program is like this,
PLEASE ENTER DESTINATION NUMBER:
( THEN USER INPUTS A SERIES OF NUMBERS LIKE 238947864)
How do i play wav files of dtmf tones corresponding to the numbers given?
i have used swith case, but it doesnt work. Only if one number is entered it plays the corresponding dtmf wav file and exits.
But if i were to enter a series of number like 2873649, the program exits without playing at all.