]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
DP-8
authorBrian West <brian@freeswitch.org>
Tue, 29 Sep 2009 19:05:10 +0000 (19:05 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 29 Sep 2009 19:05:10 +0000 (19:05 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15013 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_dptools/mod_dptools.c

index b282476438cd3b5c1434d3b304cdc72050824da9..ea4ebcfecd3bcc71241a00c82f99400649d9a69c 100644 (file)
@@ -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;