[asterisk-commits] crichter: branch 1.4 r79833 - /branches/1.4/channels/chan_misdn.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Aug 17 03:22:37 CDT 2007
Author: crichter
Date: Fri Aug 17 03:22:36 2007
New Revision: 79833
URL: http://svn.digium.com/view/asterisk?view=rev&rev=79833
Log:
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.
Modified:
branches/1.4/channels/chan_misdn.c
Modified: branches/1.4/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_misdn.c?view=diff&rev=79833&r1=79832&r2=79833
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Fri Aug 17 03:22:36 2007
@@ -4988,6 +4988,7 @@
" 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"
);
@@ -5343,11 +5344,11 @@
} else if (strstr(tok,"not_screened")) {
ch->bc->pres=1;
}
-
-
- break;
-
-
+ 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;
}
More information about the asterisk-commits
mailing list