I am developing an application using Asterisk and have written a C file which reads the audio frames that are input on a channel and stores these frames on an array. This continues untill the user presses ‘#’, when I send the stored audio frames onto the channel using ast_write function. However, I am not able to hear anything on the channel. I was expecting to hear my recording. I am able to hear back on the channel if I just keep sending the audio frames as they come into the channel back into the channel. Is there some catch in doing this?