<div dir="ltr">Hello,<br>   I am trying to change the chan_console from doing 16khz to only 8khz, and everything works except for the console_write function.  This still sends frames with 320 samples at 16khz, eventhough I do the below command when I make a new one:<br>
<br>ast_format_set(ast_channel_writeformat(chan), AST_FORMAT_SLINEAR, 0);<br><br>What could be the problem?  Or what other commands should I set to make console_write send me correct frames in 8khz.<br><br>-Ryan</div>