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:
parent
aac0e46014
commit
86fd0fab70
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue