[svn-commits] crichter: trunk r79841 - in /trunk: ./ channels/chan_misdn.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Aug 17 03:29:57 CDT 2007


Author: crichter
Date: Fri Aug 17 03:29:56 2007
New Revision: 79841

URL: http://svn.digium.com/view/asterisk?view=rev&rev=79841
Log:
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.
........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_misdn.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_misdn.c?view=diff&rev=79841&r1=79840&r2=79841
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Fri Aug 17 03:29:56 2007
@@ -4828,6 +4828,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"
 		);
 
 	
@@ -5181,7 +5182,12 @@
 			} 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;
 		}
 	}




More information about the svn-commits mailing list