[asterisk-users] app_echo.c

Mojo with Horan & Company, LLC mojo at horanappraisals.com
Mon Dec 31 12:32:33 CST 2007


I would GUESS that if this line is removed, asterisk is settling on slin 
codec for the channel and does not try to negotiate anything better?  
Hence it will work without it.

Mojo

Bhrugu Mehta wrote:
> 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
>   




More information about the asterisk-users mailing list