From 9ef1b0a97495678414991b73af66375c2bf3d84f Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Mon, 6 Aug 2007 21:52:30 +0000 Subject: Extend the ast_senddigit and ast_dtmf_stream API calls to allow the duration of the DTMF digit(s) to be specified and make the SendDTMF application have the capability to use it. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78278 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_features.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'res/res_features.c') diff --git a/res/res_features.c b/res/res_features.c index c90a5c523..df08bb971 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -1678,11 +1678,11 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast digits to come in for features. */ ast_debug(1, "Timed out for feature!\n"); if (!ast_strlen_zero(peer_featurecode)) { - ast_dtmf_stream(chan, peer, peer_featurecode, 0); + ast_dtmf_stream(chan, peer, peer_featurecode, 0, 0); memset(peer_featurecode, 0, sizeof(peer_featurecode)); } if (!ast_strlen_zero(chan_featurecode)) { - ast_dtmf_stream(peer, chan, chan_featurecode, 0); + ast_dtmf_stream(peer, chan, chan_featurecode, 0, 0); memset(chan_featurecode, 0, sizeof(chan_featurecode)); } if (f) @@ -1774,7 +1774,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast res = ast_feature_interpret(chan, peer, config, featurecode, sense); switch(res) { case FEATURE_RETURN_PASSDIGITS: - ast_dtmf_stream(other, who, featurecode, 0); + ast_dtmf_stream(other, who, featurecode, 0, 0); /* Fall through */ case FEATURE_RETURN_SUCCESS: memset(featurecode, 0, sizeof(chan_featurecode)); -- cgit v1.2.3