[Freeswitch-svn] [commit] r7063 - freeswitch/trunk/src/mod/applications/mod_dptools
Freeswitch SVN
mikej at freeswitch.org
Wed Jan 2 13:16:32 EST 2008
Author: mikej
Date: Wed Jan 2 13:16:32 2008
New Revision: 7063
Modified:
freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
Log:
make echo work from event socket (MODEVENT-10)
Modified: freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c Wed Jan 2 13:16:32 2008
@@ -1023,9 +1023,9 @@
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)
More information about the Freeswitch-svn
mailing list