From bbe710c4ca99ed5757225fc1b2add02409954099 Mon Sep 17 00:00:00 2001 From: crichter Date: Tue, 12 Jun 2007 08:35:22 +0000 Subject: if the bridged partner is mISDN too we should not send dtmf tones, they are transmitted inband always git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@68887 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_misdn.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index 97ec2caab..3181a1a53 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -2068,10 +2068,14 @@ static int misdn_digit(struct ast_channel *ast, char digit ) } 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; } -- cgit v1.2.3