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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@68887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Christian Richter
2007-06-12 08:35:22 +00:00
parent 7bb272f942
commit 37ded96cfa

View File

@@ -2069,9 +2069,13 @@ static int misdn_digit(struct ast_channel *ast, char digit )
break;
default:
if ( bc->send_dtmf ) {
/* 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;
}