I am working on asterisk project. In this project I have to play dtmf tones in caller and somehow I am getting it back. I want to save this tone. I have a c code to decode this dtmf tone. This c code works fine for *.au files. How can I save a call in *.au file in asterisk. I am using phpAGI and I have used record_file function to store the call. But the tone is not recognized. My c code deals this file as *.wav but it is an au file.
Kindly help me to save this file in au.