mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
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 ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2146,10 +2146,14 @@ static int misdn_digit_end(struct ast_channel *ast, char digit, unsigned int dur
|
||||
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user