From: Anthony Minessale Date: Thu, 18 Jan 2007 16:06:04 +0000 (+0000) Subject: pre_answer only in ivr menus (you will have to actually answer yourself) X-Git-Tag: v1.0-beta1~1341 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed0524c2fca7b041a6832277cd975429b581e067;p=thirdparty%2Ffreeswitch.git pre_answer only in ivr menus (you will have to actually answer yourself) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3987 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 7f7214f220..152d0a7d3c 100644 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -420,7 +420,7 @@ static void ivr_application_function(switch_core_session_t *session, char *data) #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 {