Help--> Decode DTMF!

I am developing an application using phpAGI and TDM400P card. I have generated some dtmf tones and then play it to the caller. Somehow I get it back. I have stored it in a wave file. Is there any software/tool available which can detect the dtmf tones from the wave file and tell me the characters which were used to generate the dtmf tone.

I am writing this coz I have found the solution to the problem posted by me. While googling, I got a link

Here is a c code to decode DTMF tones in a wave file. You will have to change the value of “N to 205” in detect.h file. And also “Range to 0.2”.