Sunday, December 30, 2007

[asterisk-users] app_echo.c

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

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users

No comments: