[asterisk-commits] crichter: trunk r71476 - in /trunk: ./ channels/chan_misdn.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jun 25 03:57:07 CDT 2007
Author: crichter
Date: Mon Jun 25 03:57:06 2007
New Revision: 71476
URL: http://svn.digium.com/view/asterisk?view=rev&rev=71476
Log:
Merged revisions 71106 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r71106 | crichter | 2007-06-22 17:22:06 +0200 (Fr, 22 Jun 2007) | 9 lines
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:
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=71476&r1=71475&r2=71476
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Mon Jun 25 03:57:06 2007
@@ -2146,10 +2146,14 @@
ast_copy_string(p->ast->exten, bc->dad, sizeof(p->ast->exten));
misdn_lib_send_event( bc, EVENT_INFORMATION);
break;
- default:
- if (bc->send_dtmf) {
- send_digit_to_chan(p, digit);
- }
+ 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