hi, all I have test echo application for just fun. I can'nt understand why this is used below in .c file, format = ast_best_codec(chan->nativeformats); ast_set_write_format(chan, format); ast_set_read_format(chan, format); without this this application work fine. then why this is used. any suggestion?? Bhrugu mehta