From 8b884e3d85ccea04633f624e02f68217ed178fc7 Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 29 Sep 2009 19:05:10 +0000 Subject: [PATCH] DP-8 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15013 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_dptools/mod_dptools.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index b282476438..ea4ebcfecd 100644 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -1519,6 +1519,11 @@ static switch_status_t xfer_on_dtmf(switch_core_session_t *session, void *input, switch_channel_t *channel = switch_core_session_get_channel(session); switch_channel_t *peer_channel = switch_core_session_get_channel(peer_session); + if (dtmf->digit == '*') { + switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING); + return SWITCH_STATUS_FALSE; + } + if (dtmf->digit == '#') { switch_channel_hangup(peer_channel, SWITCH_CAUSE_NORMAL_CLEARING); return SWITCH_STATUS_FALSE;