From: Arnold Schulz Date: Tue, 8 Nov 2011 15:14:57 +0000 (+0100) Subject: For chan_lcr with Asterisk 1.8, set the codec type of a frame into the correct X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=commitdiff_plain;h=77bacac2bd6eaeb33b280458e0839b772f9ad18c;hp=77bacac2bd6eaeb33b280458e0839b772f9ad18c For chan_lcr with Asterisk 1.8, set the codec type of a frame into the correct union member ast_frame_subclass::codec (instead of ast_frame_subclass::integer). The old code caused an error in some environments, eg big endian Arm (armeb): "__ast_read: Dropping incompatible voice frame on lcr/1 of format alaw ..." Signed-off-by: Arnold Schulz Signed-off-by: Andreas Eversberg ---