For chan_lcr with Asterisk 1.8, set the codec type of a frame into the correct