git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@762 d0543943-73ff-0310-b7d9-9358b9ac24b2

This commit is contained in:
Brian West 2006-03-06 16:27:00 +00:00
parent 61dc8a6a85
commit f19cdfd0d1
1 changed files with 1 additions and 1 deletions

View File

@ -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);