[asterisk-commits] crichter: branch 1.4 r71106 - in /branches/1.4: ./ channels/chan_misdn.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 22 10:22:07 CDT 2007


Author: crichter
Date: Fri Jun 22 10:22:06 2007
New Revision: 71106

URL: http://svn.digium.com/view/asterisk?view=rev&rev=71106
Log:
Merged revisions 68887 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r68887 | crichter | 2007-06-12 10:35:22 +0200 (Di, 12 Jun 2007) | 1 line

if the bridged partner is mISDN too we should not send dtmf tones, they are transmitted inband always
........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/channels/chan_misdn.c

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

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=71106&r1=71105&r2=71106
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Fri Jun 22 10:22:06 2007
@@ -2234,10 +2234,14 @@
 		}
 		break;
 		
-		default:
-			if ( bc->send_dtmf ) {
+		default:	
+			/* Do not send Digits in CONNECTED State, when
+			 * the other side is too mISDN. */
+			if (p->other_ch ) 
+				return 0;
+
+			if ( bc->send_dtmf ) 
 				send_digit_to_chan(p,digit);
-			}
 		break;
 	}
 	




More information about the asterisk-commits mailing list