From: Anthony Minessale Date: Thu, 23 Jun 2011 00:03:33 +0000 (-0500) Subject: FS-3275 try this then X-Git-Tag: v1.2-rc1~108^2^2~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eb3ff7af06bf3fe092826553e89d4a24d2c4e4e;p=thirdparty%2Ffreeswitch.git FS-3275 try this then --- diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 8f3e920d9a..208cdd7292 100755 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -1826,6 +1826,8 @@ static switch_status_t xfer_on_dtmf(switch_core_session_t *session, void *input, app = "intercept"; } switch_core_session_rwunlock(b_session); + } else { + switch_channel_set_state(channel, CS_RESET); } if ((extension = switch_caller_extension_new(peer_session, app, app_arg)) == 0) { @@ -1840,7 +1842,6 @@ static switch_status_t xfer_on_dtmf(switch_core_session_t *session, void *input, switch_channel_wait_for_state(peer_channel, channel, CS_RESET); switch_channel_set_state(peer_channel, CS_EXECUTE); switch_channel_set_variable(channel, SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE, NULL); - return SWITCH_STATUS_FALSE; }