make echo work from event socket (MODEVENT-10)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7063 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-01-02 18:16:32 +00:00
parent aac0e46014
commit 86fd0fab70
1 changed files with 2 additions and 2 deletions

View File

@ -1023,9 +1023,9 @@ SWITCH_STANDARD_APP(echo_function)
channel = switch_core_session_get_channel(session);
assert(channel != NULL);
switch_channel_answer(channel);
switch_channel_pre_answer(channel);
switch_channel_set_state(channel, CS_LOOPBACK);
switch_ivr_session_echo(session);
}
SWITCH_STANDARD_APP(park_function)