From: Brian West Date: Mon, 6 Mar 2006 16:27:00 +0000 (+0000) Subject: git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@762 d0543943-73ff-0310... X-Git-Tag: v1.0-beta1~3115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19cdfd0d137d4b57af4e2c974b33ce38f1572d2;p=thirdparty%2Ffreeswitch.git git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@762 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_echo/mod_echo.c b/src/mod/applications/mod_echo/mod_echo.c index b0fee9a4a5..7570ed5717 100644 --- a/src/mod/applications/mod_echo/mod_echo.c +++ b/src/mod/applications/mod_echo/mod_echo.c @@ -57,7 +57,7 @@ static void echo_function(switch_core_session *session, char *data) NULL, switch_core_session_get_pool(session)) == SWITCH_STATUS_SUCCESS) { switch_console_printf(SWITCH_CHANNEL_CONSOLE, "Raw Codec Activated\n"); switch_core_session_set_read_codec(session, &codec); - switch_core_session_set_read_codec(session, &codec); + switch_core_session_set_write_codec(session, &codec); while(switch_channel_ready(channel)) { switch_core_session_read_frame(session, &frame, -1, 0); switch_core_session_write_frame(session, frame, -1 ,0);