[svn-commits] crichter: branch 1.2 r68887 -
/branches/1.2/channels/chan_misdn.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Tue Jun 12 01:35:36 MST 2007
Author: crichter
Date: Tue Jun 12 03:35:22 2007
New Revision: 68887
URL: http://svn.digium.com/view/asterisk?view=rev&rev=68887
Log:
if the bridged partner is mISDN too we should not send dtmf tones, they are transmitted inband always
Modified:
branches/1.2/channels/chan_misdn.c
Modified: branches/1.2/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_misdn.c?view=diff&rev=68887&r1=68886&r2=68887
==============================================================================
--- branches/1.2/channels/chan_misdn.c (original)
+++ branches/1.2/channels/chan_misdn.c Tue Jun 12 03:35:22 2007
@@ -2068,10 +2068,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 svn-commits
mailing list