diff options
author | crichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-17 08:29:56 +0000 |
---|---|---|
committer | crichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-17 08:29:56 +0000 |
commit | 4a28e4da4819f6bd8cd469f0423d4b9bdb27f0fe (patch) | |
tree | 33802311fb9e4b16ff01fbaa3113f0c5c74fa5c5 /channels/chan_misdn.c | |
parent | 2bc2de065f00d14c3e3c8ccac715d05212776efe (diff) |
Merged revisions 79833 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r79833 | crichter | 2007-08-17 10:22:36 +0200 (Fr, 17 Aug 2007) | 1 line
sometimes we don't need to signal dtmf tones to asterisk, we just want them to go through as inband. Otherwise they might be generated by the other channel partner and then there is a double tone.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79841 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_misdn.c')
-rw-r--r-- | channels/chan_misdn.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index 96c55da8d..87de8e408 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -4828,6 +4828,7 @@ static int load_module(void) " s - send Non Inband DTMF as inband\n" " vr - rxgain control\n" " vt - txgain control\n" + " i - Ignore detected dtmf tones, don't signal them to asterisk, they will be transported inband.\n" ); @@ -5181,7 +5182,12 @@ static int misdn_set_opt_exec(struct ast_channel *chan, void *data) } else if (strstr(tok, "not_screened")) { ch->bc->pres = 1; } - + break; + case 'i' : + chan_misdn_log(1, ch->bc->port, "Ignoring dtmf tones, just use them inband\n"); + ch->ignore_dtmf=1; + break; + default: break; } } |