[Freeswitch-svn] [commit] r3987 - freeswitch/trunk/src/mod/applications/mod_dptools

Freeswitch SVN anthm at freeswitch.org
Thu Jan 18 11:06:04 EST 2007


Author: anthm
Date: Thu Jan 18 11:06:04 2007
New Revision: 3987

Modified:
   freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c

Log:
pre_answer only in ivr menus (you will have to actually answer yourself)

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	Thu Jan 18 11:06:04 2007
@@ -420,7 +420,7 @@
 #endif
 						&& switch_ivr_menu_stack_xml_build(xml_ctx,&menu_stack,xml_menus,xml_menu) == SWITCH_STATUS_SUCCESS)
 					{
-						switch_channel_answer(channel);
+						switch_channel_pre_answer(channel);
 						switch_ivr_menu_execute(session,menu_stack,params,NULL);
 						switch_ivr_menu_stack_free(menu_stack);
 					} else {



More information about the Freeswitch-svn mailing list