Revision
15013
Author
brian
Date
2009-09-29 14:05:10 -0500 (Tue, 29 Sep 2009)

Log Message

 DP-8

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c (15012 => 15013)


--- freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	2009-09-29 19:03:48 UTC (rev 15012)
+++ freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	2009-09-29 19:05:10 UTC (rev 15013)
@@ -1519,6 +1519,11 @@
 			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;