[asterisk-users] app_echo.c

Bhrugu Mehta bhrugumehta at gmail.com
Mon Dec 31 00:05:16 CST 2007


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



More information about the asterisk-users mailing list